Skip to main content

GCP Logging Link

A GCP Logging Link represents the relationship between a Cloud Logging bucket and an external BigQuery dataset.
Creating a link allows the log entries stored in the bucket to be queried in BigQuery without duplicating or exporting the data, enabling powerful analytics while keeping the single source of truth in Cloud Logging. See the official Google documentation for the Link resource here: https://cloud.google.com/logging/docs/reference/v2/rest/v2/projects.locations.buckets.links#Link

Supported Methods​

  • GET: Get a gcp-logging-link by its "locations|buckets|links"
  • LIST
  • SEARCH: Search for gcp-logging-link by its "locations|buckets"

gcp-logging-bucket​

Every Logging Link is a child of a specific Cloud Logging bucket. The link configuration is stored inside the bucket’s links collection, so the bucket is the immediate parent resource.

gcp-big-query-dataset​

A Logging Link points to exactly one BigQuery dataset. This dataset is the destination that receives virtual access to the log entries stored in the linked bucket, allowing users to run SQL queries over their logs from within BigQuery.