# No old data in developer tool, but data are present in discover

**URL:** <https://discuss.elastic.co/t/no-old-data-in-developer-tool-but-data-are-present-in-discover/323134>\
**Category:** Elasticsearch\
**Created:** [January 13, 2023, 1:33pm UTC](https://discuss.elastic.co/t/no-old-data-in-developer-tool-but-data-are-present-in-discover/323134 "2023-01-13T13:33:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vetsolution](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vetsolution/32/115914_2.png) [@vetsolution](https://discuss.elastic.co/u/vetsolution)\
**Post date:** [January 13, 2023, 1:33pm UTC](https://discuss.elastic.co/t/no-old-data-in-developer-tool-but-data-are-present-in-discover/323134/1 "2023-01-13T13:33:38Z")

</div>

Modified [today](https://stackoverflow.com/questions/75109908/elasticsearch-no-old-data-in-developer-tool-but-data-are-present-in-discover?lastactivity)

Hello,

When I use the elastic api, via curl or the developper tool. I cannot got data from some old indice.

But if I use the discover feature of Kibana, it can get those data.

Moreover, if I go from discover, got some datas, the with the inspect option I click on "Open in dev tools", the the copied request don't work.

Have you any idea?

I also try to get /\_cout api, it says count:0. But with /\_stats I have some counts

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/1/9/19dbfc95a3cdd686e4333c9dae4d051c221f8bb1.png)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/1/916f5b732d9e48ad7757af55496edc6a908767dd.png)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/b/6/b68f1d6aa307227084f30b608d57bbbf228ae61c.png)

---

<div class="post-metadata">

**Author:** ![Ayush\_Mathur](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ayush_mathur/32/77134_2.png) [@Ayush\_Mathur](https://discuss.elastic.co/u/Ayush_Mathur)\
**Post date:** [January 13, 2023, 1:52pm UTC](https://discuss.elastic.co/t/no-old-data-in-developer-tool-but-data-are-present-in-discover/323134/2 "2023-01-13T13:52:10Z")

</div>

Please try with just the query part from Inspect and remove everything else. Also, please ensure you are using correct index name or pattern for searching.

---

<div class="post-metadata">

**Author:** ![vetsolution](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vetsolution/32/115914_2.png) [@vetsolution](https://discuss.elastic.co/u/vetsolution)\
**Post date:** [January 13, 2023, 2:05pm UTC](https://discuss.elastic.co/t/no-old-data-in-developer-tool-but-data-are-present-in-discover/323134/3 "2023-01-13T14:05:58Z")

</div>

Still the same  
I also try the index patern(with a \* in the name) and the exact name it change any thing

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

---

<div class="post-metadata">

**Author:** ![Ayush\_Mathur](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ayush_mathur/32/77134_2.png) [@Ayush\_Mathur](https://discuss.elastic.co/u/Ayush_Mathur)\
**Post date:** [January 13, 2023, 2:34pm UTC](https://discuss.elastic.co/t/no-old-data-in-developer-tool-but-data-are-present-in-discover/323134/4 "2023-01-13T14:34:55Z")

</div>

Can you please provide your query in text form rather than image, would be helpful in editing and providing a meaningful solution or alternative ?

Also, please add match\_all: {} query intead of must.

---

<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 10, 2023, 2:35pm UTC](https://discuss.elastic.co/t/no-old-data-in-developer-tool-but-data-are-present-in-discover/323134/5 "2023-02-10T14:35:09Z")

</div>

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