Installation

Splunk indexing delay

rahul2gupta
Path Finder

Hi @gcusello ,

We've observed slow Splunk indexing in one webMethods servers (aexxxxxx) causing certain testcases to fail. Normally indexing completes in 1-2 seconds. But on some servers it takes much longer (upto 2 minutes).

 
 
 

delay.PNG

Could you please help me with this.

Regards,

Rahul

 

 

Labels (1)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @rahul2gupta,

if you have these problem only on these logs, the problem, is probably the one hinted by @scelikok.

At first, check if you have delays in indexing queue (you can see in Splunk Monitor Console).

Then, did you checked the maxKBps parameter on UF or Indexer?

the problem it should be because, by default, an UF has 256 for this parameter.

Ciao.

Giuseppe

 

0 Karma

rahul2gupta
Path Finder

Hi @gcusello ,

I checked these parameters on UF(aeaxxxx) because we are facing from this server only. 

thruput.PNG

Please let me know if we need to change maxKBps =0 to some higher value.

Regards,

Rahul

0 Karma

scelikok
SplunkTrust
SplunkTrust

Hi @rahul2gupta,

maxKBps=0 means unlimited, there is no need to change.

Can you check internal logs if you see an error on TailReader component like File Descriptor Cache Full?

index=_internal host=aeaxxxx component=TailReader

 

If there are too many files monitored, UF cannot monitor all, that may cause delays. 

If this reply helps you an upvote and "Accept as Solution" is appreciated.
0 Karma

rahul2gupta
Path Finder

Hi @scelikok ,

I Checked the following query and found that latest events generated was on 20/01/2021.

index=_internal host=aeaxxxx component=TailReader

So what is the solution of this 😅

Still, we see that there is delay in indexing.😓

Regards,

Rahul

0 Karma

scelikok
SplunkTrust
SplunkTrust

Hi @rahul2gupta,

If you are getting logs using Universal Forwarder, delay could be because of the thruput setting on Universal Forwarder. The badwidth limit is default 256KBytes per second, if server creates more the 256 KBytes logs per second, you may experience delays.

This can be confirmed using internal logs of that Universal Forwarder;

 

index=_internal component=ThruputProcessor

 

You can increase this bandwidth limit on limits.conf on Universal Forwarder; for example to 1024 Kbyte/s

 

[thruput]
maxKBps = 1024

 

 

If this reply helps you an upvote is appreciated.

If this reply helps you an upvote and "Accept as Solution" is appreciated.
0 Karma

rahul2gupta
Path Finder

Hi @scelikok ,

I checked in the limits.conf and found following configuration.

thruput.PNG

 

0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...