Closed as not planned
Description
Bug Report
I have a "classic mode" configuration a parser with these two lines:
Decode_Field_as escaped message try_next
Decode_Field_as json message
and I had a problem with converting this to YAML:
I tried to do this
decode_field_as:
- type: escaped
field: message
action: try_next
- type: json
field: message
and that
decode_field_as:
- escaped message try_next
- json message
also,
rules:
- backend: decode_field_as
type: escaped
field: message
action: try_next
- backend: decode_field_as
type: json
field: message
BUT, it turns out, working config in YAML look like as
decode_field_as: escaped message try_next
decode_field_as: json message
And this is incorrect formating in YAML and i can't use autogeneration YAML, every tools when parsing lose one of the parameters.
Please, make it more correct everywhere.
- Version used: 3.2.2