Closed vijaykumar219 closed 1 year ago
Hello @vijaykumar219, Your config looks good, but the reason why you are getting this error is due to the missing comments in your multiline parser
it looks like this:
[MULTILINE_PARSER]
name multiline-regex-test
type regex
flush_timeout 1000
rules | state name | regex pattern | next state name
--------|----------------|--------------------------------------------------
rule "start_state" "/(([\d-]+ [\d:,]+))(.)/" "cont"
rule "cont" "/^\s+at./" "cont"
But should be
name multiline-regex-test
type regex
flush_timeout 1000
# rules | state name | regex pattern | next state name
#--------|----------------|------------------------|--------------------------
rule "start_state" "/(([\d-]+ [\d:,]+))(.)/" "cont"
rule "cont" "/^\s+at./" "cont"
These two lines are not needed; they were only added to simplify the definition of rules Rules Definition
rules | state name | regex pattern | next state name
--------|----------------|--------------------------------------------------
Please let us know if, after commenting or removing these lines, the multiline parser works for you.
Regards, Ricardo
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days. Maintainers can add the exempt-stale
label.
This issue was closed because it has been stalled for 5 days with no activity.
Bug Report
Describe the bug Hi I need to configure multiline parsing for my k8s env application. "Multiline could not load" error getting
Fluent Bit v2.0.6
[2022/12/14 04:34:02] [error] [lib] backend failed [2022/12/14 04:34:02] [ info] [fluent bit] version=2.0.6, commit=211f841fe2, pid=1 [2022/12/14 04:34:02] [ info] [storage] ver=1.3.0, type=memory, sync=normal, checksum=off, max_chunks_up=128 [2022/12/14 04:34:02] [ info] [cmetrics] version=0.5.7 [2022/12/14 04:34:02] [ info] [ctraces ] version=0.2.5 [2022/12/14 04:34:02] [ info] [input:tail:tail.0] initializing [2022/12/14 04:34:02] [ info] [input:tail:tail.0] storage_strategy='memory' (memory only) [2022/12/14 04:34:02] [error] [multiline] parser 'multiline-regex-test' not registered [2022/12/14 04:34:02] [error] [input:tail:tail.0] could not load multiline parsers [2022/12/14 04:34:02] [error] failed initialize input tail.0 [2022/12/14 04:34:02] [error] [engine] input initialization failed
To Reproduce
Example log message if applicable: