Getting Data In

SPLUNK forwarder

dejn
New Member

I am wondering how the splunk forwarder agent handles the following scenario.

Let’s say the agent is installed on a windows server and the agent service/application for unknown reason stops. The OS continues to run and therefore log continues to be generated. After a period the agent is up and running again. Will the agent forward events that has been generated while it was down or will it forward logs “on the fly”??

Tags (1)
0 Karma

Kate_Lawrence-G
Contributor

It depends on your log rotation schedule.

If the log file has continued to simply append while Splunk was stopped the forwarder will pick it up from the last check after it's been started and that data will make it's way to the indexer.

However if the data was moved to a different log during that period or was zipped or otherwise compressed Splunk will likely not pick it (depending on your blacklist settings in input.conf).

Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...