Menu
Grafana Cloud

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:

  1. In Grafana, click Administration > Plugins in the side navigation menu to view installed plugins.
  2. Search for Cloud logs exporter.
  3. On the Cloud Logs Export screen, click Set up a bucket.
  4. On the Create a Logs Export Bucket page, select Azure Blog Storage as your target cloud provider.
    1. Create a new storage account with a container for block blobs.
    2. Create the storage account. The wizard provides a sample Azure command that you can modify.
  5. Create the storage container account. The wizard provides a sample Azure command that you can modify.
  6. 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 and GRAFANA_APPLICATION_ID.
  7. Grant the Cloud Logs Export service access to the Azure Blog Storage using a Storage Blob Data Contributor role assignment.
  8. Specify your bucket details.
    1. Specify your Azure tenant ID.
    2. Specify your Storage account name.
    3. Specify a Container name.
  9. Click Test. Grafana tests if the exporter has access to the cloud bucket. You should see the message “Bucket connection was successful.”
  10. If the validation passes, click Submit to create the bucket.