pygrok
pygrok copied to clipboard
_regex_core.error when using grok patterns
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
I also experience this issue, have you ever solved this?
Hi, @agutierrezl , @webratz , please paste your pattern
and text
here.
I found out that i used an old local fork of pygrok, after updating to the latest one it worked.