Deployment Architecture

Does indexed data traverse through all the buckets before deletion/retention period ?

splunker12er
Motivator

When i set the frozenTimePeriodInSecs value to 1 month, (for eg.) indexed data will start to delete from the start of the next month.
In that case, does indexed data roll from hot to warm, then warm to cold, then cold to frozen?

By default, the maximum size of hot bucket is 750 mb / 90 days before it rolls from Hot to Warm.
Also, the number of Warm databases is 300/ 90 days by default. The older db will start to roll from WARM to Cold database.
By default after 6 years, splunk deletes the data (i.e. frozen)

If this is the case, when my retention period is short, will the data directly be deleted from hot/warm ?

Please advise.

0 Karma
1 Solution

lguinn2
Legend

Yes, when all the events in a bucket are past the retention time, the bucket is frozen or deleted at that point. The bucket could be in warm or cold, it doesn't matter. Just remember that if a bucket has events from multiple days, the bucket can't be frozen until all the data is expired.

BTW, frozen is not the same as deleted. You can ask Splunk to make a copy of a the bucket (excluding the index files) by specifying a frozen path. But if you don't specify a frozen path (or a script for freezing the data), then Splunk simply deletes the expired bucket.

View solution in original post

lguinn2
Legend

Yes, when all the events in a bucket are past the retention time, the bucket is frozen or deleted at that point. The bucket could be in warm or cold, it doesn't matter. Just remember that if a bucket has events from multiple days, the bucket can't be frozen until all the data is expired.

BTW, frozen is not the same as deleted. You can ask Splunk to make a copy of a the bucket (excluding the index files) by specifying a frozen path. But if you don't specify a frozen path (or a script for freezing the data), then Splunk simply deletes the expired bucket.

Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

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