While in the /alert/list view, is there a way to filter out all the alerts that are related to an incident and only show the alerts that are not associated with any incident?
A manual way would be to add a tag to every alert that is associated with an incident and filter based on that. However, that takes quite a bit of manual work that I would preferably want avoid.
This seems to be related to https://community.atlassian.com/t5/Opsgenie-questions/Can-you-search-for-alerts-that-don-t-have-an-incident/qaq-p/1905094. However, I'm only interested in the possibility to filter alerts based on incidents.
Hi @Dominik Roos !
Any Associated Alert (i.e. an alert that matched an incident rule and created an incident, or got associated to an existing incident) will have an Extra Property field of
incident-alert-type: Associated
So you can query for all non-associated alerts with the following query
NOT incident-alert-type: Associated
Hope that helps!
Thanks,
Samir
Hi Samir
Cool, that is exactly what I was looking for!
Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.