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!

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

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