Xml
Xml (xml)
Section titled “Xml (xml)”expand XML into JSON events.
Transform json
Minimal example
Section titled “Minimal example”actions: - xml: {}JSON
{ "actions": [ { "xml": {} } ]}Contents
Section titled “Contents”A ✓ marks a field that accepts a context variable such as
{{ VARIABLE }}.
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() |
Input
| Field | Type | Required | Description |
|---|---|---|---|
input-field |
field (string) |
Field containing XML payload to expand. Examples: data_field |
Output
Section titled “Output”Output
| Field | Type | Required | Description |
|---|---|---|---|
remove ✓ |
boolean (bool) |
Remove the input field after expansion. Default: false |
|
arrays |
string[] |
List of fields in an xml payload to be expanded into separate events. |
Warnings
Section titled “Warnings”Warnings
| Field | Type | Required | Description |
|---|---|---|---|
suppress-warnings ✓ |
boolean (bool) |
Suppress warnings generated by this action. Default: false |