Alerting

Bulk update action email trigger

rafamss
Contributor

Is there some way (bulk is better) to update the email field in the alert action trigger through the search/rest?

Labels (2)

inventsekar
SplunkTrust
SplunkTrust

Hi @rafamss .. it should be possible

1. the alerts are stored as regular (xml i think) files. find out the list of all alerts

2. the alert got field for email list, find out that field. 

3. thru vi editor / sed / awk, you can do search and replace all the required email ids. 

 

Check this first in dev/test before trying it on prod. The real challenge is that how to verify only the required email id's are replaced.. you should be able to figure it out during the step 3 actually. 

hope this gave some ideas to you, thanks. 

thanks and best regards,
Sekar

PS - If this or any post helped you in any way, pls consider upvoting, thanks for reading !
0 Karma

shusseina
Engager

Hi @inventsekar 

When do I find the XML for an alert?

Thanks

Steve

0 Karma

rafamss
Contributor

Hi @inventsekar,

Thank you for the response. I'll try it later in a lab and go back here to tell you if it works.

Thanks,

RS

0 Karma
Get Updates on the Splunk Community!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...