For the complete documentation index, see llms.txt. This page is also available as Markdown.

GCP Cloud Logging

Cloud Logging shows the cost of your GCP log buckets: how much each bucket ingests, how long it keeps logs, and which resources produce the most log volume.

Go to Optimize → Deep Insights → Cloud Logging (under GCP). The page has two tabs, Log Buckets and Tickets.

Log Buckets tab

Three cards show Total Log Buckets, Total Cloud Logging Cost and Avg Daily Ingestion.

Column
What it shows

Bucket Name

The log bucket, with a ticket badge if it has tickets

Project

The GCP project

Location

Where the bucket stores logs, such as Global

Bucket Type

The bucket type, such as Default

Log Analytics

Whether Log Analytics is On or Off for the bucket

Ingestion (GiB/day)

Average daily log ingestion

Retention

How long logs are kept

Total Cost

Cost for the selected date range

Prev Cost

Cost for the previous period of the same length

Delta

The change from Prev Cost, as a percentage

Log bucket details

Click a bucket to open it.

The Resource Details tab has three sections.

Section
What it shows

Resource Information

Project, bucket ID, bucket type, location, description, retention, whether Log Analytics is enabled, linked BigQuery dataset, and CMEK key

Inbound Sinks (Log Router)

Each Log Router sink that routes logs into this bucket, with its number of exclusion filters

Log-Based Metrics

Counts of user-defined metrics (and how many have labels) and system-defined metrics

Cost & Usage Overview

Log Storage cost is split by the type of resource that produced the logs, such as GCS bucket, Kubernetes container or Kubernetes cluster, with the cost and volume for each. Smaller types are grouped into one row, for example "60 other resource types".

Tickets tab

Two cards show Total Tickets and Potential Savings (Up-To), with the share of your Cloud Logging cost the savings represent.

Ticket IDs start with GCL_. A common ticket is Missing Cloud Logging exclusion filters. Its recommendation is to add exclusion filters so you ingest, and pay for, fewer logs.

Last updated