'AWS Fluent bit how to send only needed logs
I got aws eks cluster and deploy some application that got Haproxy pod and application pods. To get logs in CloudWatch i install aws fluent bit using this instruction https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Container-Insights-setup-logs-FluentBit.html All works as expected but i see that my application writes logs to separate log group and to /aws/containerinsights/Cluster_Name/application so i got duplicated logs. If i turn off fluent bit logs i miss Haproxy logs that i need
How i can turn all logs exept Haproxy one ? Haproxy pod writes logs to stdoud
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
