# Uploading an xml file into logstash

**URL:** <https://discuss.elastic.co/t/uploading-an-xml-file-into-logstash/165016>\
**Category:** Logstash\
**Created:** [January 21, 2019, 9:25am UTC](https://discuss.elastic.co/t/uploading-an-xml-file-into-logstash/165016 "2019-01-21T09:25:30Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![balumurari1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/balumurari1/32/39203_2.png) [@balumurari1](https://discuss.elastic.co/u/balumurari1)\
**Post date:** [January 21, 2019, 10:11am UTC](https://discuss.elastic.co/t/uploading-an-xml-file-into-logstash/165016/4 "2019-01-21T10:11:46Z")

</div>

you need to use **xpath** to split the xml to get proper output as shown in the example ([Unable to load xml file in logstash](https://discuss.elastic.co/t/unable-to-load-xml-file-in-logstash/151318/5)) previously

---

_[View the full topic](https://discuss.elastic.co/t/uploading-an-xml-file-into-logstash/165016)._
