-
Notifications
You must be signed in to change notification settings - Fork 101
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
Option to terminate pipeline when EOF is reached #212
Labels
Comments
This is only feasible in "read" mode as EOF has no significance when tailing. I will add it to the meta issue of pending changes #211 |
17 tasks
BigYellowHammer
added a commit
to BigYellowHammer/logstash-input-file
that referenced
this issue
May 22, 2019
…ns#212) * Adding exit_when_all_files_read flag to config * Disable active discovery when exit_when_all_files_read set to true * Remove file from watched_file_collection when EOF reached and flag set to true * Adding condition to exit when file collection is empty and flag set to true Fixes logstash-plugins#212
andsel
pushed a commit
to BigYellowHammer/logstash-input-file
that referenced
this issue
Feb 18, 2020
…ns#212) * Adding exit_when_all_files_read flag to config * Disable active discovery when exit_when_all_files_read set to true * Remove file from watched_file_collection when EOF reached and flag set to true * Adding condition to exit when file collection is empty and flag set to true Fixes logstash-plugins#212
andsel
pushed a commit
to BigYellowHammer/logstash-input-file
that referenced
this issue
Feb 19, 2020
…ns#212) * Adding exit_when_all_files_read flag to config * Disable active discovery when exit_when_all_files_read set to true * Remove file from watched_file_collection when EOF reached and flag set to true * Adding condition to exit when file collection is empty and flag set to true Fixes logstash-plugins#212
andsel
pushed a commit
to BigYellowHammer/logstash-input-file
that referenced
this issue
Feb 19, 2020
…ine once it red all files. Closes logstash-plugins#212
Published plugin version 4.1.16 that solves it |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A user requests the option to terminate the pipeline when EOF is reached. This would be useful for cases where new files are periodically presented to Logstash for processing and it is not desirable or feasible to leave a Logstash instance running all the time.
May be related to #39.
The text was updated successfully, but these errors were encountered: