Getting Data In

Splunk forwarder - When the log file will be send to splunk indexer ?

clementros
Path Finder

Hi,

I'm currently monitoring log files on unix server. Jobs application write log file in a directory.
I want to monitor only log file that is finished to be write. How i can do that ?

I don't want splunk to compare the beginning of the file to know if a file was already send to the indexer because if new lines are added to this file the forwarder will not see it.

If the forwarder compare last lines to see if a file is new, it will sent the same file multiple time rights ?

Can you help me please ?

0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

By default, forwarders read new lines from monitored files and send only the new data to indexers.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

0 Karma

richgalloway
SplunkTrust
SplunkTrust

By default, forwarders read new lines from monitored files and send only the new data to indexers.

---
If this reply helps you, Karma would be appreciated.
0 Karma

clementros
Path Finder

Thank you

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!

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

What Is the Name of the USB Key Inserted by Bob Smith? (BOTS Hint, Not the Answer)

Hello Splunkers,   So you searched, “what is the name of the usb key inserted by bob smith?”  Not gonna lie… ...

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...