The logs in json format are not correctly parsed

The logging operator configures fluent-bit with acri parser that stores the log part in the message field.
On the other hand, the fluent-bit is also configured with a kubernetes field with Merge_Log On parameter. The purpose of this parameter is to append the map fields of the log field when this field is a JSON document.
A custom cri parser storing the log message in the log field instead of the message field has the effect of providing in grafana/loki messages correctly parsed with information in dedicated fields instead of a raw and unreadable json document full of escaped " characters:

With the default cri parser:
image

With custom cri parser:
image

Assignee Loading
Time tracking Loading