# Logstash 7.1 not indexing an array of objects

**URL:** https://discuss.elastic.co/t/logstash-7-1-not-indexing-an-array-of-objects/190586
**Category:** Logstash
**Created:** [July 15, 2019, 4:54pm UTC](https://discuss.elastic.co/t/logstash-7-1-not-indexing-an-array-of-objects/190586 "2019-07-15T16:54:46Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![az123](https://avatars.discourse-cdn.com/v4/letter/a/a87d85/32.png) [@az123](https://discuss.elastic.co/u/az123)
#### Post date: [July 15, 2019, 4:54pm UTC](https://discuss.elastic.co/t/logstash-7-1-not-indexing-an-array-of-objects/190586/1 "2019-07-15T16:54:46Z")

</div>

Hi,

I am receiving nested json objects into an array in logstash. Logstash does not index fields within the array (I see unindexed fields cannot be searched message on kibana). How can I change the object mapping from an array of objects to nested objects?

jsonmessage.data\_json is the array of objects in my case.

---

<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: [August 12, 2019, 4:54pm UTC](https://discuss.elastic.co/t/logstash-7-1-not-indexing-an-array-of-objects/190586/2 "2019-08-12T16:54:47Z")

</div>

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