rename_keys
Overview
The rename_keys
processor renames keys in an event and is a mutate event processor. The following table describes the options you can use to configure the rename_keys
processor.
Option | Required | Type | Description |
---|---|---|---|
entries | Yes | List | List of entries. Valid values are from_key , to_key , and overwrite_if_key_exists . Renaming occurs in the order defined. |
from_key | N/A | N/A | The key of the entry to be renamed. |
to_key | N/A | N/A | The new key of the entry. |
overwrite_if_to_key_exists | No | Boolean | If true, the existing value gets overwritten if to_key already exists in the event. |
当前内容版权归 OpenSearch 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 OpenSearch .