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

out_cloudwatch_logs: log_group_class option introduced breaking change in 3.0.7 #8949

Closed
nicolas-laduguie opened this issue Jun 12, 2024 · 5 comments · Fixed by #9114
Closed
Labels
AWS Issues with AWS plugins or experienced by users running on AWS

Comments

@nicolas-laduguie
Copy link

nicolas-laduguie commented Jun 12, 2024

Bug Report

Describe the bug
Release 3.0.7 delivered the new log_group_class option support for cloudwatch output, but this introduces a breaking change, causing fluentbit not able to start.

To Reproduce

  • Run 3.0.6 version of fluentbit with cloudwatch output option auto_create_group set to Off => should work fine
  • Keep same config and run fluentbit 3.0.7 => fail starting with following error :
[2024/06/12 00:07:27] [error] [output:cloudwatch_logs:cloudwatch_logs.0] Configuring log_group_class requires `auto_create_group On`.

Expected behavior
Since 3.0.7 is a patch revision, should not introduce any breaking change and should work well with a configuration compliant with 3.0.6.

Your Environment

  • Version used: 3.0.7
  • Configuration:
[OUTPUT]
    Name cloudwatch_logs
    Match *
    region us-west-2
    log_group_name XXX
    log_stream_prefix XXX
    auto_create_group Off
  • Operating System and version: Ubuntu 22.04
@nicolas-laduguie
Copy link
Author

The change introducing the breaking change : #8832

@michael-stevens
Copy link

I've also seen this issue.

@patrick-stephens patrick-stephens added AWS Issues with AWS plugins or experienced by users running on AWS and removed status: waiting-for-triage labels Jun 13, 2024
@lecaros
Copy link
Contributor

lecaros commented Jun 13, 2024

ping @PettitWesley @edsiper

@cschp
Copy link

cschp commented Jul 2, 2024

I also have this issue and i am hoping for a resolution soon

@ssc-ksaitou
Copy link

Same here.

Setting auto_create_group=true in fluent-bit.conf and allowing logs:CreateLogGroup in IAM worked as a workaround in my case, however I don't want to do so.

sjoerdsmink added a commit to sjoerdsmink/fluent-bit that referenced this issue Jul 19, 2024
sjoerdsmink added a commit to sjoerdsmink/fluent-bit that referenced this issue Jul 25, 2024
edsiper pushed a commit that referenced this issue Aug 14, 2024
edsiper pushed a commit that referenced this issue Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AWS Issues with AWS plugins or experienced by users running on AWS
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants