# Elasticsearch datafeed has been retrieving no data for a while

**URL:** <https://discuss.elastic.co/t/elasticsearch-datafeed-has-been-retrieving-no-data-for-a-while/222634>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-machine-learning\
**Created:** [March 9, 2020, 3:15am UTC](https://discuss.elastic.co/t/elasticsearch-datafeed-has-been-retrieving-no-data-for-a-while/222634 "2020-03-09T03:15:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pk.241011](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pk.241011/32/86285_2.png) [@pk.241011](https://discuss.elastic.co/u/pk.241011)\
**Post date:** [March 9, 2020, 3:15am UTC](https://discuss.elastic.co/t/elasticsearch-datafeed-has-been-retrieving-no-data-for-a-while/222634/1 "2020-03-09T03:15:15Z")

</div>

Hi,

I have been seeing this warning "Datafeed has been retrieving no data for a while".  
But the Anomaly detection job is processing the records and I can see the timestamp and count of processed records changing.

Why is this so? And what can I do to get rid of this warning?

The datafeed has Query delay of 76971ms, Frequency of 450 s and the scroll size of 1000.

ES Stack Version: 7.5.1

---

<div class="post-metadata">

**Author:** ![richcollier](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/richcollier/32/115035_2.png) [@richcollier](https://discuss.elastic.co/u/richcollier)\
**Post date:** [March 9, 2020, 12:29pm UTC](https://discuss.elastic.co/t/elasticsearch-datafeed-has-been-retrieving-no-data-for-a-while/222634/2 "2020-03-09T12:29:53Z")

</div>

The warnings stay in the UI for 24hours. Perhaps there was a time in the recent past where data was not flowing, but then it fixed itself.

---

<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:** [April 6, 2020, 12:29pm UTC](https://discuss.elastic.co/t/elasticsearch-datafeed-has-been-retrieving-no-data-for-a-while/222634/3 "2020-04-06T12:29:55Z")

</div>

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