Skip to content

XML

XML (xml)

expand XML into JSON events.

Transform json

Minimal example

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

Contents

Fields

FieldTypeRequiredDescription
description Generalstringdescribe this step.
condition Generallua-expression (string)Only run this action if the specified condition is met.
Examples: 2 * count()
suppress-warnings Warningsboolean (bool)Suppress warnings generated by this action.
input-field Inputfield (string)Field containing XML payload to expand.
Examples: data_field
remove Outputboolean (bool)Remove the input field after expansion.
arrays Outputstring[]List of fields in an xml payload to be expanded into separate events.

General

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

Warnings

Show fields
FieldTypeRequiredDescription
suppress-warningsboolean (bool)Suppress warnings generated by this action.

Input

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

Output

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