-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filebeat 5.0.0-alpha4 losing messages #2041
Comments
Attached are more simplified tests with sample source and a bash script to run the test multiple times. I ran the test against logstash 5.0.0 alpha3 10 times each with following settings and results:
Surely an orderly shutdown with SIGHUP should allow filebeat to wait for any ACK from logstash (within some reasonable timeout) before stopping the process? Note - for the script to work you must start logstash with the -r restart option. The line in the script which adds a comment to the logstash configuration causes logstash to reload the configuration and flush the lines. Logshash file output should flush everything to file after 5 seconds, but does not seem to be honouring this now... |
modified test script (compare file length right after filebeat stop):
Have had to increase testfile by factor of 5, when testing locally. |
Fix has been merged. closing. |
On test done by @robin13 it seems that filebeat can drop lines when it's stopped with ^C during processing. The test does:
Config files:
and LS:
The text was updated successfully, but these errors were encountered: