# Terms\_stats mode not returning results - generating Elasticsearch error

**URL:** <https://discuss.elastic.co/t/terms-stats-mode-not-returning-results-generating-elasticsearch-error/19965>\
**Category:** Elasticsearch\
**Created:** [September 25, 2014, 2:43pm UTC](https://discuss.elastic.co/t/terms-stats-mode-not-returning-results-generating-elasticsearch-error/19965 "2014-09-25T14:43:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ben\_Collier](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ben_collier/32/1257_2.png) [@Ben\_Collier](https://discuss.elastic.co/u/Ben_Collier)\
**Post date:** [September 25, 2014, 2:43pm UTC](https://discuss.elastic.co/t/terms-stats-mode-not-returning-results-generating-elasticsearch-error/19965/1 "2014-09-25T14:43:00Z")

</div>

Hi,

We're using Kibana here for the first time and want to aggregate stats by  
adding up a total ("SizeMB") for each user ("DisplayName").

When we set the value field as "SizeMB" and the field as "Display Name",  
ElasticSearch throws a Parse Failure.

Can anyone get this to work, or are we likely to be doing something  
fundamentally wrong / stupid?

Thanks,

Ben

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/a5cf8cb6-a64b-45d9-94c9-619cdc9b3f1f%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/a5cf8cb6-a64b-45d9-94c9-619cdc9b3f1f%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [July 6, 2017, 12:59am UTC](https://discuss.elastic.co/t/terms-stats-mode-not-returning-results-generating-elasticsearch-error/19965/2 "2017-07-06T00:59:57Z")

</div>


