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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...