Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate log groups for each different application and Log stream for each pod of that application #344

Open
abhiptl opened this issue Jul 6, 2023 · 1 comment

Comments

@abhiptl
Copy link

abhiptl commented Jul 6, 2023

All applications logs are sent to same log group "/aws/containerinsights/<>/application.

This becomes very difficult to search application logs. Application can be your custom application or kubernetes applications like keda, karpenter, aws-alb-controller, argocd.

This will allow to have separate log group for each application and easy search

@piotrgo
Copy link

piotrgo commented Sep 21, 2023

Hi @abhiptl there is already an example for what you would like to achieve

log_group_name /eks/$(kubernetes['namespace_name'])/$(kubernetes['pod_name'])

Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants