Skip to content

Xml

Xml (xml)

expand XML into JSON events.

Transform json

Minimal example

actions:
- xml: {}
JSON
{
"actions": [
{
"xml": {}
}
]
}

Contents

General

General
FieldTypeRequiredDescription
descriptionstringdescribe this step.
conditionlua-expression (string)Only run this action if the specified condition is met.
Examples: 2 * count()

Input

Input
FieldTypeRequiredDescription
input-fieldfield (string)Field containing XML payload to expand.
Examples: data_field

Output

Output
FieldTypeRequiredDescription
removeboolean (bool)Remove the input field after expansion.
Default: false
arraysstring[]List of fields in an xml payload to be expanded into separate events.

Warnings

Warnings
FieldTypeRequiredDescription
suppress-warningsboolean (bool)Suppress warnings generated by this action.
Default: false