Hello,
We wish to start using Log Analytics to alert us when a VM is not reachable for over 5min.
We have several subscription . I have been looking into this and there are so many ways to achieve this.
Setting up an Alert rule
Setting up Logic Apps
Setting up Workbook.
In the example I have seen there is a simple query
Heartbeat
| summarize max(TimeGenerated) by Computer
| where max_TimeGenerated > ago(5m)
But when I run the query over and set it for the past 30min I get over 400 Vm's. Which is wrong.
We are trying to do is, so to alert us when a vm has not heartbeat or maybe no network connectivity for over 5min.
This is so easy to do in SCOM . Why is it so complicated in Azure ?
We are able to set up alert rule when a vm has high CPU 90% for longer than 5min. This works great.
Any ideas