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!

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...