> ## Documentation Index
> Fetch the complete documentation index at: https://docs.decimal.app/llms.txt
> Use this file to discover all available pages before exploring further.

# GCP Logging

> Query Google Cloud Logging data from Decimal's AI agent for root cause analysis during support ticket investigation.

## What It Does

* **Queries Cloud Logging** to find relevant log entries for GCP-hosted services
* **Filters logs** by time range, service, and severity
* **Correlates log data** with ticket context for root cause analysis

## Connecting GCP Logging

1. **Open Integrations**: Go to **Settings → Integrations**.
2. **Click Google Cloud Platform Logs**: Click on the GCP Logging integration row to open the configuration modal.
3. **Provide service account credentials**: Enter your **Project ID** (the service account's home project), **Service Account Email**, and **Private Key** (from the service account JSON key file).
4. **Connect**: Click **Connect** to save and activate the integration.

<div className="dcl-callout dcl-callout-tip">
  Create a dedicated service account with the **Logs Viewer** (`roles/logging.viewer`) and **Browser** (`roles/browser`) roles for best security. Grant these at the folder or organization level to discover all accessible projects.
</div>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.