# Logstash's Elasticsearch input plugin timeout

**URL:** <https://discuss.elastic.co/t/logstashs-elasticsearch-input-plugin-timeout/50980>\
**Category:** Elasticsearch\
**Created:** [May 25, 2016, 7:33pm UTC](https://discuss.elastic.co/t/logstashs-elasticsearch-input-plugin-timeout/50980 "2016-05-25T19:33:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![esamudio](https://avatars.discourse-cdn.com/v4/letter/e/df788c/32.png) [@esamudio](https://discuss.elastic.co/u/esamudio)\
**Post date:** [May 25, 2016, 7:33pm UTC](https://discuss.elastic.co/t/logstashs-elasticsearch-input-plugin-timeout/50980/1 "2016-05-25T19:33:51Z")

</div>

I'm trying to use logstash to extract all records from ES (very small records) and populate them into rabbitmq. I wanted to see what the fastest I could go so I didn't set up any persistence/durability so disk IO should not be a problem. ES timed out as a result and I'm not sure of how to go about resolving this issue.

Here's the exact error message:

> A plugin had an unrecoverable error. Will restart this plugin.  
> Plugin: \<LogStash::Inputs::Elasticsearch hosts=\>["192.168.0.83", "192.168.0.84", "192.168.0.85", "192.168.0.86", "192.168.0.88", "192.168.0.89", "192.168.0.90", "192.168.0.91", "192.168.0.92"], index=\>"com-initial", scroll=\>"1m", size=\>1000, codec=\>\<LogStash::Codecs::JSON charset=\>"UTF-8"\>, query=\>"{"query": { "match\_all": {} } }", scan=\>true, docinfo=\>false, docinfo\_target=\>"@metadata", docinfo\_fields=\>["\_index", "\_type", "\_id"], ssl=\>false\>  
> Error: Timeout::Error {:level=\>:error}

Any ideas on how to keep it from timing out?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 10:49pm UTC](https://discuss.elastic.co/t/logstashs-elasticsearch-input-plugin-timeout/50980/2 "2017-07-05T22:49:00Z")

</div>


