# ML jobs kibana not working as expected

**URL:** <https://discuss.elastic.co/t/ml-jobs-kibana-not-working-as-expected/305718>\
**Category:** Kibana\
**Tags:** elastic-stack-machine-learning\
**Created:** [May 26, 2022, 1:42pm UTC](https://discuss.elastic.co/t/ml-jobs-kibana-not-working-as-expected/305718 "2022-05-26T13:42:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![S-elk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/s-elk/32/98464_2.png) [@S-elk](https://discuss.elastic.co/u/S-elk)\
**Post date:** [May 26, 2022, 1:42pm UTC](https://discuss.elastic.co/t/ml-jobs-kibana-not-working-as-expected/305718/1 "2022-05-26T13:42:52Z")

</div>

Hello!

I have 3 machine learning jobs in kibana which seem to work correctly and then the error "datafeed has been retrieving no data for a while" appears.

how can I avoid it??

Thanks in advanced.

---

<div class="post-metadata">

**Author:** ![BenTrent](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bentrent/32/33915_2.png) [@BenTrent](https://discuss.elastic.co/u/BenTrent)\
**Post date:** [May 26, 2022, 1:57pm UTC](https://discuss.elastic.co/t/ml-jobs-kibana-not-working-as-expected/305718/2 "2022-05-26T13:57:00Z")

</div>

This only happens when the source indices have been getting no data. The way to avoid it is to have data being indexed into our source indices continually so that the datafeed can read it.

Additionally, those warnings are signaled for 24hrs and then are removed. So, it may be there was a period of time where no data was being found, but then data started being indexed into our source indices again.

---

<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:** [May 26, 2022, 1:58pm UTC](https://discuss.elastic.co/t/ml-jobs-kibana-not-working-as-expected/305718/3 "2022-05-26T13:58:01Z")

</div>

Is there real time data being ingested into your cluster for the jobs to analyze? If so, is it arriving more than 2 minutes after the timestamp for that data (delayed ingestion)?

---

<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:** [June 23, 2022, 1:59pm UTC](https://discuss.elastic.co/t/ml-jobs-kibana-not-working-as-expected/305718/4 "2022-06-23T13:59:00Z")

</div>

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