Striim 3.9.6 documentation

XML Parser

Parses XML. See Supported reader-parser combinations for compatible readers.

property

type

default value

notes

columnlist

java.lang.String

if left blank, all key-value pairs will be returned as part of the data array

rootnode

java.lang.String

separator

java.lang.String

optional

The output type of a source using XMLParser is WAEvent.

Example:

... PARSE USING XMLParser(
  rootnode:'/log4j:event',
  columnlist:'log4j:event/@timestamp,
    log4j:event/@level,
    log4j:event/log4j:message,
    log4j:event/log4j:throwable,
    log4j:event/log4j:locationInfo/@class,
    log4j:event/log4j:locationInfo/@method,
    log4j:event/log4j:locationInfo/@file,
    log4j:event/log4j:locationInfo/@line'
)...

See the discussion of Log4JSource in MultiLogApp for a detailed explanation.