# Google Stackdriver Log Integration

We recommend the [Google Cloud Logging](/docs/logs-googlecloud/) integration for a structured, modernized log delivery experience via **OpenTelemetry.**

CloudAMQP ships broker logs to Google Cloud Logging (Stackdriver) via the legacy log-forwarding service. Available on RabbitMQ dedicated instances.

Link: [https://cloud.google.com/stackdriver](https://cloud.google.com/stackdriver)

## Setup

The integration uses a Google Cloud service account with log write permissions. Follow these steps to create one and download the credentials file:

1. Sign in to [Google Cloud Console](https://console.cloud.google.com)
2. Go to **IAM & Admin → Service Accounts**
3. Click **+ Create Service Account** and give it a name (e.g. `cloudamqp-logs`)
4. On the **Grant access** step, add the role **Logs Writer** — no other roles are needed
5. Once created, open the service account, go to the **Keys** tab, click **Add Key → Create new key,** and select **JSON**
6. Download the JSON credentials file to your computer
7. In the CloudAMQP console, upload the credentials file in the integration form and click **Save**

## Finding your logs

Once connected, go to **Google Cloud Console → Monitoring → Logs Explorer.** Use the **Log name** dropdown to select your CloudAMQP hostname and browse logs by node.

[← Back to Log Integrations](/docs/cloudamqp-integrations/#legacy-logs)
