Grok Constructor

Automatic grok discovery

This was my first attempt to support creating grok expressions. It generates potentially all regular expressions that consist of fixed strings for things that are not alphanumeric and grok patterns from the library, and match all of a given set of logfile lines. If there are several patterns from the grok library that match the same strings in every log line they are grouped together and presented as a drop down list. Unfortunately, the number of possible regular expressions grows exponentially with the length of the lines, such that this is not really usable in practice. Thus, the result list is cut off at 200 results. YMMV.

Please enter some loglines for which you want generate possible grok patterns and then press

You can also just try this out with a

random example
At most 200 possible grok regex combinations that match all lines