Getting Data In

Where does the Universal forwarder cache its data if the indexer is down?

aberdamy
Explorer

Where does the Universal forwarder cache its data if the indexer is down?

0 Karma

linu1988
Champion

Hello,
The data is stored in memory before it's sent. If the indexer is down and you have not specified any explicit path to store the pending data that data will be gone.

You may want to take a look at persistent queue subject and i am gonna sleep.

http://docs.splunk.com/Documentation/Splunk/5.0.2/Deploy/Protectagainstlossofin-flightdata

http://docs.splunk.com/Documentation/Splunk/latest/Data/Usepersistentqueues

Thanks

linu1988
Champion

if you see the document there it is mentioned how to configure the output in-memory queue. But as the secondary memory is more cheaper it should be used as persistent queue. For more in-memory queue length it should be configured as below.

maxQueueSize = [<integer>|<integer>[KB|MB|GB]]

0 Karma

aberdamy
Explorer

ok thank you for the reply. it looks like I cannot use the persistent queue for my Windows events or the Monitor Stanza so is there any way to increase the 'in memory' queue for the universal forwarder?

0 Karma
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!

Persistent Queue at TcpOut — One of Splunk's Most Practical Features

Splunk introduced persistent queueing at the tcpout layer as one of the most practical resilience features in ...

Skip the Awkward Silence: Have a .conf-ersation at .conf26

Picture this. You arrive at .conf26 already having your socializing and networking plans mapped out. No ...

Rethinking Zero Trust: From Product Purchases to Logical Control Evidence

Implementing Zero Trust (ZT) across complex environments often falters at the very beginning due to a ...