WARNING: Version 5.2 of Elasticsearch has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
Rename Processor
editRename Processor
editRenames an existing field. If the field doesn’t exist or the new name is already used, an exception will be thrown.
Table 27. Rename Options
Name | Required | Default | Description |
---|---|---|---|
|
yes |
- |
The field to be renamed |
|
yes |
- |
The new name of the field |
|
no |
|
If |
{ "rename": { "field": "foo", "target_field": "foobar" } }