How make filebeat harvest not end of file

hi, i have a application what write in the last line information incomplete and i need how make filebeat read one line before the end of file.
this is a problem the application re write the last line

Hmmm, interesting problem! I'm not sure there's a good way to make Filebeat not read the last line. However, is there something about the last line that indicates that it's incomplete? If so, maybe you can use this unique property of the last line to filter it out using Filebeat's exclude_lines option: https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-input-log.html#filebeat-input-log-exclude-lines?

1 Like

I dont cant see anything, I did view this whit make "cat -ETn" in the log file, and view empy caracter in the last line and after other insercion I view this line whit information.
I triaid whit "exclude_lines" and nothing


This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.