Close_eof

Does config. close_eof recommended to use?

Thanks.

As a general case, no, it's not recommended to use close_eof unless it fits your use case and you understand its implications of potential data loss.

Have a look at the documentation for the various close_* settings and how they relate to each other:
https://www.elastic.co/guide/en/beats/filebeat/master/filebeat-input-log.html#filebeat-input-log-close-options

Thanks @adrisr

If you want to make sure beats has to stop once your current input source reach to end then you can use it.
But this is not a good way to configure.

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