Forum Discussion

JACK_LAI_1117's avatar
JACK_LAI_1117
Copper Contributor
Jun 15, 2020
Solved

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 CounterName == "% Used Space" and InstanceName != "_Total"
| summarize by InstanceName,CounterValue

 

But when I use to result to became alert , it always show "Search Query should contain 'AggregatedValue' and 'bin(TimeGenerated, [roundTo])' for Metric alert type" 

 

So how can I overcome it ??

2 Replies