# Kibana Visualization - Bucket Ideal Size Query

**URL:** <https://discuss.elastic.co/t/kibana-visualization-bucket-ideal-size-query/172246>\
**Category:** Kibana\
**Created:** [March 14, 2019, 5:19am UTC](https://discuss.elastic.co/t/kibana-visualization-bucket-ideal-size-query/172246 "2019-03-14T05:19:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashish1490](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ashish1490/32/46890_2.png) [@ashish1490](https://discuss.elastic.co/u/ashish1490)\
**Post date:** [March 14, 2019, 5:19am UTC](https://discuss.elastic.co/t/kibana-visualization-bucket-ideal-size-query/172246/1 "2019-03-14T05:19:51Z")

</div>

The server crashes when we request data. The time-range is very less. Not more than 7 days.

But when checked, the bucket size was set like 29 or more and there are aggregations. And there are multiple visualizations like this in the dashboard.

What do you think an ideal bucket size should be and why? What all should you consider while defining bucket size at time of designing the dashboards?

---

<div class="post-metadata">

**Author:** ![joshdover](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joshdover/32/42020_2.png) [@joshdover](https://discuss.elastic.co/u/joshdover)\
**Post date:** [March 14, 2019, 4:57pm UTC](https://discuss.elastic.co/t/kibana-visualization-bucket-ideal-size-query/172246/2 "2019-03-14T16:57:18Z")

</div>

29 buckets is not an abnormally large amount and Kibana should be able to handle this. In fact, if you do a simple line chart with a Date Histogram as your x-axis, you will get many many more buckets than that.

How exactly is the server (Kibana or Elasticsearch?) crashing? Are there any logs to indicate it's running out of memory or something else?

---

<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:** [April 11, 2019, 4:57pm UTC](https://discuss.elastic.co/t/kibana-visualization-bucket-ideal-size-query/172246/3 "2019-04-11T16:57:27Z")

</div>

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