diff --git a/docs/language/functions/grok.md b/docs/language/functions/grok.md index 5a68885621..8855273748 100644 --- a/docs/language/functions/grok.md +++ b/docs/language/functions/grok.md @@ -13,7 +13,7 @@ grok(p: string, s: string, definitions: string) -> any The _grok_ function parses a string `s` using grok pattern `p` and returns a record containing the parsed fields. The syntax for pattern `p` -is `{%pattern:field_name}` where _pattern_ is the name of the pattern +is `%{pattern:field_name}` where _pattern_ is the name of the pattern to match in `s` and _field_name_ is the resultant field name of the capture value.