pygrok icon indicating copy to clipboard operation
pygrok copied to clipboard

_regex_core.error when using grok patterns

Open agutierrezl opened this issue 9 years ago • 3 comments

I'm having an issue when I use pygrok for processing an aws elb log. I'm using pygrok 0.7.4 and regex (2015.11.22). This is the error:

match_obj = re.search(py_regex_pattern, text)
  File "build/bdist.linux-x86_64/egg/regex.py", line 265, in search
  File "build/bdist.linux-x86_64/egg/regex.py", line 490, in _compile
_regex_core.error: bad fuzzy constraint at position 1554

I think this maybe related with issue #5

agutierrezl avatar Dec 30 '15 13:12 agutierrezl

I also experience this issue, have you ever solved this?

webratz avatar Dec 07 '16 09:12 webratz

Hi, @agutierrezl , @webratz , please paste your pattern and text here.

garyelephant avatar Dec 08 '16 03:12 garyelephant

I found out that i used an old local fork of pygrok, after updating to the latest one it worked.

webratz avatar Dec 08 '16 08:12 webratz