WARNING: Version 6.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.
Set Processor
editSet Processor
editSets one field and associates it with the specified value. If the field already exists, its value will be replaced with the provided one.
Table 30. Set Options
Name | Required | Default | Description |
---|---|---|---|
|
yes |
- |
The field to insert, upsert, or update |
|
yes |
- |
The value to be set for the field |
|
no |
true |
If processor will update fields with pre-existing non-null-valued field. When set to |
{ "set": { "field": "field1", "value": 582.1 } }