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!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Rounding off the Splunk Dashboard Contest

What does a contest-winning Splunk dashboard look like? In this case, it isn't in a browser tab at all. It ...

A Four Part Event Series: AI + Observability: AI Agents, LLMs, Apps, & Infrastructure

AI + Observability: AI Agents, LLMs, Apps, & Infrastructure The rapid evolution of artificial intelligence ...