# Parse xml content to elasticsearch

**URL:** <https://discuss.elastic.co/t/parse-xml-content-to-elasticsearch/81954>\
**Category:** Elasticsearch\
**Created:** [April 11, 2017, 10:17am UTC](https://discuss.elastic.co/t/parse-xml-content-to-elasticsearch/81954 "2017-04-11T10:17:19Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![nellicus](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nellicus/32/51566_2.png) [@nellicus](https://discuss.elastic.co/u/nellicus)\
**Post date:** [April 11, 2017, 10:31am UTC](https://discuss.elastic.co/t/parse-xml-content-to-elasticsearch/81954/4 "2017-04-11T10:31:21Z")

</div>

you need to pass _well formed_ xml to multiline and wrap into a single event in a field, e.g.message then pass that to the xml filter, see this [Parsing multiline logs : line + xml](https://discuss.elastic.co/t/parsing-multiline-logs-line-xml/38417)

---

_[View the full topic](https://discuss.elastic.co/t/parse-xml-content-to-elasticsearch/81954)._
