I am trying to break one xml file into multiple event.
I use <PMSetup as pattern to splite
pattern => "<PMSetup"
How can I remove the beginning 2 lines (<?xml version="1.0"?>) and the last line?
or, how can I use multiple to splite message between <PMSetup and
It is interpreting the XML as HTML. You can either precede and follow the XML with lines containing three backticks (```) or else in the edit pane, select the XML and then click on </> in the toolbar above the pane, which will blockquote it.
Are you consuming the entire file as a single event?
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.