Skip to content

It needs to be able to do a multiline regex match or force a match of all the patterns #79

@manoflinux

Description

@manoflinux

It needs to be able to do a multiline regex match or force a match of all the patterns.
Because that way it would have much more precise matching, I tried making two patterns and requiring two matches, which does work, but will also react if instead of having both patterns it has one of them twice.
If I could do a multiline regex match or require all regex patterns of the same level(ie two critical patterns or two warning patterns) to be included to react.
Example if I had two or more critical patterns, lets say aaa and bbb, and you added an additional parameter I assume to tell it to match all then when I had aaa twice in the log output instead of aaa and bbb it would not react, but if it had aaa and bbb, then check_logfiles would react.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions