Elastic Machine learning, Datafeed has missed xxx documents due to ingest latency

Hi,

I currenly have a APM server which running on cloud and receiving my php app transaction log.
Basiclly, request will keep sending to my php api endpoint.

And, I am using the APM generated index pattern log to feed my machine learning but no matter how long I set the delayed query, it still saying that there is docs missing due to injest laterncy.

I have no clue how I can fix this issue since I was hoping to have a real time datafeed, but now even I delay the query to 30 minutes and still having this issue.



update
I increased the query delay to 50mimutes, and still facing the same issue.
I wonder if this could be due to the spec of instance which use to do machine learning job
Here is some config indetails:


Hello @JasonREC ,

to troubleshoot, consider running the query from your datafeed and observe the difference between @timestamp and ingest_time. This will give you the feeling of what query_delay should be on your system.