How to use elasticsearch input plugin in logstash to get more than 10000 results from ES

I chose Logstash to run the job everyday at a certain time using Logstash "schedule"