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.

  • Get access to Gemini 2.0 Flash Thinking
  • Free monthly usage of popular products, including AI APIs and BigQuery
  • No automatic charges, no commitment
View free product offers

Keep exploring with 20+ always-free products

Access 20+ free products for common use cases, including AI APIs, VMs, data warehouses, and more.

Explore self-paced training from Google Cloud Skills Boost, 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