I have a log file where I am printing request and response XML bodies. This log file also has some additional lines that are not XML. Example below --
===========================================
<request>
<data>
abc
</data>
</request>
some random lines concerning the processing of request..
fha;js;fkgak;gj;kj;a
jgahkg;gaj;
Now response follows
<response>
<output>
def
</output>
</response>
===================================================
How to use use filebeat multiline feature to parse such a data and have each XML as a single event to be sent to logstash?