Skip to main content

GCP Logging Sink

A Google Cloud Logging Sink represents an export rule within Cloud Logging that continuously routes log entries which match a user-defined filter to a chosen destination such as Cloud Storage, BigQuery, Pub/Sub or another Logging bucket. Sinks are created at the project, folder, organisation or billing-account level and allow teams to retain, analyse or forward logs outside the default retention policy.
Official documentation: https://cloud.google.com/logging/docs/export/configure_export

Supported Methodsโ€‹

  • GET: Get GCP Logging Sink by "gcp-logging-sink-name"
  • LIST: List all GCP Logging Sink items
  • SEARCH

gcp-big-query-datasetโ€‹

If the sinkโ€™s destination is a BigQuery dataset (URI prefix bigquery.googleapis.com), Overmind links the sink to that gcp-big-query-dataset resource, allowing you to trace which datasets will receive exported log records and to assess whether the datasetโ€™s IAM policy permits unintended access.

gcp-logging-bucketโ€‹

When a sink routes logs to another Cloud Logging bucket (URI prefix logging.googleapis.com), Overmind establishes a link to the relevant gcp-logging-bucket so that you can evaluate retention settings, bucket-level access controls and understand how logs flow between buckets within your environment.