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?