# Missing Field in Aggregation

**URL:** <https://discuss.elastic.co/t/missing-field-in-aggregation/69884>\
**Category:** Elasticsearch\
**Created:** [December 23, 2016, 8:12am UTC](https://discuss.elastic.co/t/missing-field-in-aggregation/69884 "2016-12-23T08:12:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vann](https://avatars.discourse-cdn.com/v4/letter/v/eada6e/32.png) [@vann](https://discuss.elastic.co/u/vann)\
**Post date:** [December 23, 2016, 8:12am UTC](https://discuss.elastic.co/t/missing-field-in-aggregation/69884/1 "2016-12-23T08:12:04Z")

</div>

Hi,

I am doing some aggregation based on ES. I am doing a nested aggregations, yet some fields are missing.  
For example:  
Aggregate ["Type"] \> aggregate ["description"]  
I got 3 types, and each type has up to 5 kinds of descriptions, and description might be repeating.

Example:  
Type | Description | Count  
A |description1 | 7  
A | description2 | 3  
A |description3 |2  
B | description1 | 10  
C| description 3 |2

While one of the description supposed to appear in Description for type B is not appearing in the returned result.

The difference of that description is that the field contains multiple lines, and that field is a pretty long string.

I have tried to use Kibana Data Table Visualization, Python, dev\_tools to return the result, and all result are failed to return that description as well.

I am thinking why is it happening? beucause it's multiple line or too lengthy?

Thank you for answering.

I have tried on ES5.1.1 & ES 2.4

Thank you so much.

---

<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:** [January 20, 2017, 8:12am UTC](https://discuss.elastic.co/t/missing-field-in-aggregation/69884/2 "2017-01-20T08:12:05Z")

</div>

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