Cloud Logging

Real-time log management and analysis at scale.

  • action/check_circle_24px Created with Sketch.

    Securely store, search, analyze, and alert on all of your log data and events

  • action/check_circle_24px Created with Sketch.

    Ingest custom log data from any source

  • action/check_circle_24px Created with Sketch.

    An exabyte-scale, fully managed service for your application and infrastructure logs

  • action/check_circle_24px Created with Sketch.

    Analyze log data in real time

Benefits

Quickly resolve issues

Supported across Google Cloud services and integrated with Cloud Monitoring, Error Reporting, and Cloud Trace so you can quickly troubleshoot issues across your infrastructure and applications.

Secure, scalable, and fully managed

With sub-second ingestion latency, terabyte per-second ingestion rate, and exabytes of logs stored each month, you can securely store all of your logs from any source in one place with no management overhead.

Real-time insights

Combine the power of Cloud Logging with BigQuery for advanced analysis and use log-based metrics to build real-time Cloud Monitoring dashboards.

Key features

Key features

Logs explorer

Search, sort, and analyze logs through flexible query statements, along with rich histogram visualizations, simple field explorers, and ability to save the queries.

Custom logs / Ingestion API

Write any custom log, from on-premises or another cloud, using our public write APIs.

Alerting on logs

Integrate with Cloud Monitoring to set alerts on the logs events, including the logs-based metrics you have defined.

Error Reporting

Real production problems can be hidden in mountains of data. Error Reporting helps you see the problems through the noise by automatically analyzing your logs for exceptions and intelligently aggregating them into meaningful error groups.

With Error Reporting, you can see at a glance your top or new errors and set up notifications to automatically alert you when a new error group is identified.

View all features

What's new

What's new

Sign up for Google Cloud newsletters to receive product updates, event information, special offers, and more.

Documentation

Documentation

Quickstart
Quickstart using Cloud Logging tools

This quickstart introduces you to some of the capabilities of Cloud Logging.

APIs & Libraries
Using the Cloud Logging API

Find reference documentation and sample code and try out the API here.

All features

All features

Logs viewer Search, sort, and query logs through flexible query statements, along with rich histogram visualizations, simple field explorers, and ability to save the queries.
Custom logs / Ingestion API Write any custom log, from any source, into Cloud Logging using the public write APIs.
Logs alerting Integrate with Cloud Monitoring to set alerts on the logs events, including the logs-based metrics you have defined.
Advanced analytics with BigQuery Optionally, export data with one-click configuration in real time to BigQuery for advanced analytics and SQL-like querying.
Logs retention Configure different retention periods for logs in different log buckets, and criteria for different logs using the logs router.
Logs-based metrics Create metrics from log data which appears seamlessly in Cloud Monitoring, where you can visualize these metrics and create dashboards.
Audit logging Access audit logs that capture all the admin and data access events within Google Cloud, with 400 days of data retention at no additional cost.
Third-party integrations Integrate with external systems using Pub/Sub and configuring Logs Router to export the logs.
Logs archival Store logs for a longer duration at lower cost by easily exporting into Cloud Storage.
Error Reporting See problems through the noise by automatically analyzing your logs for exceptions and intelligently aggregating them into meaningful error groups.
Log buckets and views Log buckets provides a first-class logs storage solution that lets you centralize or subdivide your logs based on your needs. From there, use log views to specify which logs a user should have access to, all through standard IAM controls.

Pricing

Pricing

All features of Cloud Logging are free to use, and pricing is applicable for ingested log volume over the free allotment. Click here for more details on pricing.

Feature Price1 Free allotment per month Effective date
Logging data $0.50/GiB First 50 GiB/project July 1, 2018

1For pricing purposes, all units such as MB and GB represent binary measures. For example, 1 MB is 220 bytes. 1 GB is 230 bytes. These binary units are also known as mebibyte (MiB) and gibibyte (GiB), respectively. Note also that MB and MiB, and GB and GiB, are used interchangeably.