# How to parase xml in logstash

**URL:** https://discuss.elastic.co/t/how-to-parase-xml-in-logstash/285214
**Category:** Logstash
**Created:** [September 27, 2021, 9:46am UTC](https://discuss.elastic.co/t/how-to-parase-xml-in-logstash/285214 "2021-09-27T09:46:01Z")
**Posts on this page:** 1
**Showing post:** 17

<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: [September 29, 2021, 1:58pm UTC](https://discuss.elastic.co/t/how-to-parase-xml-in-logstash/285214/17 "2021-09-29T13:58:39Z")

</div>

> [@INS](#):
>
> these two rows for split data. It should be only one ..? correct?

No, the first split filter splits the event into 11 events, one for each measInfo element. The second splits those into several, or even hundreds, of separate events, one for each measData element.

---

_[View the full topic](https://discuss.elastic.co/t/how-to-parase-xml-in-logstash/285214)._
