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

Hi all,

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


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

}

filter
{
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 192.168.1.4:6379 (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.

Thanks,
Vikram

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

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:
Vikram