Fully managed, real-time log management with storage, search, analysis and alerting at exabyte scale.
New customers get $300 in free credits to spend on Cloud Logging.
Get started immediately
Platform logs are ingested from Google Cloud services and securely stored with no setup required. GKE workload logs are captured automatically and the Ops Agent captures workload logs from VMs.
Quickly resolve issues
Cloud Logging is integrated with Cloud Monitoring, Error Reporting, and Cloud Trace so you can troubleshoot issues across your services. Configure alerts for logs so you stay up to date on important events.
Quickly spot anomalies with real-time ingestion, and use log-based metrics to build Cloud Monitoring dashboards. Log Analytics brings the power of BigQuery to Cloud Logging for deeper insights.
Quickstart using Cloud Logging tools
This quickstart introduces you to some of the capabilities of Cloud Logging.
Using the Cloud Logging API
Find reference documentation and sample code and try out the API here.
Cloud Audit Logs
Gain visibility into who did what, when, and where for all user activity on Google Cloud Platform.
Learn how Access Transparency provides you with logs that capture the actions Google personnel take when accessing your content.
See how the Access Approval API enables controlling access to your organization’s data by Google personnel.
|Logs Explorer||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 on-premises or another cloud, using our public write APIs.|
|Logs alerting||Alert on specific messages in your logs or alert on logs-based metrics with Cloud Monitoring.|
|Log Analytics (in Preview)||Platform and workload logging data ingested into Cloud Logging is made available in Log Analytics, which is powered by BigQuery. Perform advanced analytics using SQL to query your logs. The log data is also made available directly in BigQuery so you can correlate your logs with other business data.|
|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||Error Reporting lets you 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 provide 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.|
|Feature||Price1||Free allotment per month||Effective date|
|Logging data||$0.50/GiB||First 50 GiB/project||July 1, 2018|
|Logging storage||$0.01/GiB for logs retained more than 30 days; billed monthly according to retention.||Logs retained for the default retention period don't incur a storage cost.||March 1, 2023†|