Skip to content

Expand Events

expand a single JSON document into multiple JSON events.

Transform json

actions:
- expand-events:
skip-list: []
JSON
{
"actions": [
{
"expand-events": {
"skip-list": []
}
}
]
}

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

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()
Input
Field Type Required Description
input-field field (string) Field containing the payload to expand.
Examples: data_field
Output
Field Type Required Description
remove boolean (bool) Remove the source field after expansion.
Default: false
output-split-field field (string) Field used to emit each expanded record.
Examples: data_field
skip-list regex[] (string) JSON Pointer patterns (regex) to skip flattening when event-expand.
Examples: \d+[A-Z]*
exclude-non-empty-arrays boolean (bool) Exclude all arrays that are not empty after expansion.
Default: false
Warnings
Field Type Required Description
suppress-warnings boolean (bool) Suppress warnings generated by this action.
Default: false