# Total aggregations

**URL:** <https://discuss.elastic.co/t/total-aggregations/200143>\
**Category:** Elasticsearch\
**Created:** [September 19, 2019, 8:00am UTC](https://discuss.elastic.co/t/total-aggregations/200143 "2019-09-19T08:00:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![heather-lau](https://avatars.discourse-cdn.com/v4/letter/h/e9bcb4/32.png) [@heather-lau](https://discuss.elastic.co/u/heather-lau)\
**Post date:** [September 19, 2019, 8:00am UTC](https://discuss.elastic.co/t/total-aggregations/200143/1 "2019-09-19T08:00:28Z")

</div>

How can I get total aggregations without set the size to 1000000 and get the length of buckets?  
please help.

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [September 19, 2019, 1:37pm UTC](https://discuss.elastic.co/t/total-aggregations/200143/2 "2019-09-19T13:37:03Z")

</div>

See the [composite aggregation](https://www.elastic.co/guide/en/elasticsearch/reference/7.3/search-aggregations-bucket-composite-aggregation.html)

---

<div class="post-metadata">

**Author:** ![heather-lau](https://avatars.discourse-cdn.com/v4/letter/h/e9bcb4/32.png) [@heather-lau](https://discuss.elastic.co/u/heather-lau)\
**Post date:** [September 23, 2019, 3:56am UTC](https://discuss.elastic.co/t/total-aggregations/200143/3 "2019-09-23T03:56:29Z")

</div>

Thanks

---

<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:** [October 21, 2019, 3:56am UTC](https://discuss.elastic.co/t/total-aggregations/200143/4 "2019-10-21T03:56:40Z")

</div>

Closed on October 21, 2019, 3:56am UTC

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