Logstash elasticsearch input, size and schedule params

I want to use elasticsearch input to query documents that is still missing some data and I didn't find how to limit the amount of documents returned by elasticsearch. The size param defines the amount that is returned each time between scrolls. I tried to define size in query, but it only restrict the amount returned, like the size param, the elasticsearch plugin continues to scroll for more documents.
I want to limit to be processed by logstash because I will schedule periodically execution ot this task and don't want to have the input still reading when it's time to run again. I didn't find in documentation what will happen if elasticsearch is still running and by the schedule param it's time to run again?

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