Deployment Architecture

Can I schedule a backup of all Splunk configuration files?

tumdev
Explorer

Hi Splunker,

How can I schedule a backup of all Splunk configuration files?

Thank you.

0 Karma

vasanthmss
Motivator

Create a python / shell script to do the backup work and schedule it. If you have Splunk distributed environment then your script should take care of the other search peers as well as forwarders.

Cheers!

V

yannK
Splunk Employee
Splunk Employee

You usually just need to backup the content of the $SPLUNK_HOME/etc/ folder to be able to restore the configuration.

0 Karma

norbert_hamel
Communicator

Be aware that CSV files created with outputcsv command will usually be outside of /etc directory. In case you have important CSV files here, make sure that those are backed up as well.

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 ...