# Remove objects in arrays

**URL:** <https://discuss.elastic.co/t/remove-objects-in-arrays/154870>\
**Category:** Logstash\
**Created:** [October 31, 2018, 2:54pm UTC](https://discuss.elastic.co/t/remove-objects-in-arrays/154870 "2018-10-31T14:54:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shiv94](https://avatars.discourse-cdn.com/v4/letter/s/bc8723/32.png) [@shiv94](https://discuss.elastic.co/u/shiv94)\
**Post date:** [October 31, 2018, 2:54pm UTC](https://discuss.elastic.co/t/remove-objects-in-arrays/154870/1 "2018-10-31T14:54:50Z")

</div>

Hello, using json filter in logstash and trying to remove the field device.vendor and also split the field of similar kind

I tried to do remove\_field =\> "[device][vendor][0]" but it did not work. how do I remove or split these type of fields?

---

<div class="post-metadata">

**Author:** ![shiv94](https://avatars.discourse-cdn.com/v4/letter/s/bc8723/32.png) [@shiv94](https://discuss.elastic.co/u/shiv94)\
**Post date:** [October 31, 2018, 6:22pm UTC](https://discuss.elastic.co/t/remove-objects-in-arrays/154870/2 "2018-10-31T18:22:13Z")

</div>

found solution  
Thanks

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 28, 2018, 6:22pm UTC](https://discuss.elastic.co/t/remove-objects-in-arrays/154870/3 "2018-11-28T18:22:25Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
