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).

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!

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

How to find the worst searches in your Splunk environment and how to fix them

Everyone knows Splunk is a powerful platform for running searches and doing data analytics. Your ...

Share Your Feedback: On Admin Config Service (ACS)!

Help Us Build a Better Admin Config Service Experience (ACS)   We Want Your Feedback on Admin Config Service ...