opensearch-docs-cn/_data-prepper/pipelines/configuration/processors/add-entries.md

1.1 KiB

layout title parent grand_parent nav_order
default add_entries Processors Pipelines 45

add_entries

Overview

The add_entries processor adds an entry to the event and is a mutate event processor. The following table describes the options you can use to configure the add_entries processor.

Option Required Type Description
entries Yes List List of events to be added. Valid entries are key, value, and overwrite_if_key_exists.
key N/A N/A Key of the new event to be added.
value N/A N/A Value of the new entry to be added. Valid data types are strings, booleans, numbers, null, nested objects, and arrays containing the aforementioned data types.
overwrite_if_key_exists No Boolean If true, the existing value is overwritten if the key already exists within the event. Default value is false.