Skip to content

document multiline parsing by docker parser #10212

@amfleurke

Description

@amfleurke

Bug Report

Describe the bug
I'm running applications in k8s, that log e.g. java stacktraces on multiple lines.
The documentation says you can use the tail parser with 'multiline.parser' set to 'docker'.
But what does the 'docker' parser do with regards to multi lines? What does it consider a multi-line log?

when searching on the internet, I see other people adding an additional 'multiline' filter. But the manual says:

If you wish to concatenate messages read from a log file, it is highly recommended to use the multiline support in the Tail plugin itself. This is because performing concatenation while reading the log file is more performant. Concatenating messages originally split by Docker or CRI container engines, is supported in the Tail plugin.

So to me this seems like adding filters is not the way to go.

Expected behavior
Clear instructions how to set up multi-line parsing in combination with the docker parser and/or
clear description on what lines the docker parser can join, and when to use multiline filters instead and/or
clear description of the difference between docker/cri multiline capabilities and other multiline parsers/filters

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions