Not able to parse custom logs having multi line xml

Use Filebeat multiline. See this thread Input Json file

Its about JSON but the same pitfalls apply to XML.