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.

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...

Design, Compete, Win: Submit Your Best Splunk Dashboards for a .conf26 Pass

Hello Splunkers,  We’re excited to kick off a Splunk Dashboard contest! We know that dashboards are a primary ...

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...