xml

xml #

CategoryScope
Parsingrecord

The “xml” pipeline processor: XML → map conversion (Graylog’s xml_to_json). Attributes are preserved under “_"-prefixed keys; repeated elements collapse to slices.

Configuration #

FieldTypeDefaultDescription
sourcestringSource field to read from.
target_fieldstringDestination field to write the result to.
ignore_failureboolDo not fail the record when processing errors; the record passes through unchanged.

Example #

processor:
  - xml:
      source: "message"
      target_field: "parsed"
      ignore_failure: true
Edit Edit this page