# Parsing nested XML with logstash

**URL:** https://discuss.elastic.co/t/parsing-nested-xml-with-logstash/202530
**Category:** Logstash
**Created:** [October 7, 2019, 12:37pm UTC](https://discuss.elastic.co/t/parsing-nested-xml-with-logstash/202530 "2019-10-07T12:37:54Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)
#### Post date: [October 7, 2019, 1:21pm UTC](https://discuss.elastic.co/t/parsing-nested-xml-with-logstash/202530/2 "2019-10-07T13:21:51Z")

</div>

You would need to use a ruby filter. Something like [this](https://discuss.elastic.co/t/solved-split-filter-question-a-k-a-flatten-json-sub-array/130481/12).

---

_[View the full topic](https://discuss.elastic.co/t/parsing-nested-xml-with-logstash/202530)._
