Extracts structured fields out of a single text field within a document Added in 6.1.0

GET /_ingest/processor/grok

You choose which field to extract matched fields from, as well as the grok pattern you expect will match. A grok pattern is like a regular expression that supports aliased expressions that can be reused.

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
    • patterns object Required
      Hide patterns attribute Show patterns attribute object
      • * string Additional properties
GET /_ingest/processor/grok
curl \
 -X GET http://api.example.com/_ingest/processor/grok