# Timelion: Error: Max buckets exceeded: 10080 of 2000 allowed. Choose a larger interval or a shorter time span

**URL:** https://discuss.elastic.co/t/timelion-error-max-buckets-exceeded-10080-of-2000-allowed-choose-a-larger-interval-or-a-shorter-time-span/112502
**Category:** Kibana
**Tags:** timelion
**Created:** [December 19, 2017, 8:32pm UTC](https://discuss.elastic.co/t/timelion-error-max-buckets-exceeded-10080-of-2000-allowed-choose-a-larger-interval-or-a-shorter-time-span/112502 "2017-12-19T20:32:28Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![alexus](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alexus/32/12696_2.png) [@alexus](https://discuss.elastic.co/u/alexus)
#### Post date: [December 19, 2017, 8:32pm UTC](https://discuss.elastic.co/t/timelion-error-max-buckets-exceeded-10080-of-2000-allowed-choose-a-larger-interval-or-a-shorter-time-span/112502/1 "2017-12-19T20:32:28Z")

</div>

My Elastic Stack environment:

```
# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 7.4 (Maipo)
# rpm -q elasticsearch kibana metricbeat
elasticsearch-6.1.0-1.noarch
kibana-6.1.0-1.x86_64
metricbeat-6.1.0-1.x86_64
# 

```

I open `[Metricbeat MySQL] Overview` Dashboard and as soon as I change `Time Range` to be anything over `Last 24 hours`, I get red error line on top of my Kibana with following message:

> Timelion: Error: Max buckets exceeded: 10080 of 2000 allowed. Choose a larger interval or a shorter time span

Please advise.

---

<div class="post-metadata">

### Author: ![alexus](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alexus/32/12696_2.png) [@alexus](https://discuss.elastic.co/u/alexus)
#### Post date: [December 19, 2017, 8:39pm UTC](https://discuss.elastic.co/t/timelion-error-max-buckets-exceeded-10080-of-2000-allowed-choose-a-larger-interval-or-a-shorter-time-span/112502/2 "2017-12-19T20:39:37Z")

</div>

I've found following in `Kibana` -\> `Management` -\> `Advanced Settings` -\> `timelion:max_buckets` (default 200) and I increased it to `20000`, Dashboard seems to be working now.

---

<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: [January 16, 2018, 8:39pm UTC](https://discuss.elastic.co/t/timelion-error-max-buckets-exceeded-10080-of-2000-allowed-choose-a-larger-interval-or-a-shorter-time-span/112502/3 "2018-01-16T20:39:39Z")

</div>

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