-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Add queue persistence to make pipeline resilient to crashes and restarts #2605
Comments
#1939 is work in progress by @colinsurprenant to add persistent queue framework which will be used to address this issue |
👍 |
May I suggest that this concept of the internal queue "provider" be abstracted in logstash and implemented by a plugin/extensible mechanism? So rather than just hardwiring in #1939 directly as a top level option, make the top level options be something like
So this way logstash could ship w/ two out of the box:
It would just provide a more extensible hook point for further improvements down the road and let others implement whatever they wish for logstash's internal queue mechanism. |
Hi Could anyone provide an update about this issue? Being able to reliable send logs to ES using LS to enrich them during the trip would be a great feature. If I'm not wrong, Filebeat seems to be reliable but it can't do as many things as LS does. |
@mostolog I'm not sure what you are meaning by As for an update, we're working on this feature. |
The first implementation progress can be tracked in #5638 |
Closing this for #5638 |
Currently Logstash uses in-memory bounded queues between pipeline stages (input to filter, filter to output) to buffer events (see documentation for more information). Currently the size of the queue is fixed to 20 and is not configurable. It is possible to lose any queued events if Logstash is terminated unsafely. To prevent event loss in these scenarios, we plan to persist these queues to disk.
The text was updated successfully, but these errors were encountered: