-
Notifications
You must be signed in to change notification settings - Fork 49
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
Add verification logic to validate the existance of cloudwatch loggroup #353
Comments
Hi @Pixis-Akshay-Gopani this plugin already has the functionality to create group if it doesn't exist Cheers |
@piotrgo i know it has feature to auto create group. ideally it should first check the presence of loggroup. if loggroup does not exist then it should call createloggroup api. Based on fluentbit log i have found that fluentbit is not checking the presence of loggroup. it directly call the createloggroup api even if loggroup is already exist. |
Description of issue:
it looks like this plugin is not verifying the existance of cloudwatch loggroup. This plugin should first verify the presence of loggroup. if loggroup does not exist then it should call the createloggroup api.
amazon-cloudwatch-logs-for-fluent-bit/cloudwatch/cloudwatch.go
Line 69 in 7b8dae0
time="2023-09-15T11:25:35Z" level=info msg="[cloudwatch 0] Log group /aws/eks/test already exists\n"
The text was updated successfully, but these errors were encountered: