grok
Type: Function · Category: parsers
Parse a string using a Grok expression.
This is most useful for parsing syslog style logs (e.g. IIS, Apache logs).
You can read more about GROK expressions here https://www.elastic.co/blog/do-you-grok-grok
| Argument | Type | Description |
|---|---|---|
grok |
string (required) | Grok pattern. |
data |
string (required) | String to parse. |
patterns |
Any | Additional patterns. |
all_captures |
bool | Extract all captures. |
Platforms: macOS, Linux, Windows