zMonitor
zMonitor copied to clipboard
New OMS query setup
The current sample seems to use the old querys
example Type=Alert (AlertSeverity=error or AlertSeverity=critical) TimeGenerated>NOW-24HOUR AlertState!=Closed
should now be something like this Alert | where (AlertSeverity =~ "error" or AlertSeverity =~ "critical") and TimeGenerated > ago(24h) and AlertState != "Closed"
this however is not working like it should in current powershell code