Deployment Architecture

Event Storage & Backup

jviteka
Explorer

Is there a general area on my SPLUNK server that contains all the indexed data that has been backed up from all my forwarders? I know I can script a save and clear of the data but is it possible for SPLUNK to automate this and then have a script that pulls the backed up data?

0 Karma
1 Solution

sdaniels
Splunk Employee
Splunk Employee

You'll want to read this first to understand our data lifecycle and your options. Let us know if you have questions after looking at this.

http://docs.splunk.com/Documentation/Splunk/6.0/Indexer/Backupindexeddata

View solution in original post

0 Karma

lukejadamec
Super Champion

The indexed data is located in splunk/var/lib/splunk/db unless you have configured it to go elsewhere in your indexes.conf files.

Right now, Splunk does not have a means of backing up the indexed data. If you wrote a script to make copies of the data it would be best to run it manually, outside of Splunk when Splunk is stopped. I can think of a few reasons for this, but the primary one is you can't (should not) backup Hot buckets. Hot buckets roll to warm buckets when Splunk is stopped, which can be backed up.

0 Karma

sdaniels
Splunk Employee
Splunk Employee

You'll want to read this first to understand our data lifecycle and your options. Let us know if you have questions after looking at this.

http://docs.splunk.com/Documentation/Splunk/6.0/Indexer/Backupindexeddata

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