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
Get Updates on the Splunk Community!

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 ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...