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

Open
nicolas-laduguie opened this issue Jun 12, 2024 · 3 comments
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

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

No branches or pull requests

4 participants