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

**URL:** <https://discuss.elastic.co/t/warning-redis-connection-problem-even-after-removing-redis-from-config/338>\
**Category:** Logstash\
**Created:** [May 7, 2015, 11:18am UTC](https://discuss.elastic.co/t/warning-redis-connection-problem-even-after-removing-redis-from-config/338 "2015-05-07T11:18:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vikram\_Nair](https://avatars.discourse-cdn.com/v4/letter/v/3bc359/32.png) [@Vikram\_Nair](https://discuss.elastic.co/u/Vikram_Nair)\
**Post date:** [May 7, 2015, 11:18am UTC](https://discuss.elastic.co/t/warning-redis-connection-problem-even-after-removing-redis-from-config/338/1 "2015-05-07T11:18:05Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [May 7, 2015, 5:31pm UTC](https://discuss.elastic.co/t/warning-redis-connection-problem-even-after-removing-redis-from-config/338/2 "2015-05-07T17:31:53Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Vikram\_Nair](https://avatars.discourse-cdn.com/v4/letter/v/3bc359/32.png) [@Vikram\_Nair](https://discuss.elastic.co/u/Vikram_Nair)\
**Post date:** [May 8, 2015, 4:53am UTC](https://discuss.elastic.co/t/warning-redis-connection-problem-even-after-removing-redis-from-config/338/3 "2015-05-08T04:53:58Z")

</div>

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

---

<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 6, 2017, 5:40am UTC](https://discuss.elastic.co/t/warning-redis-connection-problem-even-after-removing-redis-from-config/338/4 "2017-07-06T05:40:07Z")

</div>


