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!

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...