Cloud Logging documentation
Cloud Logging is a fully managed service that allows you to store, search, and analyze logging data from Google Cloud. 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.
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