You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using YAML sequences (lists) under the service stanza in a Fluent Bit configuration file, the parser throws an error and fails to process the configuration. This prevents users from specifying multiple values in certain keys that could benefit from list support (e.g., parser_file with multiple parser files).
The following configuration render invalid when sequences are set on the parser_file under the service stanza.
docker run -v $(pwd)/test.yaml:/config/fluent-bit.yaml ghcr.io/fluent/fluent-bit/unstable:latest-debug /fluent-bit/bin/fluent-bit -c /config/fluent-bit.yaml -vvvv
Fluent Bit v3.2.0 | NIGHTLY_BUILD=2024-10-21-06_06_27 - DO NOT USE IN PRODUCTION!
Copyright (C) 2015-2024 The Fluent Bit Authors
Fluent Bit is a CNCF sub-project under the umbrella of Fluentd
[2024/10/21 08:43:20] [error] [config] YAML error found in file "/config/fluent-bit.yaml", line 7, column 4: unexpected event 'sequence-start-event' (7) in state 'section-value' (5).
Expected behavior
Configuration is valid and parsed correctly.
Your Environment
Latest fluent-build master build.
The text was updated successfully, but these errors were encountered:
Bug Report
Describe the bug
When using YAML sequences (lists) under the service stanza in a Fluent Bit configuration file, the parser throws an error and fails to process the configuration. This prevents users from specifying multiple values in certain keys that could benefit from list support (e.g., parser_file with multiple parser files).
The following configuration render invalid when sequences are set on the parser_file under the service stanza.
docker run -v $(pwd)/test.yaml:/config/fluent-bit.yaml ghcr.io/fluent/fluent-bit/unstable:latest-debug /fluent-bit/bin/fluent-bit -c /config/fluent-bit.yaml -vvvv
Fluent Bit v3.2.0 | NIGHTLY_BUILD=2024-10-21-06_06_27 - DO NOT USE IN PRODUCTION!
| | | | | | ___ () | |__ |/ __
| |_ | |_ _ ___ _ __ | |_ | |/ /| |_ __ __ / /`' / /'
| | | | | | |/ _ \ ' | | | ___ \ | | \ \ / / \ \ / /
| | | | || | _/ | | | | | |/ / | |_ \ V /./ /./ /__
_| ||_,|___|| ||_| _/||_| _/ _()____/
[2024/10/21 08:43:20] [error] [config] YAML error found in file "/config/fluent-bit.yaml", line 7, column 4: unexpected event 'sequence-start-event' (7) in state 'section-value' (5).
Expected behavior
Configuration is valid and parsed correctly.
Your Environment
Latest fluent-build master build.
The text was updated successfully, but these errors were encountered: