lukewaite / logstash-input-cloudwatch-logs

Input plugin for Logstash to stream events from CloudWatch Logs
Other
142 stars 74 forks source link

Avoid missed records in a high volume scenario #96

Open daniel-bray-sonalake opened 3 years ago

daniel-bray-sonalake commented 3 years ago

A fairly sizeable rewrite of how the sincedb works, full details in the ARCHITECTURE.md

This resolves #74 where records were going missing in a high-volume situation

The change is that rather than have a single "this was the last timestamp for some log group" the change is to maintain a window of N minutes worth of events and use it to:

It replaces my last PR for this, as it still had some problems PR#92