Skip to content

Add failing test for Postfix patterns #67

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

Closed

Conversation

joschi
Copy link
Contributor

@joschi joschi commented Jul 3, 2017

@retoo
Copy link
Contributor

retoo commented Jul 28, 2017

@joschi you were missing some rules and GROK didn't abort correctly. In case of non named groups it would just have rendered a regexp with 'null' as pattern. (Which is nonsense).

You can fix your case by adding grok.addPatternFromFile("patterns/patterns"); or by manually defining something for the key 'INT'.

My PR #69 improves the error messages in these cases.

@joschi
Copy link
Contributor Author

joschi commented Jul 28, 2017

@retoo Great, thanks for finding this!

@joschi
Copy link
Contributor Author

joschi commented Aug 4, 2017

Fixed by #69.

@joschi joschi closed this Aug 4, 2017
@joschi joschi deleted the deep-recursion-postfix-patterns branch August 4, 2017 07:13
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.

2 participants