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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...