My app finishes the connection to Filebeat when the message "End Of File reached" comes out from Filebeat(v.7) logs. However in Filebeat v.8, I can't find the eof message.
Does v.8 Filebeat send the message like v.7 used to send? Or are there any other messages to judge if it's the end of the file reached?
This is my input settings of filebeat.yml.
#=========================== Filebeat inputs ============================= filebeat.inputs: # Each - is an input. Most options can be set at the input level, so # you can use different inputs for various configurations. # Below are the input specific configurations. - type: filestream # Unique ID among all inputs, an ID is required. id: alert-logs # Change to true to enable this input configuration. enabled: true # Paths that should be crawled and fetched. Glob based paths. paths: # - /var/log/*.log #- c:\programdata\elasticsearch\logs\* - <<input_path>> tags: ["<<log_type>>_tag"] encoding: utf-8 #close_inactive: 1m close_eof: true