Hi,
I need to know how splunk forwarders works. does it put a lock on the log file while reading it and while forwarding data to the indexers? I guess not but wanted to make sure.
Hi, an old topic.. but I have exactly that poblem.
Here my Inputs.conf
[monitor://D:\daten\Splunk\Abgleich1]
index = rbg_ff1_line_prodel_EPL1
sourcetype = rbg_ff1_line_prodel_EPL1_adjust_1
crcSalt = <SOURCE>
followTail = 1
The actual process:
Now my problem:
The UF does not block as long as it is only monitoring the file. But when it starts reading the file, it bocks the PLC to write on it.
What options do I have to prevent this?
No it doesn't.
It will forward the contents the first time it is run and will then monitor it for any further changes, access to the log file by other services is allowed and completely un-impeded during this 🙂