Increasing max_result_window via Logstash Output plugin for ES

Hi All,

I am populating data in Elastic search via Logtstash and successfully able to build index.

But, it gives error to load records more than 10000 and asks for increasing index. max_result_window value.

How can i increase index. max_result_window value while outputting data to my elastic search output plugin.

Logstash conf file has below output code:

output {
elasticsearch {
action =>"index"
index => "xyz"
manage_template => false
doc_as_upsert => true
hosts => ["http://localhost:9200/"]
}
}

Please advise.

My guess is that you are getting this error at search time, not index time.
If so, show what you are doing