Getting Data In

How does splunk write data into Hot DB?

yuwtennis
Communicator

Hi!

I would like to ask question regarding to Hot DB.

I understand that you can specify multiple Hot DB using the maxHotBuckets option
and whenever the maxDataSize is reached per bucket it is rolled to the warm status.
(hot bucket and warm bucket is the same size)

Does splunk first create maxHotBuckets and then writes data sequentially or
does it load balances through all the buckets?

I am bit confused with the relation with maxDataSize and maxHotBuckets.
I'd appreciate if someone can clarify with this issue.

Thanks,
Yu

Tags (3)
0 Karma
1 Solution

gfuente
Motivator

Hello

It is related to the timestamps of the events. In a normal situation where all the events are beign received one after another in the timeline, you would have only one hot bucket, and it will be filled until it reaches the maxDataSize limit.

But, you could get events from the past that won't "fit" in the time frame of the existing hot bucket, and in that situation Splunk will create a new hot bucket for the events coming from that "past time frame", in this case you will have 2 hot buckets.

So, hot buckets groups the events by time.

Regards

View solution in original post

gfuente
Motivator

Hello

It is related to the timestamps of the events. In a normal situation where all the events are beign received one after another in the timeline, you would have only one hot bucket, and it will be filled until it reaches the maxDataSize limit.

But, you could get events from the past that won't "fit" in the time frame of the existing hot bucket, and in that situation Splunk will create a new hot bucket for the events coming from that "past time frame", in this case you will have 2 hot buckets.

So, hot buckets groups the events by time.

Regards

yuwtennis
Communicator

Hi gfuente.

Thank you for the reply.

I think I am beginning to understand this nature.

If a past event comes in and splunk creates a Hot bucket,
and the next incoming events fits to the time frame of the buckets,
which bucket will be used?

Thanks,
Yu

0 Karma
Get Updates on the Splunk Community!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

March Community Office Hours Security Series Uncovered!

Hello Splunk Community! In March, Splunk Community Office Hours spotlighted our fabulous Splunk Threat ...

Stay Connected: Your Guide to April Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars in April. This post ...