-
Notifications
You must be signed in to change notification settings - Fork 136
Recommended Cloudwatch_Logs Configuration #340
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Labels
guidance
Customer is seeking guidance from us/the community
Comments
These settings used to be in the example but are no longer since they are same as the defaults since 1.9.x Fluent Bit upstream version series:
|
Merged
3 tasks
Is there dual options is supported under logConfiguration? Like sending logs to cloudwatch as well as opensearch. |
github-merge-queue bot
pushed a commit
to linz/topo-workflows
that referenced
this issue
Apr 3, 2024
#### Motivation Fluent Bit is experiencing a lot of network errors connecting to `logs.ap-southeast-2.amazonaws.com`. This amount of errors does increase the log storage cost, see #374. This is a known issue for which Fluent Bit team made [some recommendations to reduce it](aws/aws-for-fluent-bit#340). This PR is applying one of these recommendations and has been tested with success on non prod. #### Modification - Remove [the patch](#374) that stops sending Fluent Bit application logs to CloudWatch - Set the Fluent Bit `keepalive idle timeout` to 4s (default is 1.5s) following [the recommendations made here](aws/aws-for-fluent-bit#340). #### Checklist - [ ] Tests updated - N/A - [x] Docs updated - [x] Issue linked in Title --------- Co-authored-by: Victor Engmark <vengmark@linz.govt.nz>
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
NOTICE: please see the main tracking ticket for multiple recently reported high impact issues in AWS for Fluent Bit: #542
Recommended Cloudwatch_Logs Configuration
Recently our team has received lots of inquires on tuning the cloudwatch_logs output plugin via it's configuration
Customers using out of tune cloudwatch configurations may experience log loss due to:
These issues can be resolved via appropriate configuration.
If you are configuring FireLens via a Fluent Bit config file, use the following cloudwatch_logs configuration:
If you are configuring FireLens via task definition logDriver configuration options:
We may update the above configuration from time to time to reflect the cloudwatch_logs configuration that provides the best performance.
The text was updated successfully, but these errors were encountered: