# Cannot see today's data in the first half of the day (!?)

**URL:** <https://discuss.elastic.co/t/cannot-see-todays-data-in-the-first-half-of-the-day/236347>\
**Category:** Elastic Stack\
**Created:** [June 9, 2020, 1:36pm UTC](https://discuss.elastic.co/t/cannot-see-todays-data-in-the-first-half-of-the-day/236347 "2020-06-09T13:36:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sergey\_Razumov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sergey_razumov/32/49309_2.png) [@Sergey\_Razumov](https://discuss.elastic.co/u/Sergey_Razumov)\
**Post date:** [June 9, 2020, 1:36pm UTC](https://discuss.elastic.co/t/cannot-see-todays-data-in-the-first-half-of-the-day/236347/1 "2020-06-09T13:36:06Z")

</div>

Hello there,  
I'm trying to do a request which is depending on a date field

` "@timestamp": { "type": "date" }`

The query looks like this:

```
{
  "aggs": {
    "2": {
      "date_histogram": {
        "field": "@timestamp",
        "interval": "3600000ms",
        "time_zone": "Europe/Berlin",
        "min_doc_count": 1
      },
      "aggs": {
        "by_channel": {
          "terms": {
            "field": "cid"
          }
        }
      }
    }
  },
  "size": 0,
  "query": {
    "bool": {
      "must": [
        {
          "match_phrase": {
            "tenant": {
              "query": "My tenant"
            }
          }
        },
        {
          "range": {
            "@timestamp": {
              "gte": 1591567200000,
              "lte": 1591740000000,
              "format": "epoch_millis"
            }
          }
        }
      ]
    }
  }
}

```

, where "gte": 1591567200000 and "lte": 1591740000000 are 09.06.2020 00:00 and 10.06.2020 00:00.

The problem is that even when I see new data in Discover section of Kibana - it is not returned by this query until middle of a day! Like there is some buffer for new records, or like that. And starting from ~15:00 - it works. And also works for any other day in the past. What is the reason for such a strange behaviour? And how to get the most recent records?

---

<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 4, 2022, 8:01am UTC](https://discuss.elastic.co/t/cannot-see-todays-data-in-the-first-half-of-the-day/236347/2 "2022-11-04T08:01:45Z")

</div>


