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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...