Forum Discussion

Paul MacKinnon's avatar
Paul MacKinnon
Copper Contributor
Dec 15, 2017
Solved

Find DSC status of machines connected via OMS

I have DSC linked to OMS to retrieve logs of machine status and whatnot. What I'm looking for is the ability to show the DSC compliance status of the machines connected.   So, let's say I have 4 ...
  • Noa Kuperberg's avatar
    Dec 18, 2017

    Hi Paul,

    You're actually very close to the syntax you need, if I got you correctly I think this is it:

     
    AzureDiagnostics
    | summarize count() by Category, ResultType

     

    You can try it on our playground

    Also, you might want to check out our tutorial on aggregations, it's exactly on this topic, might help.