Grafana cannot get data from Elasticsearch completely

I have setup a grafana to query Elasticsearch. But sometime the query result is not as expected.
As the graph showns, there are some period when grafana shows nothing on the graph but i am sure there are data all the time. I can confirm it from kibana . And the query of those time slot don’t return error just return zero result.
The graph and query are like this

But if I remove a query criteria, e.g. workingDIrectory, the missing content show up

I don’t know where to check the problem. Does it hit some threshold? Is there anyone have some advice?