XML
XML (xml)
expand XML into JSON events.
Transform json
Minimal example
actions: - xml: {}JSON
{ "actions": [ { "xml": {} } ]}Contents
Fields
| Field | Type | Required | Description |
|---|---|---|---|
description General | string | describe this step. | |
condition General | lua-expression (string) | Only run this action if the specified condition is met. Examples: 2 * count() | |
suppress-warnings Warnings | boolean (bool) | Suppress warnings generated by this action. | |
input-field Input | field (string) | Field containing XML payload to expand. Examples: data_field | |
remove Output | boolean (bool) | Remove the input field after expansion. | |
arrays Output | string[] | List of fields in an xml payload to be expanded into separate events. |
General
Show fields
| 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
Show fields
| Field | Type | Required | Description |
|---|---|---|---|
suppress-warnings | boolean (bool) | Suppress warnings generated by this action. |
Input
Show fields
| Field | Type | Required | Description |
|---|---|---|---|
input-field | field (string) | Field containing XML payload to expand. Examples: data_field |
Output
Show fields
| Field | Type | Required | Description |
|---|---|---|---|
remove | boolean (bool) | Remove the input field after expansion. | |
arrays | string[] | List of fields in an xml payload to be expanded into separate events. |