Ok got it :)
AzureDiagnostics
| where Category == "DscNodeStatus"
| where NodeName_s == "NODENAME"
| where OperationName == "DscNodeStatusData"
| where ResultType == "Failed"
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello,
I need to setup solution for monitoring non-compliant [failed and unresponsive also] DSC nodes.
Anyone tried to create something similar?
My Diagnostic setting for Automation Account is sending Logs with DscNodeStatus to Log Analytics Workspace.
I was thinking about simple query [KQL] from which I could after create an alert rule but still no luck with that.
Ok got it :)
AzureDiagnostics
| where Category == "DscNodeStatus"
| where NodeName_s == "NODENAME"
| where OperationName == "DscNodeStatusData"
| where ResultType == "Failed"
Hi @Kamil Pniak ,
Glad to know! This would be beneficial to other community members reading this thread. Thanks for sharing the learnings or answer here.