# Calculating percentage in elasticsearch

**URL:** <https://discuss.elastic.co/t/calculating-percentage-in-elasticsearch/40780>\
**Category:** Elasticsearch\
**Created:** [February 2, 2016, 6:47pm UTC](https://discuss.elastic.co/t/calculating-percentage-in-elasticsearch/40780 "2016-02-02T18:47:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![furqan](https://avatars.discourse-cdn.com/v4/letter/f/4491bb/32.png) [@furqan](https://discuss.elastic.co/u/furqan)\
**Post date:** [February 2, 2016, 6:47pm UTC](https://discuss.elastic.co/t/calculating-percentage-in-elasticsearch/40780/1 "2016-02-02T18:47:57Z")

</div>

i am using bucket script for calculating percentage in Elasticsearch but i am unable to do so.  
I am getting could not find aggregator type bucket\_script

---

<div class="post-metadata">

**Author:** ![costin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/costin/32/44950_2.png) [@costin](https://discuss.elastic.co/u/costin)\
**Post date:** [February 21, 2016, 5:31pm UTC](https://discuss.elastic.co/t/calculating-percentage-in-elasticsearch/40780/2 "2016-02-21T17:31:02Z")

</div>

Moved post from ES-Hadoop to Elasticsearch forum.

---

<div class="post-metadata">

**Author:** ![Farhan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/farhan/32/8851_2.png) [@Farhan](https://discuss.elastic.co/u/Farhan)\
**Post date:** [April 2, 2016, 8:11am UTC](https://discuss.elastic.co/t/calculating-percentage-in-elasticsearch/40780/3 "2016-04-02T08:11:32Z")

</div>

Hey Furqan. Were you able to resolve this issue of percentage ?

---

<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 5, 2017, 11:03pm UTC](https://discuss.elastic.co/t/calculating-percentage-in-elasticsearch/40780/4 "2017-07-05T23:03:01Z")

</div>


