Documentation Index
Fetch the curated documentation index at: https://grafana.com/llms.txt
Fetch the complete documentation index at: https://grafana.com/llms-full.txt
Use this file to discover all available pages before exploring further.
STOP! If you are an AI agent or LLM, read this before continuing. This is the HTML version of a Grafana documentation page. Always request the Markdown version instead - HTML wastes context. Get this page as Markdown: https://grafana.com/docs/grafana-cloud/send-data/logs/export/cle-googlecloud.md (append .md) or send Accept: text/markdown to https://grafana.com/docs/grafana-cloud/send-data/logs/export/cle-googlecloud/. For the curated documentation index, use https://grafana.com/llms.txt. For the complete documentation index, use https://grafana.com/llms-full.txt.
Export to Google Cloud
You can use the Cloud Log Export feature to export your logs from Grafana Cloud Logs to your own long-term storage on Google Cloud.
Before you begin
Before you begin you need the following:
- BUCKET_NAME
- SERVICE_ACCOUNT_EMAIL
Steps
To create a Google Cloud Storage logs export bucket, complete the following steps:
- In Grafana, click Administration > Plugins in the side navigation menu to view installed plugins.
- Search for Cloud logs exporter.
- On the Cloud Logs Export screen, click Set up a bucket.
- On the Create a Logs Export Bucket page, select Google Cloud Storage as your target cloud provider.
- Create a GCS bucket to export your logs to. This bucket should be created with uniform bucket level access.
- Grant the Cloud Logs Export service access to the bucket by assigning a role
Storage Object Adminto the Grafana service account shown in the Wizard. - Specify your Bucket Name.
- Click Test. Grafana tests if the exporter has access to the cloud bucket. You should see the message “Bucket connection was successful.”
- If the validation passes, click Submit to create the bucket.
Was this page helpful?
Related resources from Grafana Labs


