# Kibiana time range and interval is confusing

**URL:** https://discuss.elastic.co/t/kibiana-time-range-and-interval-is-confusing/215598
**Category:** Kibana
**Created:** [January 19, 2020, 5:38am UTC](https://discuss.elastic.co/t/kibiana-time-range-and-interval-is-confusing/215598 "2020-01-19T05:38:49Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![\_App](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/_app/32/59857_2.png) [@\_App](https://discuss.elastic.co/u/_App)
#### Post date: [January 19, 2020, 5:38am UTC](https://discuss.elastic.co/t/kibiana-time-range-and-interval-is-confusing/215598/1 "2020-01-19T05:38:49Z")

</div>

![Screen Shot 2020-01-19 at 2.34.26 PM](https://us1.discourse-cdn.com/elastic/original/3X/7/2/723e1f000d196fc01f46553184f71384e8df0655.png)  
first, I set time range to 2month ago to 2020-1-19 (which is now)

However the graph start at 2019-10-31 (why?) and the last datapoint in the graph is 2019-12-21 (why?)

How can I see the data for 28 days from the 28 days ago, and 28\*2 days ago?

---

<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: [January 21, 2020, 1:02pm UTC](https://discuss.elastic.co/t/kibiana-time-range-and-interval-is-confusing/215598/2 "2020-01-21T13:02:13Z")

</div>

Hi,

The "Interval" field is not there to specify the total range of the data you want to see, it's the size of one bucket on the x axis - e.g. if you set it to `1d`, your chart will have one data point per day. It's best left to `auto` which will pick a reasonable value based on the time range automatically.

---

<div class="post-metadata">

### Author: ![\_App](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/_app/32/59857_2.png) [@\_App](https://discuss.elastic.co/u/_App)
#### Post date: [January 29, 2020, 8:39am UTC](https://discuss.elastic.co/t/kibiana-time-range-and-interval-is-confusing/215598/3 "2020-01-29T08:39:11Z")

</div>

Thanks for the answer

If I want to see monthly data such as MAU, for three months, I would pick "time range" to 3 month and "period" for 1month, that's what I'm doing here

And kibana fails to show me past 3 month ☹

---

<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: [January 30, 2020, 9:07am UTC](https://discuss.elastic.co/t/kibiana-time-range-and-interval-is-confusing/215598/4 "2020-01-30T09:07:17Z")

</div>

Hi, I see, this is confusing.

That's roughly what's happening here:

1. When you pick "2 Months" ago, it will subtract two calendar months from now - in the case of your screenshot this is 2019-11-17
2. It will now try to position 28d buckets nicely in that time range. But they don't fit because they are 61 days in that time frame.
3. Elasticsearch will try to distribute the buckets nicely and this is what it comes up with

The data point tooltip always marks the start of the bucket, so the data till the current day is still included in this last data point even though the x axis doesn't expand that far.

If you are looking at data produced each calendar month, you should use `1M` as interval, then you will get the buckets you expect (2019-11-01, 2019-12-01 and 2020-01-01 till current day).

---

<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: [February 27, 2020, 9:07am UTC](https://discuss.elastic.co/t/kibiana-time-range-and-interval-is-confusing/215598/5 "2020-02-27T09:07:18Z")

</div>

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