# Time range not working in kibana 6.2

**URL:** <https://discuss.elastic.co/t/time-range-not-working-in-kibana-6-2/151984>\
**Category:** Kibana\
**Created:** [October 11, 2018, 6:20am UTC](https://discuss.elastic.co/t/time-range-not-working-in-kibana-6-2/151984 "2018-10-11T06:20:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ammy](https://avatars.discourse-cdn.com/v4/letter/a/b5e925/32.png) [@ammy](https://discuss.elastic.co/u/ammy)\
**Post date:** [October 11, 2018, 6:20am UTC](https://discuss.elastic.co/t/time-range-not-working-in-kibana-6-2/151984/1 "2018-10-11T06:20:35Z")

</div>

I created an index and inserted documents on Elasticsearch 6.2.

I have a mapping for the "timestamp" field and it has a "date" type. Dates are showed using the correct date format in the "Discover" tab .

When I create a dashboard and select a custom date range, Kibana always uses all my documents, it's not filtering anything. I tried using a time range with all different interval and I always get the same results.

What could be the problem?

---

<div class="post-metadata">

**Author:** ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)\
**Post date:** [October 11, 2018, 10:46am UTC](https://discuss.elastic.co/t/time-range-not-working-in-kibana-6-2/151984/2 "2018-10-11T10:46:46Z")

</div>

If you are picking up a particular time range using the date picker on top nav bar - dashboard should filter your results according to the time range. Can you also try adding the date range as a filter and check whats happening?

Which version of Kibana are you on? Also can you please post a screenshot of your discover and dashboard?

Thanks,  
Bhavya

---

<div class="post-metadata">

**Author:** ![ammy](https://avatars.discourse-cdn.com/v4/letter/a/b5e925/32.png) [@ammy](https://discuss.elastic.co/u/ammy)\
**Post date:** [October 11, 2018, 11:37am UTC](https://discuss.elastic.co/t/time-range-not-working-in-kibana-6-2/151984/3 "2018-10-11T11:37:00Z")

</div>

Hi ,its working now problem was slightly different .it was missing to add timstamp as a field while creating index pattern.  
Thanks

---

<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:** [November 8, 2018, 11:48am UTC](https://discuss.elastic.co/t/time-range-not-working-in-kibana-6-2/151984/4 "2018-11-08T11:48:14Z")

</div>

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