# Flatting nested array in Json

**URL:** <https://discuss.elastic.co/t/flatting-nested-array-in-json/233066>\
**Category:** Logstash\
**Created:** [May 18, 2020, 8:50am UTC](https://discuss.elastic.co/t/flatting-nested-array-in-json/233066 "2020-05-18T08:50:25Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [May 18, 2020, 3:32pm UTC](https://discuss.elastic.co/t/flatting-nested-array-in-json/233066/4 "2020-05-18T15:32:27Z")

</div>

You would need to use a ruby filter. [This](https://discuss.elastic.co/t/indent-any-json-file-nested-fields-and-make-it-flat/194447/2) might help you get started. You will need to add array handling.

---

_[View the full topic](https://discuss.elastic.co/t/flatting-nested-array-in-json/233066)._
