Getting Data In

What is the hot bucket max time?

debjit_k
Path Finder

Hi All

I'm very new to Splunk can someone help me after how many days the data will transfer from hot bucket to warm bucket. 

Note: default is 90 days that I know but I want proof which I need to show so can someone guide me from where I could find this.

Thank you in advance!!

Labels (1)
0 Karma

venky1544
Builder

Hi @debjit_k 

Hot buckets roll to warm bucket when they reach max size and timespan 

also they roll to warm when indexer is restarted or 24 hours with no events written to the hot bucket

so if you want to demonstrate you can follow the steps in the link and tweak it according to your use case 

https://www.batchworks.de/manually-roll-buckets-from-hot-to-warm/

in my scenario i noted the splunk bucket details in the hot bucket did a restart of the indexer and saw the bucket rolling to warm bucket 

Hope this helps

Note: if this helps karma points are  appreciated / if it really worked for you please the accept the solution it might help others 

0 Karma

PickleRick
SplunkTrust
SplunkTrust

It is not that straightforward.

There is indeed a setting maxHotSpanSecs which sets _maximum_ timespan of a bucket but the bucket might be rolled out to warm in certain circumstances (if you have maxHotIdleSecs parameter set and you don't receive events for that period of time, if it reaches its size limit or when the indexer is restarted).

So the maxHotSpanSecs is the theoretical maximum "age" of a hot bucket.

You might want to read the docs for indexes.conf file.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Free Professional Services for .conf26 Attendees

This year at .conf26, we are doing something a little different. We are bringing the best minds from ...

Defend at Machine Speed: Your Guide to Security Sessions at .conf26

Splunk .conf26   With threats moving at machine speed and attack surfaces expanding across hybrid ...

Where Innovation Takes Flight: The Splunk4Aviation Flight Sim Lands at .conf26

If you hear someone at .conf26 shouting "gear down, GEAR DOWN" across the show floor, you have found us.  The ...