Skip to content

Rename

Rename (rename)

Rename event fields.

Transform json

Minimal example

actions:
- rename:
fields: {}
JSON
{
"actions": [
{
"rename": {
"fields": {}
}
}
]
}

Contents

Fields

Fields
FieldTypeRequiredDescription
fieldsmap (string)The array of fields and what they should be renamed to The existing names may be qualified like ‘a.b’.

General

General
FieldTypeRequiredDescription
descriptionstringdescribe this step.
conditionlua-expression (string)Only run this action if the specified condition is met.
Examples: 2 * count()

Warnings

Warnings
FieldTypeRequiredDescription
suppress-warningsboolean (bool)Suppress warnings generated by this action.
Default: false

Schema

Fields Table

From fieldTo field
old_fieldnew_field

Key format: field. Value format: field.