Deployment Architecture

Backup question

christinmb
Path Finder

Hi, I was wondering, is it possible to backup the last 2 months of indexed information?

Tags (1)
0 Karma
1 Solution

yannK
Splunk Employee
Splunk Employee

The data is stored in buckets per index.
And each bucket has his timerange in the folder name in epoch time.
see http://docs.splunk.com/Documentation/Splunk/5.0/Indexer/HowSplunkstoresindexes

It should not be difficult to write a script that will backup selectively all the buckets that contains any events more recent than 2 months ago.

PS: the hot buckets cannot be reliably copied because they are intensively written. A technique is to force them to roll to warm just before the backup.

View solution in original post

yannK
Splunk Employee
Splunk Employee

The data is stored in buckets per index.
And each bucket has his timerange in the folder name in epoch time.
see http://docs.splunk.com/Documentation/Splunk/5.0/Indexer/HowSplunkstoresindexes

It should not be difficult to write a script that will backup selectively all the buckets that contains any events more recent than 2 months ago.

PS: the hot buckets cannot be reliably copied because they are intensively written. A technique is to force them to roll to warm just before the backup.

Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...