# Terms Bucket Aggregation count per Year

**URL:** <https://discuss.elastic.co/t/terms-bucket-aggregation-count-per-year/284487>\
**Category:** Elasticsearch\
**Created:** [September 17, 2021, 1:44pm UTC](https://discuss.elastic.co/t/terms-bucket-aggregation-count-per-year/284487 "2021-09-17T13:44:38Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Manisekhar\_techo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/manisekhar_techo/32/78185_2.png) [@Manisekhar\_techo](https://discuss.elastic.co/u/Manisekhar_techo)\
**Post date:** [September 20, 2021, 7:34am UTC](https://discuss.elastic.co/t/terms-bucket-aggregation-count-per-year/284487/3 "2021-09-20T07:34:49Z")

</div>

Thank you Petr Degtiarev,

sorry for not being descriptive. I posted the same question again in this thread  
[https://discuss.elastic.co/t/date-histogram-for-bucket-aggregation/284592](https://discuss.elastic.co/t/date-histogram-for-bucket-aggregation/284592)

funnily posted the answer as a question again. Maybe I've done something wrong when hitting the cluster. after seeing your answer only then I went back and tried my answer/question again, this time it works.

Thank you so much for your help.

---

_[View the full topic](https://discuss.elastic.co/t/terms-bucket-aggregation-count-per-year/284487)._
