Skip to content

Rename

Rename (rename)

Rename event fields.

Transform json

Minimal example

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

Contents

Fields

FieldTypeRequiredDescription
fieldsmap (string)✅The array of fields and what they should be renamed to The existing names may be qualified like ‘a.b’.
description Generalstringdescribe this step.
condition Generallua-expression (string)Only run this action if the specified condition is met.
Examples: 2 * count()
suppress-warnings Warningsboolean (bool)Suppress warnings generated by this action.

General

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

Warnings

Show fields
FieldTypeRequiredDescription
suppress-warningsboolean (bool)Suppress warnings generated by this action.

Schema

Fields Table

From fieldTo field
old_fieldnew_field

Key format: field. Value format: field.