This version of the OpenSearch documentation is no longer maintained. For the latest version, see the current documentation. For information about OpenSearch version maintenance, see Release Schedule and Maintenance Policy.
copy_values
Overview
The copy_values
processor copies values within an event and is a mutate event processor. The following table describes the options you can use to configure the copy_values
processor.
Option | Required | Type | Description |
---|---|---|---|
entries | Yes | List | The list of entries to be copied. Valid values are from_key , to_key , and overwrite_if_key_exists . |
from_key | N/A | N/A | The key of the entry to be copied. |
to_key | N/A | N/A | The key of the new entry to be added. |
overwrite_if_to_key_exists | No | Boolean | If true, the existing value is overwritten if the key already exists within the event. Default value is false . |