Azure alert setting for custom log search
Hi all,
I am sorry, probably, I have stupid question but after my testing to implement alert rules I am confused. I try to configure some alerts for Azure VMs and Azure ARC (for heartbeat, CPU, Memory and so on)
I have found this article https://learn.microsoft.com/en-us/azure/azure-monitor/vm/monitor-virtual-machine-alerts#log-alert-rules-1 how to create a query and it shows me some outputs in Logs. But measurement and alert logic are confused me and I don't get any alerts.
If someone could show me what to set exactly in a next configuration it would be great!
I have implemented alerts of heartbeat for Azure VMs using this link https://learn.microsoft.com/en-us/azure/azure-monitor/vm/tutorial-monitor-vm-alert-availability and it works nice! My screenshots is for ARC machines (haven't found another solution for ARC heartbeating)
2nd question about CPU checking. I need to alert for 100% CPU using during 1h, what query should be and what alert settings?
I hope to get help with it and hope to understand logic of alerts
TIA,
Viktor