Grok Constructor

Incremental Construction of Grok Patterns

You can provide a number of log file lines and step by step construct a grok pattern that matches all of these lines. In each step you select or input a pattern that matches the next logical segment of the log line. This can either be a fixed string (e.g. a separator), a (possibly named) pattern from the grok pattern library, or a pattern you explicitly specify. You can also apply a multiline filter first.

In the form below, please enter some loglines for which you want to create a grok pattern, mark the pattern libraries you want to draw your patterns from and then press

You can also just fill this with a

random example.