Getting Data In

How to correctly set splunktcpin queue size on indexers?

lukasz92
Communicator

Hi,

How to correctly set splunktcpin queue size on indexers?

I tried:

in server.conf:

[queue]
maxSize = 2MB

in inputs.conf:

[splunktcp://9997]
queueSize = 4M

Restarted indexers, but it doesn't help. I got events like:

03-12-2017 11:31:18.692 +0100 INFO Metrics - group=queue, name=splunktcpin, blocked=true, max_size_kb=500, current_size_kb=499, current_size=1352, largest_size=1352, smallest_size=0
0 Karma
1 Solution

lukasz92
Communicator

I corrected

queueSize = 4M

to

queueSize = 4MB

and it works now.

View solution in original post

lukasz92
Communicator

I corrected

queueSize = 4M

to

queueSize = 4MB

and it works now.

lukasz92
Communicator

rest query:

| rest services/data/inputs/tcp/cooked

tells me, that the queue size is set to 4M - but why there are new events with max_size_kb=500?

0 Karma
Get Updates on the Splunk Community!

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

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...