Getting Data In

Why is my bucket not rolling to frozen?

patouellet
Path Finder

Hi,

I have an index that I recently reconfigured with frozenTimePeriodInSecs=94867200, so I shouldn't have events older than about 3 years.

But when looking at the monitoring console, under Index detail, I see

Data Age vs Frozen Age (days): 1587 / 1098
Earliest Event: 2013-11-29

I was under the impression that frozenTimePeriodInSecs would role buckets from cold to frozen, effectively deleting them, but apparently it's not.

What am I missing here?

Thank you

0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Buckets won't roll until the newest event is older than frozenTimePeriodInSecs. Depending on the activity in that index, a bucket may have some events that are very old and others that are not old enough to roll.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

Buckets won't roll until the newest event is older than frozenTimePeriodInSecs. Depending on the activity in that index, a bucket may have some events that are very old and others that are not old enough to roll.

---
If this reply helps you, Karma would be appreciated.

patouellet
Path Finder

Thanks. Any way I can verify that by querying individual buckets - finding out the most recent event of my oldest bucket?

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Run a search to find an event in an old bucket and add | eval bktId=_bkt on the end. Then search | dbinspect index=foo | where bucketId="<bktId>" | convert ctime(startEpoch) | convert ctime(endEpoch) to see the start and end dates for that bucket.

---
If this reply helps you, Karma would be appreciated.

patouellet
Path Finder

Awesome. This revealed that the most recent event in a bucket I thought was pretty old is Jan 1st 2016, which is less than the 3 years I setup in indexes.conf. You rock.

0 Karma
Get Updates on the Splunk Community!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...