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
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, and empower your SOC to reach new heights! Duration: 1 hour  Prepare to ...

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