WARNING: Version 5.1 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
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Rename Processor
editRenames an existing field. If the field doesn’t exist or the new name is already used, an exception will be thrown.
Table 26. 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" } }
Was this helpful?
Thank you for your feedback.