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!

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud  In today’s fast-paced digital ...

Observability protocols to know about

Observability protocols define the specifications or formats for collecting, encoding, transporting, and ...

Take Your Breath Away with Splunk Risk-Based Alerting (RBA)

WATCH NOW!The Splunk Guide to Risk-Based Alerting is here to empower your SOC like never before. Join Haylee ...