All,
I created a saved search that I've turned into an alert in Splunk enterprise. The resulting alert and others were configured to be displayed in the triggered alert window. While trying to clean up the triggered alerts window and delete alerts from false positives, I managed to delete all my triggered alerts. Is there a way to recover the deleted alerts?
You may be saving a life here 🙂
Regards,
Olamide.
You cannot easily reproduce them but you can get back the details (and with enough effort, I am sure you can figure out how to recreate them) with these searches:
index="_audit" action="alert_fired" | rename ss_name AS title
OR
index="_internal" sourcetype="scheduler" thread_id="AlertNotifier*"
Splunk doesn't retain deleted searches or alerts anywhere. You're only option is to restore them from your most recent backup.