Remove
Remove (remove)
Section titled “Remove (remove)”Remove fields from an event.
Transform json
Minimal example
Section titled “Minimal example”actions: - remove: fields: []JSON
{ "actions": [ { "remove": { "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 |
string[] |
✅ | The list of fields that should be removed if present May contain a wildcard ‘’ at the end (like ‘flag’). |
remove-on-regex-mismatch ✓ |
boolean (bool) |
Controls how regex-fields behaves: * false (default) → delete the fields whose names match any regex. * true → delete the fields whose names do not match any regex. If no regex matches at all, every top-level field is removed. This is useful when upstream systems must never see unexpected keys.Default: false |
|
regex-fields |
regex[] (string) |
An array of regular expression used to match field names. Examples: \d+[A-Z]* |
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 |