All Apps and Add-ons

Script to copy all customization in splunk

Nilesh3110
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

isoutamo
SplunkTrust
SplunkTrust
0 Karma

dbagdanoff
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

nickhills
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

If my comment helps, please give it a thumbs up!
0 Karma

nickhills
Ultra Champion

oh, and $SPLUNK_HOME/etc/passwd too!

If my comment helps, please give it a thumbs up!
0 Karma
Get Updates on the Splunk Community!

Data-Driven Success: Splunk & Financial Services

Splunk streamlines the process of extracting insights from large volumes of data. In this fast-paced world, ...

Video | Welcome Back to Smartness, Pedro

Remember Splunk Community member, Pedro Borges? If you tuned into Episode 2 of our Smartness interview series, ...

Detector Best Practices: Static Thresholds

Introduction In observability monitoring, static thresholds are used to monitor fixed, known values within ...