fluent-plugin-cloudwatch-logs icon indicating copy to clipboard operation
fluent-plugin-cloudwatch-logs copied to clipboard

Support `CreateLogStream` without `CreateLogGroup`

Open skeggse opened this issue 2 years ago • 1 comments

Problem

I'd rather only provide access to some machines to create log streams within an existing log group, rather than also providing access to CreateLogGroup; would it be reasonable to have a separate auto_create_group flag that we can set to false to disable the group creation portion of that functionality?

skeggse avatar Mar 15 '22 22:03 skeggse

I am also in favor of this. I would like to manage the log groups through Terraform IaC and just let this plugin create the log streams one per unique EC2 instance-id for example. Was not expecting the log groups to automatically show up and had to do some cleanup due to this.

https://github.com/fluent-plugins-nursery/fluent-plugin-cloudwatch-logs/pull/254

cristian-radu avatar Jul 05 '23 15:07 cristian-radu