Press "Enter" to skip to content

Baseline your Sitecore dashboards using ARM templates

In one of my previous posts (click) I mentioned some useful AI query's for maintaining and managing your Sitecore solution.
To make sure every Sitecore solution(s) you are managing will be deployed with a baseline dashboard I added all the query's to an ARM template.

1.Download the arm template:

$url = ""
$output = "c:\TMP\deployDashboard.json"

Invoke-WebRequest -Uri $url -OutFile $output

2. Deploy the arm template to your subscription using Azure DevOps.

3. When not using Azure DevOps/Octopus you might want to deploy using Powershell:

#Obviously connect to your subscription first.

$cdWebAppName = "NameOfYourCd"
$dashboardName = "NameOfYourDashboard"
$logAnalyticsWorkspaceName = "ApplicationInsightsName"
$logAnalyticsWorkspaceResourceGroup = "ResourceGroupName"

New-AzureRmResoruceGroupDeployment -Name DashboardDeploy `
-TemplateFile c:\TMP\deployDashboard.json `
-cdWebAppName "$cdWebAppName" `
-dashboardName "$dashboardName" `
-logAnalyticsWorkspaceName "$logAnalyticsWorkspaceName" `
-logAnalyticsWorkspaceResourceGroup "$logAnalyticsWorkspaceResourceGroup"

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.