The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
grafana/docs/sources/datasources/azuremonitor/provisioning.md

2.0 KiB

aliases description keywords title weight
[/docs/grafana/latest/datasources/azuremonitor/provisioning/] Template to provision the Azure Monitor data source [grafana microsoft azure monitor application insights log analytics guide] Provisioning Azure Monitor 2

Configure the data source with provisioning

You can configure data sources using config files with Grafana’s provisioning system. For more information on how it works and all the settings you can set for data sources on the [Provisioning documentation page]({{< relref "../../administration/provisioning/#datasources" >}})

Here are some provisioning examples for this data source.

Azure AD App Registration (client secret)

apiVersion: 1 # config file version

datasources:
  - name: Azure Monitor
    type: grafana-azure-monitor-datasource
    access: proxy
    jsonData:
      azureAuthType: clientsecret
      cloudName: azuremonitor # See table below
      tenantId: <tenant-id>
      clientId: <client-id>
      subscriptionId: <subscription-id> # Optional, default subscription
    secureJsonData:
      clientSecret: <client-secret>
    version: 1

Managed Identity

apiVersion: 1 # config file version

datasources:
  - name: Azure Monitor
    type: grafana-azure-monitor-datasource
    access: proxy
    jsonData:
      azureAuthType: msi
      subscriptionId: <subscription-id> # Optional, default subscription
    version: 1

Supported cloud names

Azure Cloud Value
Microsoft Azure public cloud azuremonitor (default)
Microsoft Chinese national cloud chinaazuremonitor
US Government cloud govazuremonitor
Microsoft German national cloud ("Black Forest") germanyazuremonitor