# Get contents of a array list of a document in aggregations

**URL:** <https://discuss.elastic.co/t/get-contents-of-a-array-list-of-a-document-in-aggregations/278674>\
**Category:** Elasticsearch\
**Created:** [July 14, 2021, 1:59pm UTC](https://discuss.elastic.co/t/get-contents-of-a-array-list-of-a-document-in-aggregations/278674 "2021-07-14T13:59:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Krishna\_Mohan\_K](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/krishna_mohan_k/32/81769_2.png) [@Krishna\_Mohan\_K](https://discuss.elastic.co/u/Krishna_Mohan_K)\
**Post date:** [July 14, 2021, 1:59pm UTC](https://discuss.elastic.co/t/get-contents-of-a-array-list-of-a-document-in-aggregations/278674/1 "2021-07-14T13:59:41Z")

</div>

Hi All,

I am new to ES. As a part of document we have dates, type and array objects. I have written an ES query with aggregations to date, type. I am trying to get list of array objects inside type aggregation.

Please suggest on how we can get list of objects inside aggregation function

Thank you

---

<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 11, 2021, 2:00pm UTC](https://discuss.elastic.co/t/get-contents-of-a-array-list-of-a-document-in-aggregations/278674/2 "2021-08-11T14:00:23Z")

</div>

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