# Date Histogram aggregation

**URL:** https://discuss.elastic.co/t/date-histogram-aggregation/311238
**Category:** Kibana
**Created:** [August 2, 2022, 6:39pm UTC](https://discuss.elastic.co/t/date-histogram-aggregation/311238 "2022-08-02T18:39:52Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Amphagory](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/amphagory/32/46127_2.png) [@Amphagory](https://discuss.elastic.co/u/Amphagory)
#### Post date: [August 2, 2022, 6:39pm UTC](https://discuss.elastic.co/t/date-histogram-aggregation/311238/1 "2022-08-02T18:39:52Z")

</div>

Hello,

I am using Kibana version 8.2.3 where I’m using Lens to create a table.

I’m using the Date Histogram aggregation on the timestamp with a customize time interval of 1 hour.

For some reason, the table is not creating buckets of 1 hour intervals, but 3 for hour intervals.

Is this a limitation of the visual or am I doing something wrong?

![](https://mail.google.com/mail/u/0?ui=2&ik=dd025c4156&attid=0.1&permmsgid=msg-f:1740075261877305953&th=1825fd3b3aa44261&view=fimg&fur=ip&sz=s0-l75-ft&attbid=ANGjdJ-i3uiIk5uNqLD0V1BUKACFdps1Dna28DdPlH48QVhlyn9CG7pXiVIuXFkKgfW8PZ2cMrUx-rUAhWvbkC5SMheLf--mcXvAalWXfQWl2IJQamo4-OlgOCU-kaQ&disp=emb)

Thoughts?

---

<div class="post-metadata">

### Author: ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)
#### Post date: [August 3, 2022, 7:30am UTC](https://discuss.elastic.co/t/date-histogram-aggregation/311238/2 "2022-08-03T07:30:29Z")

</div>

The amount of buckets in a date histogram is limited to 100 buckets by default. You can change this in Stack management \> Advanced settings. Search for "Maximum buckets" (histogram:maxBars)

---

<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: [August 31, 2022, 7:31am UTC](https://discuss.elastic.co/t/date-histogram-aggregation/311238/3 "2022-08-31T07:31:22Z")

</div>

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