Monitor Azure DSC in Azure Automation with Azure Log Analytics

Recently it became possible to monitor Azure DSC in Azure Automation with Log Analytics. Here is how to do this setup in the Azure Portal.

First go to the Log Analytics workspace and click on Azure Resources. Select the Automation Account where DSC exists.

Monitor Azure DSC in Azure Automation with Azure Log Analytics 1

Select DscNodeStatus and click Save. In my example, I also want information about jobs in Azure Automation.

Monitor Azure DSC in Azure Automation with Azure Log Analytics 2

Verify that you have nodes added for Azure DSC and then go to Search in Log Analytics.

Monitor Azure DSC in Azure Automation with Azure Log Analytics 3

Do a search for Category=DscNodeStatus and you will see information from Azure DSC.

Monitor Azure DSC in Azure Automation with Azure Log Analytics 4

For more information and to do this in PowerShell, see the following documentation page: https://docs.microsoft.com/en-us/azure/automation/automation-dsc-diagnostics

No comments yet.

Leave a Reply