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!

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  &#x1f680; Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...