Getting Data In

Is safe the events saved in forwarder's queue when the splunk receiver port closed?


I configure a port 9997 on a splunk server to receive a forwarder 's event. The forwarder will transfer all event continuously. I want to schedule a forwarder transfer.
I close the splunk receiver port at a special time and open at another special time,
The forwarder will be blocked when the port is closed. All events will enter a queue. maxQueueSize can configure the size of the queue. is it right?
Is safe the events saved in forwarder's queue?
Where the events is saved? memory or disk?
What is the performance of the forwarder when it is blocked.

Tags (2)
0 Karma

Splunk Employee
Splunk Employee

By default the forwarder has a small memory queue, and will resent the events once an indexer is available.
If the forwarder is monitoring non volatile logs (i.e. not UDP) then it will pause the monitoring until the output is available.
But for the events already in memory, they can be lost if the forwarder is shut down.

FYI you can add persistent queues on disk

0 Karma
Get Updates on the Splunk Community!

Registration for Splunk University is Now Open!

Are you ready for an adventure in learning?   Brace yourselves because Splunk University is back, and it's ...

Splunkbase | Splunk Dashboard Examples App for SimpleXML End of Life

The Splunk Dashboard Examples App for SimpleXML will reach end of support on Dec 19, 2024, after which no new ...

Understanding Generative AI Techniques and Their Application in Cybersecurity

Watch On-Demand Artificial intelligence is the talk of the town nowadays, with industries of all kinds ...