# Logstash unable to parse xml file

**URL:** <https://discuss.elastic.co/t/logstash-unable-to-parse-xml-file/153372>\
**Category:** Logstash\
**Created:** [October 22, 2018, 10:20am UTC](https://discuss.elastic.co/t/logstash-unable-to-parse-xml-file/153372 "2018-10-22T10:20:32Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [October 22, 2018, 12:38pm UTC](https://discuss.elastic.co/t/logstash-unable-to-parse-xml-file/153372/2 "2018-10-22T12:38:23Z")

</div>

check this,

> [@Unable to load xml file in logstash](https://discuss.elastic.co/t/unable-to-load-xml-file-in-logstash/151318):
>
> Hello, can you please provide a sample example to upload xml file using logstash. I have tried a lot but unable to upload an xml file in logstash in windows machine. Waiting for the response. Ex: My XML file is as follows, --stations-- --station-- --id--Value1--/id-- --name\>Value2--/name-- --/station-- --/stations-- My conf file is as follows, input { file { path =\> "C:\Users\LENOVO\Downloads\stations.xml" start\_position =\> "beginning" #sincedb\_path =\> "/dev/null" exclude =\> "\*.…

hope this help you

---

_[View the full topic](https://discuss.elastic.co/t/logstash-unable-to-parse-xml-file/153372)._
