# Xml tags logstah

**URL:** <https://discuss.elastic.co/t/xml-tags-logstah/165247>\
**Category:** Elasticsearch\
**Created:** [January 22, 2019, 2:06pm UTC](https://discuss.elastic.co/t/xml-tags-logstah/165247 "2019-01-22T14:06:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alaoui](https://avatars.discourse-cdn.com/v4/letter/a/4af34b/32.png) [@Alaoui](https://discuss.elastic.co/u/Alaoui)\
**Post date:** [January 22, 2019, 2:06pm UTC](https://discuss.elastic.co/t/xml-tags-logstah/165247/1 "2019-01-22T14:06:38Z")

</div>

hi ,  
it s normal to have your xml file in the same line like this :

```
<?xml version="1.0" encoding="UTF-8"?>
<tns:Invoicing xmlns:tns="xxxxxxx"><tns:FileNumber>20180919093512</tns:FileNumber><tns:FileDate>2018-09-19</tns:FileDate></tns:Invoicing>

```

because i alwayse have an error when i upload this file like that otherwise when i formt it to be like that :

```
<?xml version="1.0" encoding="UTF-8"?>
<tns:Invoicing xmlns:tns="xxxxxxx">
       <tns:FileNumber>20180919093512</tns:FileNumber>
       <tns:FileDate>2018-09-19</tns:FileDate>
</tns:Invoicing>

```

@balumurari1

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 19, 2019, 2:11pm UTC](https://discuss.elastic.co/t/xml-tags-logstah/165247/2 "2019-02-19T14:11:46Z")

</div>

Closed on February 19, 2019, 2:11pm UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
