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!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...

Auto-Injector for Everything Else: Making OpenTelemetry Truly Universal

You might have seen Splunk’s recent announcement about donating the OpenTelemetry Injector to the ...