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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...