I have a large number of alerts that have been emailed to OpsGenie via a rogue program that was configured incorrectly.
I would like to delete all the alerts (10,000 of them) however I can only ack / close 1000 alerts at a time.
How do I bulk delete alerts?
Hi @CompletelyIrrelevant - the only way to achieve this is through the API. You can create a script to list all alerts via API, then loop through each one and delete it via API.
Hello I created a small Python script to get all alerts closed and later delete it, here if is interesting from any of you :-)
https://github.com/dalvarezquiroga/opsgenie_cleaner
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.