Skip to content
This repository was archived by the owner on May 17, 2019. It is now read-only.
This repository was archived by the owner on May 17, 2019. It is now read-only.

multiline parser example for java logs matches wrong part with brackets #636

@alexlehm

Description

@alexlehm

When the log message contains square brackets, the multiple parser example for java logs matches too much into the thread field, this should be like this:

format1 /^(?<time>\d{4}-\d{1,2}-\d{1,2} \d{1,2}:\d{1,2}:\d{1,2}) \[(?<thread>[^\]]*)\] (?<level>[^\s]+)(?<message>.*)/

the thread pattern should not allow a close square bracket

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions