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!

Demo Day: Strengthen Your SOC with Splunk Enterprise Security 8.1

Today’s threat landscape is more complex than ever. Security operation centers (SOCs) are overwhelmed with ...

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...