# Aggregate values of multi-value fields from one document?

**URL:** <https://discuss.elastic.co/t/aggregate-values-of-multi-value-fields-from-one-document/309549>\
**Category:** Kibana\
**Created:** [July 13, 2022, 3:50pm UTC](https://discuss.elastic.co/t/aggregate-values-of-multi-value-fields-from-one-document/309549 "2022-07-13T15:50:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Muhammed\_Ashique](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/muhammed_ashique/32/98686_2.png) [@Muhammed\_Ashique](https://discuss.elastic.co/u/Muhammed_Ashique)\
**Post date:** [July 13, 2022, 3:50pm UTC](https://discuss.elastic.co/t/aggregate-values-of-multi-value-fields-from-one-document/309549/1 "2022-07-13T15:50:36Z")

</div>

I am parsing a json object into elasticsearch. one object is consist of nested json and this have multiple value. This field is provid

 ![Response_Fileds](https://us1.discourse-cdn.com/elastic/original/3X/0/2/02b33aafcd0e3e507a8e05d373e52b3c24596cad.png)  
 ![Response_ID](https://us1.discourse-cdn.com/elastic/original/3X/f/3/f3038aee5d479aeb557598320fe6c870b6271e9c.png)  
ing multiple values like below. (also attached screenshot. How can i aggregate multi value fileld from one document ?

---

<div class="post-metadata">

**Author:** ![LeeDr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leedr/32/9289_2.png) [@LeeDr](https://discuss.elastic.co/u/LeeDr)\
**Post date:** [July 15, 2022, 2:43pm UTC](https://discuss.elastic.co/t/aggregate-values-of-multi-value-fields-from-one-document/309549/2 "2022-07-15T14:43:51Z")

</div>

Hi Muhammed,

I think you're going to have to provide more information for us to be able to help you. I can't tell what your original json object looks like or what all those fields represent.

Regards,  
Lee

---

<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, 2022, 2:44pm UTC](https://discuss.elastic.co/t/aggregate-values-of-multi-value-fields-from-one-document/309549/3 "2022-08-12T14:44:27Z")

</div>

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