Filebeats - skips lines


#1

I've got a log file which has 200 empty lines in the end (pre-write to allocate space).
When the software writes to this file it replaces empty lines with logs and adds more empty lines in the end when 200 lines have been used.
Due to this behavior Filebeats skips some lines.
Is there a way for Filebeats to recognize pre-allocation and process all lines? (for example: stop processing before empty line?)


(Steffen Siering) #2

Filebeat tails log files. It remembers the last read lines. Your way of updating the log files relies on some weird non-standard behavior/protocol.


(system) #3

This topic was automatically closed after 21 days. New replies are no longer allowed.