Skip to content

[Question]: How to use minimal matching message in task-parser? #232

Description

@zhymin77

Contact Details

haveused@163.com

What would you like to ask or discuss?

When I add a new ACTION named 'lineageMsgTooLargeException' in rules.json, which heads='^(?\d{2,4}.\d{2}.\d{2}\D+\d{2}:\d{2}:\d{2}).+ERROR.+$', middles='^.+di.lineage.org.apache.kafka.common.errors.RecordTooLargeException: The message is (?\d+) bytes.*$' and tails='^(?\d{2,4}.\d{2}.\d{2}\D+\d{2}:\d{2}:\d{2}).+$'. Then I matched one message startWith first ERROR line and endWith the 'di.lineage.org.apache.kafka.common.errors.RecordTooLargeException: The message is ' line in a driver log, regardless of the matched message contains multiple ERROR lines, which caused the message is too large. I think, from last ERROR line to the 'di.lineage.org.apache.kafka.common.errors.RecordTooLargeException: The message is' line is the best match.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Fields

    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