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.

Go to the Cloud Logging product page for more.

Explore self-paced training, use cases, reference architectures, and code samples with examples of how to use and connect Google Cloud services.
Training
Training and tutorials

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.

Training
Training and tutorials

This hands-on lab shows you how to use both system and user-defined logs-based metrics to create charts and alerting policies.

Training
Training and tutorials

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.

Use case
Use cases

Learn how to store your organization's logs in a single source.

Logging Logs Buckets

Use case
Use cases

Learn how to configure multi-tenant logging for GKE clusters.

Logging GKE Multi-tenant

Use case
Use cases

Learn how to store your logs data in a designated region.

Data residency Regionalization Logging

Code sample
Code Samples

Learn how to write log entries in Go, Java, Python, Node.js, C#, and PHP

Code sample
Code Samples

Learn how to write log entries in Go, Java, Python, Node.js, C#, and PHP

Code sample
Code Samples

Learn how to list log entries in Go, Java, Python, Node.js, C#, and PHP

Code sample
Code Samples

Learn how to delete log entries in Go, Java, Python, Node.js, C#, and PHP

Code sample
Code Samples

Create a VM instance with Python

Code sample
Code Samples

More logging-specific samples

Related videos