# XML output from elastic

**URL:** <https://discuss.elastic.co/t/xml-output-from-elastic/122451>\
**Category:** Elasticsearch\
**Created:** [March 5, 2018, 7:48am UTC](https://discuss.elastic.co/t/xml-output-from-elastic/122451 "2018-03-05T07:48:19Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![rpc29y](https://avatars.discourse-cdn.com/v4/letter/r/3e96dc/32.png) [@rpc29y](https://discuss.elastic.co/u/rpc29y)\
**Post date:** [March 5, 2018, 7:48am UTC](https://discuss.elastic.co/t/xml-output-from-elastic/122451/1 "2018-03-05T07:48:19Z")

</div>

Hello:  
I wanted to ask if it is possible with elastic 5.6 to generate xml as an output format.  
For me it is much faster to deal with the XML response in java.

Thank you.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [March 5, 2018, 8:03am UTC](https://discuss.elastic.co/t/xml-output-from-elastic/122451/2 "2018-03-05T08:03:48Z")

</div>

No it's not.

Have a look at Jackson framework which is handy to read JSon.

---

<div class="post-metadata">

**Author:** ![rpc29y](https://avatars.discourse-cdn.com/v4/letter/r/3e96dc/32.png) [@rpc29y](https://discuss.elastic.co/u/rpc29y)\
**Post date:** [March 5, 2018, 5:43pm UTC](https://discuss.elastic.co/t/xml-output-from-elastic/122451/3 "2018-03-05T17:43:17Z")

</div>

Hello:  
I've seen that Elastic has so many output plugins that I thought it would exist for XML.

Thank you.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [March 6, 2018, 1:41am UTC](https://discuss.elastic.co/t/xml-output-from-elastic/122451/4 "2018-03-06T01:41:18Z")

</div>

Logstash has output plugins, not elasticsearch.

If you meant to ask in #logstash group, then please move your question there.

---

<div class="post-metadata">

**Author:** ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)\
**Post date:** [March 6, 2018, 4:30pm UTC](https://discuss.elastic.co/t/xml-output-from-elastic/122451/5 "2018-03-06T16:30:15Z")

</div>

There was a third-party plugin at one point for XML:

> **[jprante/elasticsearch-xml](https://github.com/jprante/elasticsearch-xml)**
>
> elasticsearch-xml - XML interface for Elasticsearch REST

The plugin is old and will not work as is with recent versions of  
Elasticsearch. Perhaps you can inspect the code and re-do the plugin  
yourself, or take parts of it and implement in the client side.

---

<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:** [April 3, 2018, 4:31pm UTC](https://discuss.elastic.co/t/xml-output-from-elastic/122451/6 "2018-04-03T16:31:04Z")

</div>

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