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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...