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!

Developer Spotlight with Denis Gladkikh

From Splunk Engineer to Kubernetes App Builder Denis GladkikhWhat happens when a lifelong developer turns a ...

Governing Enterprise AI, Bringing Cisco Telemetry Home, and More from Splunk Lantern

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...

Agentic SOC Triage: Investigating Splunk ES Notables with MCP Server and a Local LLM

The Problem: Too Many Alerts, Too Little Context Security operations teams running Splunk Enterprise Security ...