Alerting

Bulk alert description update

soofz
New Member

I have about 50 splunk alerts with various descriptions. I would like to update the description by adding the word Splunk to the beginning of the description. Is there a way to accomplish this without going into the UI for each alert and renaming the alert?

0 Karma

richgalloway
SplunkTrust
SplunkTrust

You can use your favorite text editor to modify the appropriate savedsearches.conf file then restart Splunk. The file to modify depends on the app in which your alerts are defined. It will be $SPLUNK_HOME/etc/apps/myapp/local/savedsearches.conf.

---
If this reply helps you, Karma would be appreciated.

soofz
New Member

Thanks for your answer @richgalloway

Please forgive my ignorance, still new to the Splunk world.
I have been reading up about your suggestion. Just like to confirm my approach...

Am I correct to say I need to add the following to my savedsearch.conf file...

alert.name = "Splunk $name"

And after this update would I need to update any metadata files?

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Your savedsearches.conf file should already contain alert.name attributes. You only need to modify those values to suit your needs. There is no need to update the metadata files.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...