IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.

Remove Processor

edit

Removes existing fields. If one field doesn’t exist, an exception will be thrown.

Table 27. Remove Options

Name Required Default Description

field

yes

-

Fields to be removed

Here is an example to remove a single field:

{
  "remove": {
    "field": "foo"
  }
}

To remove multiple fields, you can use the following query:

{
  "remove": {
    "field": ["foo", "bar"]
  }
}