-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Documentation shows built-in parser for ruby but this does not work #6050
Labels
docs issue
Documentation Issue
Comments
It does indeed look like there is no ruby parser defined either for 1.9 or Simplifying the config:
Shows the same failure on both 1.9.8 and latest $ docker run --rm -it -v $PWD/fluent-bit.conf:/fluent-bit/etc/fluent-bit.conf:ro fluent/fluent-bit
Fluent Bit v1.9.8
* Copyright (C) 2015-2022 The Fluent Bit Authors
* Fluent Bit is a CNCF sub-project under the umbrella of Fluentd
* https://fluentbit.io
[2022/09/16 09:35:51] [ info] [fluent bit] version=1.9.8, commit=97a5e9dcf3, pid=1
[2022/09/16 09:35:51] [ info] [storage] version=1.2.0, type=memory-only, sync=normal, checksum=disabled, max_chunks_up=128
[2022/09/16 09:35:51] [ info] [cmetrics] version=0.3.6
[2022/09/16 09:35:51] [ info] [filter:multiline:multiline.0] created emitter: emitter_for_multiline.0
[2022/09/16 09:35:51] [error] [multiline] parser 'ruby' not registered
[2022/09/16 09:35:51] [error] Failed initialize filter multiline.0
[2022/09/16 09:35:51] [error] [lib] backend failed
$ docker run --rm -it -v $PWD/fluent-bit.conf:/fluent-bit/etc/fluent-bit.conf:ro ghcr.io/fluent/fluent-bit/master:x86_64
Fluent Bit v2.0.0
* Copyright (C) 2015-2022 The Fluent Bit Authors
* Fluent Bit is a CNCF sub-project under the umbrella of Fluentd
* https://fluentbit.io
[2022/09/16 09:33:42] [ info] [fluent bit] version=2.0.0, commit=c3c5471c92, pid=1
[2022/09/16 09:33:42] [ info] [storage] version=1.3.0, type=memory-only, sync=normal, checksum=disabled, max_chunks_up=128
[2022/09/16 09:33:42] [ info] [cmetrics] version=0.4.0
[2022/09/16 09:33:42] [ info] [filter:multiline:multiline.0] created emitter: emitter_for_multiline.0
[2022/09/16 09:33:42] [error] [multiline] parser 'ruby' not registered
[2022/09/16 09:33:42] [error] [lib] backend failed |
This was referenced Sep 21, 2022
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Report
Describe the bug
Documentation shows built-in parser for
ruby
but this is not the case formultiline.parser
To Reproduce
ruby
fluent-bit/src/multiline/flb_ml_rule.c
Line 217 in 82d1819
Expected behavior
Similarly to
python
usingruby
gives multiline support out of the boxScreenshots
Your Environment
2.25.1
latest stable, which uses Fluent Bit1.9.3
Note: this is the first
FILTER
in the configuration.1.4.0
Additional context
We are trying to follow the documentation but run into failure with
ruby
. We cannot leverage the out of the box multiline filter as we can for other languages such aspython
.The text was updated successfully, but these errors were encountered: