How can i gracefully shutdown Logstash without losing any events that it might still be processing?
Basically what i want is to stop the
input from processing and then wait until all events that are already under way to finish processing and only then terminate the process.
Is the the flow that happens today when i run
service Logstash stop? And what about when Logstash receives a SIGTERM signal?