anchor.diff:  [[grok-processor-rest-get]]
   ==== Retrieving patterns from REST endpoint
   
  -The Grok Processor comes packaged with its own REST endpoint for retrieving which patterns the processor is packaged with.
  +The Grok processor comes packaged with its own REST endpoint for retrieving the patterns included with the processor.
   
   [source,console]
   --------------------------------------------------
  
positive.code: | `field`                | yes       | -                   | The field to use for grok expression parsing
  | `patterns`             | yes       | -                   | An ordered list of grok expression to match and extract named captures with. Returns on the first expression in the list that matches.
  | `pattern_definitions`  | no        | -                   | A map of pattern-name and pattern tuples defining custom patterns to be used by the current processor. Patterns matching existing names will override the pre-existing definition.
  | `trace_match`          | no        | false               | when true, `_ingest._grok_match_index` will be inserted into your matched document's metadata with the index into the pattern found in `patterns` that matched.
  | `ignore_missing`       | no        | false               | If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document
  include::common-options.asciidoc[]
  
negative.code: }
  --------------------------------------------------
  // NOTCONSOLE
  
  By default, the API returns a list of legacy Grok patterns. These legacy
  patterns predate the {ecs-ref}/ecs-field-reference.html[Elastic Common Schema
  (ECS)] and don't use ECS field names. To return patterns that extract ECS field
  names, specify `v1` in the optional `ecs_compatibility` query parameter.
  
  [source,console]
  ----
  GET _ingest/processor/grok?ecs_compatibility=v1
  ----
  
  By default, the API returns patterns in the order they are read from disk. This
  sort order preserves groupings of related patterns. For example, all patterns
  