Resource Manager template samples for Azure Monitor

You can deploy and configure Azure Monitor at scale by using Azure Resource Manager templates. This article lists sample templates for Azure Monitor features. You can modify these samples for your particular requirements and deploy them by using any standard method for deploying Resource Manager templates.

Deploying the sample templates

The basic steps to use the one of the template samples are:

  1. Copy the template and save it as a JSON file.
  2. Modify the parameters for your environment and save the JSON file.
  3. Deploy the template by using any deployment method for Resource Manager templates.

For example, use the following commands to deploy the template and parameter file to a resource group by using PowerShell or the Azure CLI:

Connect-AzAccount
Select-AzSubscription -SubscriptionName my-subscription
New-AzResourceGroupDeployment -Name AzureMonitorDeployment -ResourceGroupName my-resource-group -TemplateFile azure-monitor-deploy.json -TemplateParameterFile azure-monitor-deploy.parameters.json
az login
az deployment group create \
    --name AzureMonitorDeployment \
    --resource-group ResourceGroupofTargetResource \
    --template-file azure-monitor-deploy.json \
    --parameters azure-monitor-deploy.parameters.json

List of sample templates

Next steps