All Apps and Add-ons

Splunk App for Stream : if indexing queue blocked or the network connection with Indexer is disconnected what happen?

kwchang_splunk
Splunk Employee
Splunk Employee

Dear stream experts,

In case of TCP/UDP inputs, there are the persistent queue and memory queue which can deal with the network problem with indexers behind. What happen if the UF which runs streamfwd disconnected from indexer? Is there any buffer which can handle it? If there is, how can I manage the size of it?

Thank you.

Tags (1)
0 Karma
1 Solution

vshcherbakov_sp
Splunk Employee
Splunk Employee

hi kwchang,

Stream has a configurable in-memory event queue - see MaxEventQueueSize parameter in the docs. For all other data forwarding tasks, Stream relies on UF to manage the data forwarding. If UF Stream runs with is not properly configured (disconnected from indexers, etc.), Stream starts dropping events once its event queue is full - you'll see messages like "event queue overflow; dropping NNN events" in stream log when it occurs.

View solution in original post

mdickey_splunk
Splunk Employee
Splunk Employee

The Splunk UF has an in-memory event queue and HA capabilities that are controlled by outputs.conf. In particular, see the maxQueueSize, dropEventsOnQueueFull and dropClonedEventsOnQueueFull. Note that dropEventsOnQueueFull defaults to -1, which blocks the Stream TA and will cause its event queue to overflow (causing events to be dropped) if the UF is unable to contact an indexer. You can reduce the risk of dropped events by configuring groups of indexers in your outputs.conf.

vshcherbakov_sp
Splunk Employee
Splunk Employee

hi kwchang,

Stream has a configurable in-memory event queue - see MaxEventQueueSize parameter in the docs. For all other data forwarding tasks, Stream relies on UF to manage the data forwarding. If UF Stream runs with is not properly configured (disconnected from indexers, etc.), Stream starts dropping events once its event queue is full - you'll see messages like "event queue overflow; dropping NNN events" in stream log when it occurs.

Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

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