Skip to content

Rename

Rename event fields.

Transform json

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

A ✓ marks a field that accepts a context variable such as {{ VARIABLE }}.

Fields
Field Type Required Description
fields map (string) The array of fields and what they should be renamed to The existing names may be qualified like ‘a.b’.
General
Field Type Required Description
description string describe this step.
condition lua-expression (string) Only run this action if the specified condition is met.
Examples: 2 * count()
Warnings
Field Type Required Description
suppress-warnings boolean (bool) Suppress warnings generated by this action.
Default: false
From field To field
old_field new_field

Key format: field. Value format: field.