# APM-Server convert XML to JSON

**URL:** <https://discuss.elastic.co/t/apm-server-convert-xml-to-json/180956>\
**Category:** APM\
**Tags:** java, server\
**Created:** [May 14, 2019, 8:50am UTC](https://discuss.elastic.co/t/apm-server-convert-xml-to-json/180956 "2019-05-14T08:50:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gruselglatz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gruselglatz/32/42675_2.png) [@gruselglatz](https://discuss.elastic.co/u/gruselglatz)\
**Post date:** [May 14, 2019, 8:50am UTC](https://discuss.elastic.co/t/apm-server-convert-xml-to-json/180956/1 "2019-05-14T08:50:45Z")

</div>

My Java-Agent captures XML in http Bodies and I want to analyze/search it. Can I use something like the logstash xml-filter on APM-Server events? Or do I have to go through logstash, or can I use a Ingest node for that?

---

<div class="post-metadata">

**Author:** ![gil](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gil/32/41911_2.png) [@gil](https://discuss.elastic.co/u/gil)\
**Post date:** [May 17, 2019, 2:53am UTC](https://discuss.elastic.co/t/apm-server-convert-xml-to-json/180956/2 "2019-05-17T02:53:17Z")

</div>

Hi @gruselglatz. I believe you're on the right path with the [logstash xml filter plugin](https://www.elastic.co/guide/en/logstash/current/plugins-filters-xml.html). I'm not aware of an ingest node processor with that capability - you may wish to follow up with a new feature request by creating an issue in the [elasticsearch github repo](https://github.com/elastic/elasticsearch/issues/new).

---

<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:** [June 6, 2019, 10:53pm UTC](https://discuss.elastic.co/t/apm-server-convert-xml-to-json/180956/3 "2019-06-06T22:53:19Z")

</div>

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