We're updating the issue view to help you get more done. 

redis input reconnect

Description

Hi,

I have a 2 redis inputs on the logstash processor. Sometimes the connection to redis is gone. I am not sure yet why the connection is gone. Nothing in the logs so far.
My question is, is there a reconnect feature like in the redis output (reconnect_interval)? Or any other way to force that logstash reconnects again to redis?
At the moment I have to restart logstash in order to get it reconnect and to process events again.

The config looks like this.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 input { # Process consumes all events from # all agents via this queue redis { host => ["env1-redis-n1.mydomain.com"] port => 63791 key => "my_logs" password => "xxx" data_type => "list" threads => 1 batch_count => 20 debug => true } redis { host => ["env1-redis-n2.mydomain.com"] port => 63792 key => "my_logs" password => "xxx" data_type => "list" threads => 1 batch_count => 20 debug => true } }

Environment

None

Status

Assignee

Logstash Developers

Reporter

Marco Schirrmeister

Labels

Affects versions

1.4.1 (bugfix only)

Priority