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!

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...