[EKS/Fargate] [Logging]: EKS Fargate logging is missing logs
- Dominant language
- Shell
- Stars
- 5.4k
- Forks
- 334
- PR merge metrics
- No merged PRs in 30d
Description
### Community Note
* Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request
* Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
* If you are interested in working on this issue or have submitted a pull request, please leave a comment
**Tell us about your request**
I configured EKS Fargate logging to output pods logs to Cloudwatch (using cloudwatch_logs) as per below tutorials and although they are working we have missing logs.
https://docs.aws.amazon.com/eks/latest/userguide/fargate-logging.html
https://aws.amazon.com/blogs/containers/fluent-bit-for-amazon-eks-on-aws-fargate-is-here/
**Which service(s) is this request for?**
Fargate EKS
**Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?**
I'm expecting that EKS Fargate with Fluentbit to log consistently in Cloudwatch.
**Are you currently working around this issue?**
No
**Additional context**
* Confirmed logging is enabled for pods `kubectl describe pod` and we have `Logging: LoggingEnabled`
**Attachments**
Contributor guide
Research direction
Start by reviewing the EKS Fargate logging tutorial and Fluent Bit for Amazon EKS guidance, then verify the pod with `kubectl describe pod` and inspect the CloudWatch output. Reproduce the missing-log behavior with the documented configuration; done means pod logs arrive consistently in CloudWatch and the cause is documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, kubernetes
- Domain
- cloud, observability-sre
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100