Forum Discussion
Juval
Jun 30, 2020Brass Contributor
Easy way to exclude a resource from a Log analytics query alert?
If I have a query setup that checks high CPU from all VMs reporting to that log analytics workspace and i want to suppress one or two VMs for a while since i'm doing some operations to them. I know i...
- Jun 30, 2020Action Rules allow this using the payload option.
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/alerts-action-rules
Juval
Jun 30, 2020Brass Contributor
Hi! But i guess in that scenario i would need a new Action rules? I'm thinking if i already have alerts defined through a log analytics workspace and then i'm having a few misbehaving resources i would like to suppress the alerts from just those resources. If i understood pvyver right, i could just suppress those and see those values later what i did and even schedule it. I believe this is what i need.
pvyver
Jun 30, 2020Brass Contributor
Yes, add a new Action Rule, scope to the workspace and specify the computer name in the payload.
Specify the schedule, and you are good to go.
Specify the schedule, and you are good to go.