Getting Data In

how often does the forwarder send data to indexer

mgh4
Explorer

We are forwarding logs and the question has come up as to how often the forwarder sends data and is there a way to flush the data when you stop the forwarder?

I looked in etc/system/README/outputs.conf.spec but didn't find anything relating to this interval.

Thanks

Tags (1)
0 Karma

Ayn
Legend

The forwarder sends data immediately when it becomes available. There is no certain interval that it waits or anything like that.

0 Karma

mgh4
Explorer

thank you. that makes sense.

0 Karma

yannK
Splunk Employee
Splunk Employee

while tailing a file, the forwarder consider that a line is complete if an open file has not be touched for up to 3 seconds, or immediately when the lock of the file is released.

However in particular cases, if you have an application writing with a buffer or irregularly, that can cause the beginning of the line to be written, pause, then write the end, you can experience a broken event. ( turned in to 2 events)

0 Karma

Ayn
Legend

To be honest I don't know the exact behaviour here but Universal Forwarders do not perform any parsing or line breaking so they pretty much look for new data and pass it along as soon as they see it. It won't wait for a file to stop being updated.

0 Karma

mgh4
Explorer

Ok, but since it can send in blocks and set source type it must be waiting at least for an end of line, or for a file to not change over some time interval. Like, send changes if file has not update in 1 second.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Painting a Clearer Picture: Creating Cross-Domain Visibility with AI Canvas

    Thursday, June 25, 2026  |  11AM PDT / 2PM EDT  Duration: 1 Hour (Includes live Q&A) Register to ...

Analytics Workspace deprecation

As of Splunk Cloud Platform 10.4.2604 and Splunk Enterprise 10.4, Analytics Workspace is now deprecated. ...

Splunk Developer Day Recap: Building, Publishing, and Growing on the Splunk Platform

Splunk Developer Day brought the Splunk developer community together for a practical look at what it means to ...