Rename
Rename (rename)
Rename event fields.
Transform json
Minimal example
actions: - rename: fields: {}JSON
{ "actions": [ { "rename": { "fields": {} } } ]}Contents
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’. |
description General | string | describe this step. | |
condition General | lua-expression (string) | Only run this action if the specified condition is met. Examples: 2 * count() | |
suppress-warnings Warnings | boolean (bool) | Suppress warnings generated by this action. |
General
Show fields
| 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
Show fields
| Field | Type | Required | Description |
|---|---|---|---|
suppress-warnings | boolean (bool) | Suppress warnings generated by this action. |
Schema
Fields Table
| From field | To field |
|---|---|
old_field | new_field |
Key format: field. Value format: field.