How to shut down filebeat properly


#1

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


(Tudor Golubenco) #2

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.


(system) #3

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