17 Jan 2023 07:07 PM - last edited on 11 Apr 2024 07:15 AM by MaciejNeumann
I want to create an Alert base off a Log Metric and attache to an Alerting Profile.
I was able to do the following
1. Create Log Metrics: Settings-> Log Monitoring -> Metric Extraction -> Add Metric (with the log search criteria)
2. Create Metric Event: Settings -> Anomaly Detection -> Metric Event -> Add Metric Event (with the created log metric)
I could see the respective alerts in the problem view but it has alerting profile as `default` which means the alert will not be sent to Opsgenie integration we have with specific Alerting Profile.
I understand i only need to add some Tag and add Management Zone but i cant seem to find where and how to do that, maybe i am missing something
Solved! Go to Solution.
17 Jan 2023 08:31 PM
Hey ajiboduemmanuel,
What are the rules on the alerting profile? Is it possible that the alert didn't last long enough or was the wrong type to fit into the desired profile?
As for tags/management zones I'm not sure how that would work as they're normally retrieved from the entity the metric comes from but in this case, being a log metric, I'm not sure that it is possible. It might be if one of the metric dimensions is a taggable entity.
17 Jan 2023 10:05 PM
The alerting profile has the following which currently works for other setups
Management zone: Prod
Problem severity level: Custom (set same in metric event type)
Filter problems by tag: Only include entities that have any tags (added Team tag)
So i think its maybe an issue with it been a log metric, can you help with a resource to create the taggable dimension entity
13 Oct 2023 09:32 AM
Hello @ajiboduemmanuel ,
Did you find a solution? I have the same challenge
10 Apr 2024 03:11 AM
Hi, any luck with this one. I'm stuck on this same issue.
10 Apr 2024 05:33 AM
Hello @ajiboduemmanuel after you have the metric extraction and the associated metric event you can do this: