# Strange search result with time range

**URL:** https://discuss.elastic.co/t/strange-search-result-with-time-range/96882
**Category:** Kibana
**Created:** [August 13, 2017, 5:09pm UTC](https://discuss.elastic.co/t/strange-search-result-with-time-range/96882 "2017-08-13T17:09:55Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Flemming\_Harms](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flemming_harms/32/20292_2.png) [@Flemming\_Harms](https://discuss.elastic.co/u/Flemming_Harms)
#### Post date: [August 13, 2017, 5:09pm UTC](https://discuss.elastic.co/t/strange-search-result-with-time-range/96882/1 "2017-08-13T17:09:55Z")

</div>

Hello,

I have weird problem with the time range search in Kibana

if select the "Today" in time range dialog it return 2 documents as expected in this case. Now If then select the "Last 7 days" instead I see alot of records, but only one from today so one is missing from today.

That seems strange to me or what I'm missing here?

ElasticSearch : 5.5.0  
Kibana : 5.5.0

br  
Flemming

---

<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: [August 15, 2017, 4:22am UTC](https://discuss.elastic.co/t/strange-search-result-with-time-range/96882/2 "2017-08-15T04:22:35Z")

</div>

Hi,

This is an interesting one. Can you please check what happens when you do 24 hours? How many documents show up?

It would also be good to check the timestamps for the documents for today and see whats missing from 7 day.

Thanks,  
Bhavya

---

<div class="post-metadata">

### Author: ![Flemming\_Harms](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flemming_harms/32/20292_2.png) [@Flemming\_Harms](https://discuss.elastic.co/u/Flemming_Harms)
#### Post date: [August 15, 2017, 5:43pm UTC](https://discuss.elastic.co/t/strange-search-result-with-time-range/96882/3 "2017-08-15T17:43:10Z")

</div>

Hi

So I did some more testing today. If I select today it return 58 documents and if I select 24 hours it return a lot more but only 54 documents belong to today.

It seems like when I select 24 hours it's 2 hour behind, because if I check an hour later I can see some of the missing records shows up for the 24 hours time range.

Here is a screen dump from the first the record (18:30:58) , and the time it display in the view is 2 hours ahead of the updated\_time (16:30:58)

![57](https://us1.discourse-cdn.com/elastic/original/3X/d/5/d5a397b3bc67715364bbedf556b937f2afe20a8f.png)

 ![43](https://us1.discourse-cdn.com/elastic/original/3X/b/a/ba2e2398350c11a1784158bda0595055b6e9490c.png)

![56](https://us1.discourse-cdn.com/elastic/original/3X/6/2/621260c68809252656713fbdd793f48dc5f7db3a.png)

---

<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: [September 12, 2017, 5:43pm UTC](https://discuss.elastic.co/t/strange-search-result-with-time-range/96882/4 "2017-09-12T17:43:25Z")

</div>

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