# Logstash filter to remove a parent in a big array

**URL:** <https://discuss.elastic.co/t/logstash-filter-to-remove-a-parent-in-a-big-array/190289>\
**Category:** Logstash\
**Created:** [July 12, 2019, 6:31pm UTC](https://discuss.elastic.co/t/logstash-filter-to-remove-a-parent-in-a-big-array/190289 "2019-07-12T18:31:17Z")\
**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:** [July 12, 2019, 7:07pm UTC](https://discuss.elastic.co/t/logstash-filter-to-remove-a-parent-in-a-big-array/190289/2 "2019-07-12T19:07:03Z")

</div>

A ruby filter, like [this](https://discuss.elastic.co/t/how-to-dynamically-move-nested-key-value-to-root-level/180006/2).

---

_[View the full topic](https://discuss.elastic.co/t/logstash-filter-to-remove-a-parent-in-a-big-array/190289)._
