# Time Range in Dashboards not working

**URL:** https://discuss.elastic.co/t/time-range-in-dashboards-not-working/186915
**Category:** Kibana
**Created:** [June 21, 2019, 4:59pm UTC](https://discuss.elastic.co/t/time-range-in-dashboards-not-working/186915 "2019-06-21T16:59:18Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Facundo\_Chambo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/facundo_chambo/32/48550_2.png) [@Facundo\_Chambo](https://discuss.elastic.co/u/Facundo_Chambo)
#### Post date: [June 21, 2019, 4:59pm UTC](https://discuss.elastic.co/t/time-range-in-dashboards-not-working/186915/1 "2019-06-21T16:59:18Z")

</div>

Hi,

I'm using Metricbeat to save info into an index in ElasticSearch v6.7. The name of the index is classifier.

Then, I built a Visualization in Kibana using that index to show the number of requests for a service.

Then, I added that visualization into a Dashboard.

The problem is that if I change the Time Range in the top-right corner the number in the visualization does not change. It always shows the total number of requests in the index.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/2/4/24453ade87762e8b88e116e78fb5b5fba18f843a.png)

In the image, the number of requests for the last 15 minutes should be zero.

What am I doing wrong?

---

<div class="post-metadata">

### Author: ![Bargs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bargs/32/5429_2.png) [@Bargs](https://discuss.elastic.co/u/Bargs)
#### Post date: [June 21, 2019, 10:38pm UTC](https://discuss.elastic.co/t/time-range-in-dashboards-not-working/186915/2 "2019-06-21T22:38:22Z")

</div>

Do you encounter the same problem in Discover? My guess is that the time field you've configured for your index pattern (which the time picker will use) is not the same time field you expect it to filter on. You can see which field is configured as your time field on the index pattern management screen. There will be a clock icon next to the time field:

 ![23%20PM](https://us1.discourse-cdn.com/elastic/original/3X/0/8/084b05d4ad44c211c016b8cdc6563a1ec4159114.png)

---

<div class="post-metadata">

### Author: ![Facundo\_Chambo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/facundo_chambo/32/48550_2.png) [@Facundo\_Chambo](https://discuss.elastic.co/u/Facundo_Chambo)
#### Post date: [June 24, 2019, 12:44pm UTC](https://discuss.elastic.co/t/time-range-in-dashboards-not-working/186915/3 "2019-06-24T12:44:00Z")

</div>

Thanks Matt, I guess that is the problem, because it doesn't appear the clock. The field **date** is the only field of type date. How should I configure the field to use it with time picker?

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/c/9ce1f84d96b34930b9b37bcca7ef067549e73f00.png)

**Note** : Yesterday I updated Kibana to v7.1.1.

---

<div class="post-metadata">

### Author: ![Facundo\_Chambo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/facundo_chambo/32/48550_2.png) [@Facundo\_Chambo](https://discuss.elastic.co/u/Facundo_Chambo)
#### Post date: [June 24, 2019, 3:46pm UTC](https://discuss.elastic.co/t/time-range-in-dashboards-not-working/186915/4 "2019-06-24T15:46:10Z")

</div>

I solved removing and creating a new index-pattern and setting the **date** field as Time Field.

Thank you for the tip!

---

<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: [July 22, 2019, 3:46pm UTC](https://discuss.elastic.co/t/time-range-in-dashboards-not-working/186915/5 "2019-07-22T15:46:18Z")

</div>

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