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!

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...