Hi
We are trying to configure Filebeat-> redis-> logstash-> elasticsearch.
But getting the following error.
Redis connection problem {:exception=>#<Redis::CannotConnectError: Error connecting to Redis on localhost:6379 (Errno::ECONNREFUSED)>, :level=>:warn}
My configurations
Filebeat:
filebeat:
prospectors:
-
paths:
- "/usr/local/etc/trafficserver/logs/squid.log"
input_type: log
document_type: trafficserver
-
paths:
- "/var/log/apache2/reverseproxy_ats-access.log"
input_type: log
document_type: apache
output:
redis:
host: "localhost"
port: 6379
key: logstash
data_typ: "list"
Logstash:
input {
redis {
host => "localhost"
port => 6379
type => "redis-input"
data_type => "list"
key => "logstash"
}
}
Kindly help us in resolving this issue.