Logstash xml plugin not working

If the XML is spread across multiple lines you would need to use a multiline codec to combine all the lines in one XML document into a single event. See this for an example.