# How to parse duplicated keys with different values

**URL:** https://discuss.elastic.co/t/how-to-parse-duplicated-keys-with-different-values/288994
**Category:** Logstash
**Created:** [November 11, 2021, 1:27pm UTC](https://discuss.elastic.co/t/how-to-parse-duplicated-keys-with-different-values/288994 "2021-11-11T13:27:40Z")
**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: [November 11, 2021, 4:33pm UTC](https://discuss.elastic.co/t/how-to-parse-duplicated-keys-with-different-values/288994/2 "2021-11-11T16:33:32Z")

</div>

Use a ruby filter. Something like [this](https://discuss.elastic.co/t/parsing-an-array-in-ruby/121254/2).

---

_[View the full topic](https://discuss.elastic.co/t/how-to-parse-duplicated-keys-with-different-values/288994)._
