diff --git a/versioned_docs/version-v1.12.0/language/functions/grok.md b/versioned_docs/version-v1.12.0/language/functions/grok.md index 5a688856..88552737 100644 --- a/versioned_docs/version-v1.12.0/language/functions/grok.md +++ b/versioned_docs/version-v1.12.0/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. diff --git a/versioned_docs/version-v1.13.0/language/functions/grok.md b/versioned_docs/version-v1.13.0/language/functions/grok.md index 5a688856..88552737 100644 --- a/versioned_docs/version-v1.13.0/language/functions/grok.md +++ b/versioned_docs/version-v1.13.0/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.