Archive

Is there a way to export a list of saved alerts from one environment to another

New Member

We have a test environment where we've spent time configuring the alerts. We would like to export these alerts with their search criteria and import them into our production environment. Is there a way to do this?

Tags (1)
0 Karma

SplunkTrust
SplunkTrust

All the alerts configuration should be available in savedsearches.conf file under the app where they were developed in the Test environment. You can copy the savedsearches.conf from Test to your PROD. Also, the sharing permissions for the alerts will be saved on .meta files under metadata for the app, ensure that you're copying that as well to mimic the same sharing permission in PROD as it's in Test.

For future reference, you should create an app in your test environment and do all your development with context of that app. This way you can just deploy the whole app from test to PROD and need not to worry about multiple files that needs to be synced.

0 Karma