WARNING: Version 5.5 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.
Append Processor
editAppend Processor
editAppends one or more values to an existing array if the field already exists and it is an array. Converts a scalar to an array and appends one or more values to it if the field exists and it is a scalar. Creates an array containing the provided values if the field doesn’t exist. Accepts a single value or an array of values.
Table 14. Append Options
Name | Required | Default | Description |
---|---|---|---|
|
yes |
- |
The field to be appended to |
|
yes |
- |
The value to be appended |
{ "append": { "field": "field1", "value": ["item2", "item3", "item4"] } }