Add
Add (add)
Add fields to the event.
Transform json
Minimal example
actions: - add: output-fields: {}JSON
{ "actions": [ { "add": { "output-fields": {} } } ]}Contents
Fields
| Field | Type | Required | Description |
|---|---|---|---|
output-fields | map (object) | ✅ | Add these output fields (may be arbitrary values). |
description General | string | describe this step. | |
condition General | lua-expression (string) | Only run this action if the specified condition is met. Examples: 2 * count() | |
overwrite | boolean (bool) | Override existing fields. |
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() |