Skip to content

Fix failures when multiple patterns are specified and break_on_match is False #194

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

redbaron4
Copy link

In the case where multiple match patterns were specified and break_on_match was false, Grok would mark eent as failed if last pattern did not match (even if any other pattern did). This PR fixes that problem and also adds tests for the same.

Closes #49

Thanks for contributing to Logstash! If you haven't already signed our CLA, here's a handy link: https://www.elastic.co/contributor-agreement/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

grok applies tag_on_failure if last pattern doesn't match
1 participant