Is there a chance to clean the state of file or filebeat won't re-read the file again after the close_eof is reached? How?
Thanks.
Is there a chance to clean the state of file or filebeat won't re-read the file again after the close_eof is reached? How?
Thanks.
I'm not exactly sure what you are asking. Could you try to rephrase the question or add more context about the problem you are trying to solve.
When close_eof
is enabled Filebeat will close its file descriptor when the end-of-file is reached.
When an inode is cleaned from the registry, and then Filebeat reads it again it will treat it as new.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.