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

Log Group retention policy update not working #254

Open
transadm312 opened this issue Jun 3, 2022 · 3 comments
Open

Log Group retention policy update not working #254

transadm312 opened this issue Jun 3, 2022 · 3 comments

Comments

@transadm312
Copy link

transadm312 commented Jun 3, 2022

when creating Log Group for first time retention updated correctly
after somedays I updated log retention policy..but retention didn't update in AWS CloudWatch ..

I suspect it didn't reach below line https:/aws/amazon-cloudwatch-logs-for-fluent-bit/blob/mainline/cloudwatch/cloudwatch.go#L593 and return from https:/aws/amazon-cloudwatch-logs-for-fluent-bit/blob/mainline/cloudwatch/cloudwatch.go#L589

because "Log group already exists" is not printing in log

@zhonghui12
Copy link
Contributor

Thanks for your reporting. I think it should still work if you enable the auto_create_group, have you tried it?

@amosaini
Copy link

amosaini commented Jul 11, 2022

yes It is enabled for us. We are also facing the same. The put retention policy is not working when the log group already exist.
image

@abhijit-gaonkar
Copy link

@zhonghui12 was this issue fixed?

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

4 participants