Getting Data In

How to configure a forwarder so it does not forward any data that appeared while the forwarder was stopped?

ayushchoudhary
Path Finder

Sometimes due to a space issue, we have to stop the forwarder from sending data to Splunk.
However, when we start the forwarder, it sends the data which was not indexed during the time it was stopped.

Our requirement is, when we start the forwarder, it should not send the un-indexed data and just start sending fresh data to Splunk.

0 Karma
1 Solution

ChrisG
Splunk Employee
Splunk Employee

Do you have indexer acknowledgment enabled in outputs.confon the forwarder? It is disabled by default, but from your description of the behavior, it sounds as if it is enabled. See Protect against loss of in-flight data in the Forwarding Data manual.

View solution in original post

0 Karma

ChrisG
Splunk Employee
Splunk Employee

Do you have indexer acknowledgment enabled in outputs.confon the forwarder? It is disabled by default, but from your description of the behavior, it sounds as if it is enabled. See Protect against loss of in-flight data in the Forwarding Data manual.

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...