Export to Azure Blob
You can use the Cloud Log Export feature to export your logs from Grafana Cloud Logs to your own long-term storage on Azure Blob storage.
Before you begin
Before you begin you need the following:
- STORAGE_ACCOUNT_NAME
- RESOURCE_GROUP
- STORAGE_ACCOUNT_REGION
- CONTAINER_NAME
- Azure TENANT_ID
- GRAFANA_APPLICATION_ID
- Azure SUBSCRIPTION_ID
Steps
To create an Azure Blog Storage logs export bucket:
- 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 Azure Blog Storage as your target cloud provider.
- Create a new storage account with a container for block blobs.
- Create the storage account. The wizard provides a sample Azure command that you can modify.
- Create the storage container account. The wizard provides a sample Azure command that you can modify.
- Authorize the Cloud Logs Export service by opening the URL that initializes an Oauth flow. The wizard provides a sample Azure URL that you can modify to include your
TENANT_ID
andGRAFANA_APPLICATION_ID
. - Grant the Cloud Logs Export service access to the Azure Blog Storage using a
Storage Blob Data Contributor
role assignment. - Specify your bucket details.
- Specify your Azure tenant ID.
- Specify your Storage account name.
- Specify a Container 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.