What the Grok!? - A Python script to convert grok epxressions to regex

Posted on Wed 17 August 2016 in Regex • Tagged with regex, grok, python, haproxy • 3 min read

I found myself needing to parse an HAProxy log file but was too lazy to write a proper regular expression by hand. I knew that Grok had HAProxy expressions so I wrote a tool to pull out the raw regular expression.


Continue reading