Monitoring Splunk

How do I housekeep my data using Splunk?

oranger1426
Explorer

Let's say I want to keep all data up to 6 mths and backup the data every week.
How do I go about doing that?

Does setting the frozen bucket period let me delete data 6 months before today?

Tags (2)
0 Karma

reedmohn
Communicator

There's lot's good explanations in the documentation on how to backup your indexes.
I haven't looked at Splunk5 yet, but unless they've changed things significantly from Splunk 4, it's mostly based on size and number of files, not date, so you need to look at what you are collecting, and then tune your limits for the various bucket types to match your requested retention period. You can also manually force a roll from hot to warm, if you want to guarantee that buckets are backed up at given times.

And yes: The exception is the frozenTimePeriod, which I understand does what you're asking: it will roll data to frozen (delete or archive) after a given number of seconds.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...

Splunk Developers: Construct Your Future at the .conf26 Builder Bar

Calling all Splunk architects, platform admins, and app developers: the site is open, and the blueprints are ...

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...