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
Describe the bug
When I config 'logfmt' parser to parse the input content, such as: key1="" key2 key3="this is value", it will parse key1 as same as key2, a boolean value "true". For the expected 'logfmt' behaviour, key1 should be an empty string instead of a boolen value.
To Reproduce
Rubular link if applicable:
Example log message if applicable:
key1="" key2 key3=123 key4="this is a text"
Steps to reproduce the problem:
just use the hello_world example
config parser as 'logfmt'
add a lua filter to handle the input parser's result
the data (messagepack) pass to filter, key1 is stored as a boolean value.
Expected behavior
'logfmt' should support to parse an empty string.
Screenshots
Your Environment
Version used: 1.3.2
Configuration:
Environment name and version (e.g. Kubernetes? What version?):
Server type and version:
Operating System and version: Ubuntu 18.04.3
Filters and plugins: Lua filter and 'logfmt' parser plugin
Additional context
The text was updated successfully, but these errors were encountered:
Bug Report
Describe the bug
When I config 'logfmt' parser to parse the input content, such as: key1="" key2 key3="this is value", it will parse key1 as same as key2, a boolean value "true". For the expected 'logfmt' behaviour, key1 should be an empty string instead of a boolen value.
To Reproduce
Expected behavior
'logfmt' should support to parse an empty string.
Screenshots
Your Environment
Additional context
The text was updated successfully, but these errors were encountered: