sampointer / fluent-plugin-cloudwatch-ingest

Alternative to ryotarai/fluent-plugin-cloudwatch-logs for ingesting AWS Cloudwatch logs via fluentd
GNU General Public License v3.0
11 stars 10 forks source link

Add --start-from-header option to aws logs get-log-events execution. #2

Closed chaeyk closed 7 years ago

chaeyk commented 7 years ago

Without start_from_header parameter, head of logs could be lost. It is necessary when you want to dump out entire cloudwatch logs.

sampointer commented 7 years ago

I have merged this and modified it to make it configurable, with the default behaviour being the previous false state in order that I don't have to do a major semver bump.

Setting oldest_logs_first to true in your configuration will enable the behaviour from this PR.

I'd be very grateful if you could build and test a version from master, after which I'll tag and release a new version.

Thank-you for your contribution, it is very much appreciated!

chaeyk commented 7 years ago

It works great. Thanks.

sampointer commented 7 years ago

Many thanks, 0.4.0 has been pushed to rubygems.org.