Hi there,
Log-based alerts now require dimensions if you need to get data per instance (per VM). You can use it as Computer column or _ResourceId if all VMs are registered in Azure with _resourceIds (including Arc-machines)
Anyway, if I may, I would like to suggest another query that could help you get notified with low memory VMs.
let _minValue = 512;
Perf
| where TimeGenerated >= ago(1h)
| where CounterValue <= _minValue
| where CounterName == "Available MBytes"
| summarize mtgPerf=max(TimeGenerated), CounterValue=max(CounterValue)
by
Computer,
InstanceName,
CounterName,
ObjectName
| join kind=inner (Heartbeat
| where OSType == "Windows"
| summarize max(TimeGenerated) by Computer)
on Computer
| project
Computer,
ObjectName,
CounterName,
InstanceName,
TimeGenerated=mtgPerf,
round(CounterValue),
AlertType_s = "Windows Low Memory",
SeverityName_s = "WARNING",
AlertDetails_s = strcat("Computer: ", Computer, "%\r\nAlert Threshold: <= ", _minValue, "MB")
Don't forget to use Dimensions to have 1 alert per 1 instance