Azure alert setting for custom log search

Viktor Korokhov 45 Reputation points
2023-09-19T08:30:23.47+00:00

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!

User's image

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

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,318 questions
0 comments No comments
{count} votes