The application team is concerned if Filebeat is down, it will cause logs to be missed,
Will Filebeat be able to detect which logs are sent during it's downtime and automatically send them to logstash when it is turned back on?
Filebeat tracks the position of the harvested files, if you stop filebeat and start again later, it will read from the last know position when it was running.
If the log is rotated while filebeat was in a stop state it will not be able to send the events that happened between that time.
The application team tried to delete the log file and each time the log file is deleted, in the directory /data/registry/filebeat/log.json keeps growing in size
Would this be a concern if this log.json keeps growing?
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.