aws / amazon-cloudwatch-logs-for-fluent-bit

A Fluent Bit output plugin for CloudWatch Logs
Apache License 2.0
172 stars 49 forks source link

[<= 1.9.1] Log Loss can occur when log group creation or retention policy API calls fail #314

Open PettitWesley opened 1 year ago

PettitWesley commented 1 year ago

In plugin versions 1.9.1 and earlier, this plugin incorrectly returned an unrecoverable failure for log group creation or log retention policy API failures. This will be fixed in 1.9.2+.

Because the chunk of records will not be retried, this leads to log loss.

https://github.com/aws/amazon-cloudwatch-logs-for-fluent-bit/blob/4284362635ef863cd0ea3eeab9ae921808b41982/cloudwatch/cloudwatch.go#L389

PettitWesley commented 1 year ago

Resolved in: https://github.com/aws/amazon-cloudwatch-logs-for-fluent-bit/releases/tag/v1.9.2

PettitWesley commented 1 year ago

Will update AWS for Fluent BIt to 2.31.6 for this

PettitWesley commented 1 year ago

Resolved in: https://github.com/aws/aws-for-fluent-bit/releases/tag/v2.31.6