Warning: "Redis connection problem" even after removing Redis from config

(Vikram Nair) #1

Hi all,

/etc/logstash/conf.d/logstash.conf is a below

input { udp { port => 5000 type => syslog }


kv { }

output {
elasticsearch {
cluster => LogStore

I still keep getting the following warning every 3-4 seconds:

{:timestamp=>"2015-05-07T16:39:19.291000+0530", :message=>"Redis connection problem", :exception=>#<Redis::CannotConnectError: Error connecting to Redis on (Errno::EHOSTUNREACH)>, :level=>:warn}

How can i fix this?

What logs files should i be looking into when Elasticsearch stops indexing and restarting Logstash fixes the issue? /var/log/logstash/logstash.log had nothing but the above redis related warning.


(Magnus B├Ąck) #2

Logstash reads all files in /etc/logstash/conf.d. Are you sure you don't have any Redis input or output in any file?

(Vikram Nair) #3

hi magnus,

that was bang on!

i had to take redis out of the setup, so i just renamed the previous configuration to logstash.conf.redis and left it in /etc/logstash/conf.d.

Thanks :smile:

(system) #4