# Kibana - minimum time interval

**URL:** <https://discuss.elastic.co/t/kibana-minimum-time-interval/369009>\
**Category:** Kibana\
**Created:** [October 17, 2024, 2:51pm UTC](https://discuss.elastic.co/t/kibana-minimum-time-interval/369009 "2024-10-17T14:51:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![elasticforme](https://avatars.discourse-cdn.com/v4/letter/e/f05b48/32.png) [@elasticforme](https://discuss.elastic.co/u/elasticforme)\
**Post date:** [October 17, 2024, 2:51pm UTC](https://discuss.elastic.co/t/kibana-minimum-time-interval/369009/1 "2024-10-17T14:51:07Z")

</div>

How do I setup lens to do fixed time interval aggregation?  
when I do 15 min minimum interval it work for short timeframe like 24 hour window but when I select larger window it goes back to auto. is there way we can fixed this value

![image](https://us1.discourse-cdn.com/elastic/original/3X/b/6/b6e8ebab03a861c7f551e7fbf147ac53e291ddd5.png)

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [October 18, 2024, 5:09am UTC](https://discuss.elastic.co/t/kibana-minimum-time-interval/369009/2 "2024-10-18T05:09:37Z")

</div>

Hi @elasticforme

No not in Lens... because if you do too big a time frame, the the date histogram wil create too many buckets and the query and viz will timeout / fail etc.

You CAN set the exact value in TSDB BUT it will then fail if you ask for too big of a time frame.

What are you trying to solve?

Fixed at 15 min what happens if someone asks for 1 year of data?

---

<div class="post-metadata">

**Author:** ![elasticforme](https://avatars.discourse-cdn.com/v4/letter/e/f05b48/32.png) [@elasticforme](https://discuss.elastic.co/u/elasticforme)\
**Post date:** [October 21, 2024, 5:18pm UTC](https://discuss.elastic.co/t/kibana-minimum-time-interval/369009/3 "2024-10-21T17:18:45Z")

</div>

not that much. I am just trying to see two week data but it does not work. I have found workaround by using TSVB which keeps interval
