Getting Data In

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

shizl
Engager

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

yannK
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
see http://docs.splunk.com/Documentation/Splunk/4.3.4/Data/Usepersistentqueues

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...