Rename
Rename (rename)
Section titled “Rename (rename)”Rename event fields.
Transform json
Minimal example
Section titled “Minimal example”actions: - rename: fields: {}JSON
{ "actions": [ { "rename": { "fields": {} } } ]}Contents
Section titled “Contents”A ✓ marks a field that accepts a context variable such as
{{ VARIABLE }}.
Fields
Section titled “Fields”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
Section titled “General”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
Section titled “Warnings”Warnings
| Field | Type | Required | Description |
|---|---|---|---|
suppress-warnings ✓ |
boolean (bool) |
Suppress warnings generated by this action. Default: false |
Schema
Section titled “Schema”Fields Table
Section titled “Fields Table”| From field | To field |
|---|---|
old_field |
new_field |
Key format: field. Value format: field.