Cloud Logging documentation
Cloud Logging is a fully managed service that allows you to store, search, analyze, monitor, and alert on logging data and events from Google Cloud and Amazon Web Services. Using Bindplane, you can also collect this data from over 80 additional applications, on-premises systems, and hybrid cloud systems.
Logging includes storage for logs through log buckets, a user interface called the Logs Explorer, and an API to manage logs programmatically. Logging lets you read and write log entries, query your logs, and control how you route and use your logs.
Start your proof of concept with $300 in free credit
- Get access to Gemini 2.0 Flash Thinking
- Free monthly usage of popular products, including AI APIs and BigQuery
- No automatic charges, no commitment
Keep exploring with 20+ always-free products
Access 20+ free products for common use cases, including AI APIs, VMs, data warehouses, and more.
Documentation resources
Resources
Related resources
Monitoring and logging for Cloud Functions
This hands-on lab shows you how to view your Cloud Run functions with their execution times, execution counts, and memory usage in the Google Cloud console. These metrics are also available in Cloud Monitoring.
Creating and alerting on logs-based metrics
This hands-on lab shows you how to use both system and user-defined logs-based metrics to create charts and alerting policies.
Security and access analytics
This tutorial shows how to export logs from Logging to BigQuery to meet the security and analytics requirements of your organization's cloud infrastructure environment.
Storing your organization's logs in a log bucket
Learn how to store your organization's logs in a single source.
Multi-tenant logging on Google Kubernetes Engine.
Learn how to configure multi-tenant logging for GKE clusters.
Regionalizing your project's logs using log buckets
Learn how to store your logs data in a designated region.
Log Entries: Write
Learn how to write log entries in Go, Java, Python, Node.js, C#, and PHP
Log Entries: Advanced Write
Learn how to write log entries in Go, Java, Python, Node.js, C#, and PHP
Log Entries: List
Learn how to list log entries in Go, Java, Python, Node.js, C#, and PHP
Logs: Delete
Learn how to delete log entries in Go, Java, Python, Node.js, C#, and PHP
Setting up Cloud Logging for Go
Create a VM instance with Python
More samples
More logging-specific samples