Skip to content

Commit 1777ffe

Browse files
authored
Apply suggestions from code review
Signed-off-by: Naarcha-AWS <[email protected]>
1 parent 2d6551a commit 1777ffe

File tree

1 file changed

+1
-1
lines changed
  • _data-prepper/pipelines/configuration/processors

1 file changed

+1
-1
lines changed

_data-prepper/pipelines/configuration/processors/parse-xml.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ You can configure the `parse_xml` processor with the following options.
1616

1717
| Option | Required | Type | Description |
1818
| :--- | :--- | :--- | :--- |
19-
| `source` | No | String | The field in the `event` object that is parsed. Default value is `message`. |
19+
| `source` | No | String | Specifies which `event` field to parse. |
2020
| `destination` | No | String | The destination field of the parsed XML. Defaults to the root of the `event`. Cannot be `""`, `/`, or any white-space-only string because these are not valid `event` fields. |
2121
| `pointer` | No | String | A JSON pointer to the field to be parsed. The value is null by default, meaning that the entire `source` is parsed. The `pointer` can access JSON array indexes as well. If the JSON pointer is invalid, then the entire `source` data is parsed into the outgoing `event` object. If the key that is pointed to already exists in the `event` object and the `destination` is the root, then the pointer uses the entire path of the key. |
2222
| `parse_when` | No | String | Specifies under what conditions the processor should perform parsing. Default is no condition. Accepts a Data Prepper expression string following the [Data Prepper Expression Syntax]({{site.url}}{{site.baseurl}}/data-prepper/pipelines/expression-syntax/). |

0 commit comments

Comments
 (0)