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 Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...