Hi jbandautrgv,
The easiest way to get the fields extracted on an xml is to use KV_MODE = xml in your props.conf
If you are determined to use props / transforms... i believe this works:
props:
[directaccess:connections]
NO_BINARY_CHECK = 1
TIME_FORMAT = %a %b %d %H:%M:%S %T %Y
pulldown_type = 1
REPORT-xmlkv = xmlkv-alternative
REPORT-xmlkv2 = xmlkv-alternative2
transforms:
[xmlkv-alternative]
REGEX = <([^\s\>]*)[^\>]*\>([^<]*)\<\/\1\>
FORMAT = $1::$2
[xmlkv-alternative2]
REGEX = <Data\sName='([^']+)'>([^<]+)<\/Data>
FORMAT = $1::$2
This adds a second extraction that matches the Data Name bits
Hope this helps
... View more