I am extracting array tags from xml . the defined xpath doesn't capture.
Config file:
input {
stdin {
type => "02Jan2018122417_180102_3R_3dd37a7cf4a843a6dc90e56822b31fe6_Swissotel-Desktop_WebpageSummary.xml"
codec => multiline {
pattern => "|"
negate => true
what => "previous"
max_lines => "5000"
max_bytes => "100 MB"
}
}
}
filter {
if [message] =~ "^<\?xml .*" {
drop {}
}
xml {
source => "message"
target => "xml_content"
force_content => "true"
store_xml => false
xpath => ["/response/data/run/firstView/videoFrames/frame[*]/time/text()","Time_FV"]
xpath => ["/response/data/run/firstView/videoFrames/frame[*]/image/text()","Image_FV"]
xpath => ["/response/data/run/firstView/videoFrames/frame[*]/VisuallyComplete/text()","Progress_FV"]
}
}
output {
stdout { codec => rubydebug }
}
Any idea whats wrong here?