Logfmt
Last updated
Was this helpful?
Last updated
Was this helpful?
The logfmt parser allows to parse the logfmt format described in . A more formal description is in .
Here is an example configuration:
The following log entry is a valid content for the parser defined above:
After processing, it internal representation will be:
If you want to be more strict than the logfmt standard and not parse lines where some attributes do not have values (such as key3
) in the example above, you can configure the parser as follows: