Archive
Highlighted

Script to copy all customization in splunk

Explorer

I need to copy all the customizations in splunk like Apps, saved searches, User Profile and all the config files . Everything thats customized so that whenever i do a fresh build of spunk i can push back all the customizations in one shot to the new build. Any script/wayout would be of real help. Thanks

Tags (1)
0 Karma
Highlighted

Re: Script to copy all customization in splunk

Explorer

i think the diag dump on each search head, indexer and so on will tar it all up. "splunk diag" from the install/bin directory. you'll have all the conf files.

0 Karma
Highlighted

Re: Script to copy all customization in splunk

Ultra Champion

Diag wont include everything. Notably splunk.secret, which means you wont be able to restore passwords or encrypted values from installed apps or any conf files

Make sure you take copies of this file if you plan to do wholesale 'restores' without having to reconfigure applications & credentials

0 Karma
Highlighted

Re: Script to copy all customization in splunk

Ultra Champion

oh, and $SPLUNK_HOME/etc/passwd too!

0 Karma
Highlighted

Re: Script to copy all customization in splunk

Motivator
0 Karma