Ingest xml file using Logstash

Use

xml { source => "message" store_xml => true target => "theXML" }

If you then need to move all the fields to the top level use a ruby filter, like this.