# GCP Logging

Connect Google Cloud Logging to give Herald’s SRE agent real-time access to your GCP logs. During incident investigations, the agent can query logs using GCP filter syntax and discover the structure of your logging environment.

**The agent can:**

- Query logs using GCP filter syntax
- Retrieve extended log payloads for alert triage
- Discover available resource types and log schema

| Parameter | Description |
| --- | --- |
| **GCP Project ID** | The ID of your Google Cloud project (e.g., `sre-observability`). |
| **Service Account Key** | The full contents of a GCP service account JSON key file with the **Logs Viewer** role. Paste the entire JSON object. |

**Optional parameters**

| Parameter | Description |
| --- | --- |
| **Rules / Instructions** | Free-form instructions that guide the agent on how to use this integration.
