Yes i found a way. Now using below config file i am able to get them as a new message.
input {
file {
path => "/opt/Log/WebPage10/RUN*/*_XML_WebpageSummary.xml"
start_position => "beginning"
}
}
filter {
if [message] =~ "^<?xml .*" {
drop {}
}
multiline {
pattern => "^</response>"
negate => true
what => "next"
}
Now I am struggling with "Time_FV" & "Time_RV" array fields. Each new message contains these two fields. I have to find the length of array(message which has this array field of maximum length) to split respective field. Any help?
Thanks!
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.