Alerting

Where are alerts stored in Linux directory structure?

BrendanCO
Path Finder

Hello. I had to move my entire old Splunk directory to a new filesystem for archiving as it was pretty hosed. Did a reinstall back to /opt/splunk and have just been setting it all up again. I created some pretty specific alerts previously that I would like to see if I can just copy over from the old instance. Does anyone know where those are stored?

somesoni2
SplunkTrust
SplunkTrust

Alerts are basically saved searches that executes an actions, so just look for savedsearches.conf files in $Splunk_home/etc/apps/<appname>/local, $Splunk_home/etc/apps/<appname>/default and $Splunk_home/etc/users/<username>/<appname>/local

BrendanCO
Path Finder

Awesome. Looking through them (there were like 10 instances of that file), I found the ones I needed. I just copied $OldSPlunk/etc/users/admin/search/local/savedsearches.conf to #Splunk_home/etc/users/admin/search/local/savedsearches.conf and it worked like a charm! Thanks a lot somesoni2!

aoleske
Path Finder

Very helpful, thank you!

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

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 ...