How to avoid single line events in filebeat multiline configuration

Hi

I've a simple xml file which has this format



Here, i succeded in extracting events at the object level using multiline. But, along with it for each line of the xml file where it finds a "\n" it also fires a single line event.

Can we get rid of the single line event being fired ?

What is the format of the file and what is the multiline configuration you are using?