# Kibana: Can it automatically adjust the dashboard time window to fit real-time data so I don't have to?

**URL:** <https://discuss.elastic.co/t/kibana-can-it-automatically-adjust-the-dashboard-time-window-to-fit-real-time-data-so-i-dont-have-to/288944>\
**Category:** Kibana\
**Created:** [November 11, 2021, 3:47am UTC](https://discuss.elastic.co/t/kibana-can-it-automatically-adjust-the-dashboard-time-window-to-fit-real-time-data-so-i-dont-have-to/288944 "2021-11-11T03:47:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![GPartenza](https://avatars.discourse-cdn.com/v4/letter/g/91b2a8/32.png) [@GPartenza](https://discuss.elastic.co/u/GPartenza)\
**Post date:** [November 11, 2021, 3:47am UTC](https://discuss.elastic.co/t/kibana-can-it-automatically-adjust-the-dashboard-time-window-to-fit-real-time-data-so-i-dont-have-to/288944/1 "2021-11-11T03:47:33Z")

</div>

Hi all,

I am using the Elastic Stack to visualize data in real time for video games. In my experience, Kibana works great for visualizing real time data, however, I have come across a strange use-case where I am having some trouble.

The game-data I am analyzing is timestamped in the past, and we have to keep it this way since users can speed up or slow down the game (if we timestamp data as it comes in, speeding up the game results in fake spikes in metrics).

So as of right now, when we want to see this data in real time, we literally have to set the time period to say 1 year ago, then use the curser to incrementally zoom in on the date that the game is occurring. Even still, when the data surpasses the right most timestamp on the chart, we have to repeat the process.

So my question is, is there a way for Kibana to auto adjust the dashboard time window to fit the data within the visuals as it comes in real time?

Thanks.

---

<div class="post-metadata">

**Author:** ![sebastien](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sebastien/32/36119_2.png) [@sebastien](https://discuss.elastic.co/u/sebastien)\
**Post date:** [November 11, 2021, 1:42pm UTC](https://discuss.elastic.co/t/kibana-can-it-automatically-adjust-the-dashboard-time-window-to-fit-real-time-data-so-i-dont-have-to/288944/2 "2021-11-11T13:42:37Z")

</div>

Hi @GPartenza

Can you help me understand this: "_speeding up the game results in fake spikes in metrics_"?

You will get more data coming in but what is the metric that would spike?

Thanks  
Sébastien

---

<div class="post-metadata">

**Author:** ![GPartenza](https://avatars.discourse-cdn.com/v4/letter/g/91b2a8/32.png) [@GPartenza](https://discuss.elastic.co/u/GPartenza)\
**Post date:** [November 12, 2021, 3:54am UTC](https://discuss.elastic.co/t/kibana-can-it-automatically-adjust-the-dashboard-time-window-to-fit-real-time-data-so-i-dont-have-to/288944/3 "2021-11-12T03:54:19Z")

</div>

For example, lets say you're ingesting data of a car driving in a game and want to monitor its fuel usage. Well, if you set the timestamp of the data to the time it comes into the dashboard, AND if you speed up the game from 1x to 15x, your fuel usage is going to rise but that's not actually an indication of the car having a higher fuel usage, its just a consequence of the way you are timestamping incoming data. This is why the data must be timestamped according to the game (which is often times years and years ago). This results in my use case -- real time data analysis with kibana for data that is incoming for historical dates.

---

<div class="post-metadata">

**Author:** ![sebastien](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sebastien/32/36119_2.png) [@sebastien](https://discuss.elastic.co/u/sebastien)\
**Post date:** [November 15, 2021, 9:28am UTC](https://discuss.elastic.co/t/kibana-can-it-automatically-adjust-the-dashboard-time-window-to-fit-real-time-data-so-i-dont-have-to/288944/4 "2021-11-15T09:28:49Z")

</div>

I see. And what if you send the speed of the game as a new field. Then you can calculate the real consumption by dividing the consumption by the speed of the game.

---

<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:** [December 13, 2021, 9:29am UTC](https://discuss.elastic.co/t/kibana-can-it-automatically-adjust-the-dashboard-time-window-to-fit-real-time-data-so-i-dont-have-to/288944/5 "2021-12-13T09:29:36Z")

</div>

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