input {
file {
path => "/opt/Log/*.xml"
type => "test"
}
}
filter {
if [message] =~ "^<?xml .*" {
drop {}
}
multiline {
pattern => "^</response>"
negate => true
what => "next"
}
xml {
source => "message"
target => "data"
}
}
output {
stdout {}
}
I tried with above config. But No luck. Am I still missing anything.