I use LogStash to collect logs from my service. The data volume is so large (20 GB / day) that I am afraid that some data will be reset at peak times.
So I asked a question here and decided to add Redis as a buffer between ELB and LogStash to prevent data loss.
However, I am interested to know about when LogStash will exceed the queue bandwidth and cancel messages?
Since I conducted several experiments, and the result shows that LogStash can fully process all the data without any loss, for example a local file → LogStash → local file, netcat → LogStash → local file.
Can someone give me a convincing example when LogStash will eventually delete messages? So I can better understand why we need a buffer in front of it.
source
share