# To get XML formatt

**URL:** <https://discuss.elastic.co/t/to-get-xml-formatt/129804>\
**Category:** Kibana\
**Created:** [April 27, 2018, 9:53am UTC](https://discuss.elastic.co/t/to-get-xml-formatt/129804 "2018-04-27T09:53:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gangireddy\_l](https://avatars.discourse-cdn.com/v4/letter/g/c89c15/32.png) [@gangireddy\_l](https://discuss.elastic.co/u/gangireddy_l)\
**Post date:** [April 27, 2018, 9:53am UTC](https://discuss.elastic.co/t/to-get-xml-formatt/129804/1 "2018-04-27T09:53:37Z")

</div>

HI,

Iam using ELk with filebeat for centralized logs.Our logs are in xml format that comes in one line as shown below.  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/3/a3b323978745ef3818f2e26f78e2845f8aed3c13.png)

AND I NEED TO GET LOGS AS SHOWN BELOW..HOW TO SOLVE IT...?

![image](https://us1.discourse-cdn.com/elastic/original/3X/f/2/f2f470a338295c6413f4210ad4268d3ffa3b3e3e.png)

---

<div class="post-metadata">

**Author:** ![timroes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timroes/32/19712_2.png) [@timroes](https://discuss.elastic.co/u/timroes)\
**Post date:** [April 27, 2018, 9:59am UTC](https://discuss.elastic.co/t/to-get-xml-formatt/129804/2 "2018-04-27T09:59:04Z")

</div>

This really depends on how you index your data. This is nothing ES or Kibana would do for you. You would need to use any XML beautifier tool of your choice and format the log line appropriate before indexing it into Elasticsearch.

---

<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:** [May 25, 2018, 9:59am UTC](https://discuss.elastic.co/t/to-get-xml-formatt/129804/3 "2018-05-25T09:59:05Z")

</div>

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