---
title: "GCP Cloud Logging data source | Grafana Labs"
description: "Query GCP Cloud Logging directly from Grafana."
---

> For a curated documentation index, see [llms.txt](/llms.txt). For the complete documentation index, see [llms-full.txt](/llms-full.txt).

## How it works

[GCP Cloud Logging data source: Query GCP logs directly from Grafana](cp-olly-gcp-logging-ds-light.svg "GCP Cloud Logging data source: Query GCP logs directly from Grafana")

## What you get

| Capabilities                 | Limitations                       |
|------------------------------|-----------------------------------|
| All GCP service logs         | Cloud Logging query syntax        |
| Visual query builder         | API latency                       |
| Filter by resource, severity | Separate from metrics data source |
| Template variables           | Per-project auth typically        |
| Log context and details      | Alert evaluation calls API.       |

## Authentication options

Service account JSON key or workload identity (same as Cloud Monitoring)

## Documentation

View the full documentation. *Learning path coming soon!*

[Cloud Logging data source](https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/gcp/config-gcp-logs/)
