Getting Data In

I want to configure usePersistentQueue so Splunk will buffer my syslog events.

the_wolverine
Champion

What are the gotchas to configuring this other than what is documented in this Splunk Wiki article which states that this should NOT be configured in version 4.0 and later except for very specific use cases (contact Support)?

1 Solution

bmignosa_splunk
Splunk Employee
Splunk Employee

Persistent Queues are available for use again as of 4.2 and newer.
http://docs.splunk.com/Documentation/Splunk/4.3.1/Data/Usepersistentqueues

View solution in original post

bmignosa_splunk
Splunk Employee
Splunk Employee

Persistent Queues are available for use again as of 4.2 and newer.
http://docs.splunk.com/Documentation/Splunk/4.3.1/Data/Usepersistentqueues

the_wolverine
Champion

In version 4.0, the general consensus is DO NOT USE usePersistentQueue. Further, Splunk has documented that the feature is deprecated. The default behavior (in 4.0) is that, when a forwarder loses its connection to the indexer for whatever reason, it will block continuously instead of writing to disk. For UDP/syslog inputs, this means any events forwarded during the time that queues are blocked will be dropped.

If the concern is prevention of data loss, you should consider going to TCP input and using flat files (e.g. syslog-ng).

Be forewarned that a usePersistentQueue-enabled configuration will require very careful planning as it is heavily dependent on hardware resources. You will be responsible for fully testing this configuration before Production implementation. If you still choose to go this route, be aware of the scenario where, if queues are blocked and the Splunk forwarder is writing to disk, you cannot restart the forwarder until the "issue" is resolved or events will be lost.

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