# Heatmap Visualisation does not show zero for empty aggregation

**URL:** <https://discuss.elastic.co/t/heatmap-visualisation-does-not-show-zero-for-empty-aggregation/177443>\
**Category:** Kibana\
**Created:** [April 18, 2019, 10:24am UTC](https://discuss.elastic.co/t/heatmap-visualisation-does-not-show-zero-for-empty-aggregation/177443 "2019-04-18T10:24:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![CalvinHobbes](https://avatars.discourse-cdn.com/v4/letter/c/e8c25b/32.png) [@CalvinHobbes](https://discuss.elastic.co/u/CalvinHobbes)\
**Post date:** [April 18, 2019, 10:24am UTC](https://discuss.elastic.co/t/heatmap-visualisation-does-not-show-zero-for-empty-aggregation/177443/1 "2019-04-18T10:24:18Z")

</div>

I'm building a heatmap using the Metric aggregation "Count". Sub-buckets are added: one for Date Histogram (with 1s interval) and another for Terms (hostname).

I have added {"min\_doc\_count":0} for the JSON input of the Terms sub-bucke(hostname), but I am still seeing some empty buckets.

I am trying to understand why not all the empty buckets are not being assigned the value of "0"...

---

<div class="post-metadata">

**Author:** ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)\
**Post date:** [April 25, 2019, 1:57am UTC](https://discuss.elastic.co/t/heatmap-visualisation-does-not-show-zero-for-empty-aggregation/177443/2 "2019-04-25T01:57:23Z")

</div>

I just tried this in my local and I am wondering at what exactly you want to see?  
I am seeing the empty buckets. But the zero is not getting displayed on the tooltip.

 ![32%20PM](https://us1.discourse-cdn.com/elastic/original/3X/5/b/5b3019640c538cdc61f3c7cf497a5e2354203547.png)

Is that what you would like to see?

Thanks,  
Bhavya

---

<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:** [May 23, 2019, 1:57am UTC](https://discuss.elastic.co/t/heatmap-visualisation-does-not-show-zero-for-empty-aggregation/177443/3 "2019-05-23T01:57:37Z")

</div>

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