# Split objects in a nested array into separate record

**URL:** <https://discuss.elastic.co/t/split-objects-in-a-nested-array-into-separate-record/250425>\
**Category:** Logstash\
**Created:** [September 29, 2020, 10:37pm UTC](https://discuss.elastic.co/t/split-objects-in-a-nested-array-into-separate-record/250425 "2020-09-29T22:37:35Z")\
**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:** [September 29, 2020, 11:08pm UTC](https://discuss.elastic.co/t/split-objects-in-a-nested-array-into-separate-record/250425/2 "2020-09-29T23:08:12Z")

</div>

Use a [split](https://www.elastic.co/guide/en/logstash/current/plugins-filters-split.html) filter.

If, post-split, you want to move the fields of availability to the top-level, use 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/split-objects-in-a-nested-array-into-separate-record/250425)._
