Forum Discussion
JACK_LAI_1117
Jun 15, 2020Copper Contributor
how can I use this result to alert me
In azure logs , I use this to get my linux server disk usage Perf |where TimeGenerated > ago(3min) | where ObjectName == "Logical Disk" // the object name used in Linux records | where Counter...
- Jun 16, 2020
Perf |where TimeGenerated > ago(3min) | where ObjectName == "Logical Disk" // the object name used in Linux records | where CounterName == "% Used Space" and InstanceName != "_Total" | summarize by InstanceName,CounterValue, bin(TimeGenerated,1m) | extend AggregatedValue = CounterValueor see examples on this page:
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/alerts-unified-log
CliveWatson
Jun 16, 2020Former Employee
Perf |where TimeGenerated > ago(3min)
| where ObjectName == "Logical Disk" // the object name used in Linux records
| where CounterName == "% Used Space" and InstanceName != "_Total"
| summarize by InstanceName,CounterValue, bin(TimeGenerated,1m)
| extend AggregatedValue = CounterValue
or see examples on this page:
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/alerts-unified-log
- JACK_LAI_1117Jun 18, 2020Copper Contributor