# Elasticsearch Kibana "Discover" returns no results, but exact same query in "Dev Tools" returns results

**URL:** <https://discuss.elastic.co/t/elasticsearch-kibana-discover-returns-no-results-but-exact-same-query-in-dev-tools-returns-results/294479>\
**Category:** Kibana\
**Created:** [January 15, 2022, 11:11am UTC](https://discuss.elastic.co/t/elasticsearch-kibana-discover-returns-no-results-but-exact-same-query-in-dev-tools-returns-results/294479 "2022-01-15T11:11:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![wishfulwatermelon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wishfulwatermelon/32/100361_2.png) [@wishfulwatermelon](https://discuss.elastic.co/u/wishfulwatermelon)\
**Post date:** [January 15, 2022, 11:11am UTC](https://discuss.elastic.co/t/elasticsearch-kibana-discover-returns-no-results-but-exact-same-query-in-dev-tools-returns-results/294479/1 "2022-01-15T11:11:11Z")

</div>

I was trying to look for data on my index pattern in "Discover". However, it returns no results.

I then looked for data on the same index pattern in "Dev Tools" and copied/pasted over the same Request, which returned to me hits for the query.

This is what I get for my response in "Discover":

```auto
{
  "took": 147,
  "timed_out": false,
  "_shards": {
    "total": 115,
    "successful": 110,
    "skipped": 8,
    "failed": 5,
    "failures": [
      {
        "shard": 4,
        "index": "unifier-event-2022-01",
        "node": "IPCLTjqqTpSmacdMHJChjQ",
        "reason": {
          "type": "illegal_argument_exception",
          "reason": "Field [request.data.localDateTimeWithTimezone] of type [text] does not support custom formats"
        }
      }
    ]
  },
  "hits": {
    "total": 5180,
    "max_score": null,
    "hits": []
  },
  "aggregations": {
    "2": {
      "buckets": [
        {
          "key_as_string": date,
          "key": key,
          "doc_count": 39
        },
       // ... Goes on,
      ]
    }
  }
}

```

Is there a way to return results in "Discover"?

---

<div class="post-metadata">

**Author:** ![Tomo\_M](https://avatars.discourse-cdn.com/v4/letter/t/848f3c/32.png) [@Tomo\_M](https://discuss.elastic.co/u/Tomo_M)\
**Post date:** [January 15, 2022, 11:42am UTC](https://discuss.elastic.co/t/elasticsearch-kibana-discover-returns-no-results-but-exact-same-query-in-dev-tools-returns-results/294479/2 "2022-01-15T11:42:40Z")

</div>

Maybe there are two request in Discover and you seems to paste the result of Chart data request.

The queries/responses in Inspector of Discover are completely the same with the queries/responses you got in Dev Tools?

---

<div class="post-metadata">

**Author:** ![wishfulwatermelon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wishfulwatermelon/32/100361_2.png) [@wishfulwatermelon](https://discuss.elastic.co/u/wishfulwatermelon)\
**Post date:** [January 17, 2022, 7:28am UTC](https://discuss.elastic.co/t/elasticsearch-kibana-discover-returns-no-results-but-exact-same-query-in-dev-tools-returns-results/294479/3 "2022-01-17T07:28:18Z")

</div>

I followed what someone else this here: [Field [winlog.event\_data.ProcessCreationTime] of type [keyword] does not support custom formats - #3 by andrewkroh](https://discuss.elastic.co/t/field-winlog-event-data-processcreationtime-of-type-keyword-does-not-support-custom-formats/235489/3)

I refreshed the index pattern and that solved my issue. 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:** [February 14, 2022, 7:28am UTC](https://discuss.elastic.co/t/elasticsearch-kibana-discover-returns-no-results-but-exact-same-query-in-dev-tools-returns-results/294479/4 "2022-02-14T07:28:25Z")

</div>

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