amazon-cloudwatch-logs-for-fluent-bit
amazon-cloudwatch-logs-for-fluent-bit copied to clipboard
Log Group retention policy update not working
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://github.com/aws/amazon-cloudwatch-logs-for-fluent-bit/blob/mainline/cloudwatch/cloudwatch.go#L593 and return from https://github.com/aws/amazon-cloudwatch-logs-for-fluent-bit/blob/mainline/cloudwatch/cloudwatch.go#L589
because "Log group already exists" is not printing in log
Thanks for your reporting. I think it should still work if you enable the auto_create_group
, have you tried it?
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.
@zhonghui12 was this issue fixed?