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!

Enterprise Security Content Update (ESCU) v3.54.0

The Splunk Threat Research Team (STRT) recently released Enterprise Security Content Update (ESCU) v3.54.0 and ...

Using Machine Learning for Hunting Security Threats

WATCH NOW Seeing the exponential hike in global cyber threat spectrum, organizations are now striving more for ...

New Learning Videos on Topics Most Requested by You! Plus This Month’s New Splunk ...

Splunk Lantern is a customer success center that provides advice from Splunk experts on valuable data ...