Hello,
We run filebeat from the command line. I am wondering is there a way to shutdown filebeat properly other than "kill -9", so that filebeat has chance to save its state before exit?
thanks.
yan
Hello,
We run filebeat from the command line. I am wondering is there a way to shutdown filebeat properly other than "kill -9", so that filebeat has chance to save its state before exit?
thanks.
yan
SIGTERM should be enough normally, so kill
without -9
. It might take a few seconds, but it should shutdown properly, we'd consider it a bug if it doesn't.
kill -9
can result in duplicates, but shouldn't lose log lines.
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.