opensearch-docs-cn/_data-prepper/pipelines/configuration/processors/copy-values.md

917 B

layout title parent grand_parent nav_order
default copy_values Processors Pipelines 45

copy_values

Overview

Copy values within an event. copy_values is part of mutate event processors.

Option Required Type Description
entries Yes List 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 is false.