redis 是集群模式,配置端口 6000-6005
output {
redis {
host => "10.0.50.12"
port => 6000
data_type => "list"
key => "logstash-qs-test"
}
stdout{
codec=>rubydebug
}
}
output到redis没有报错,但是下面input 从redis获取消息一直报
Redis connection problem {:exception=>#<Redis::CommandError: CROSSSLOT Keys in request don't hash to the same slot>, :level=>:warn}
input{
redis {
host=>"10.0.50.12"
port=>6000
data_type=>"list"
key => "logstash-qs-test"
}
}
output {
redis {
host => "10.0.50.12"
port => 6000
data_type => "list"
key => "logstash-qs-test"
}
stdout{
codec=>rubydebug
}
}
output到redis没有报错,但是下面input 从redis获取消息一直报
Redis connection problem {:exception=>#<Redis::CommandError: CROSSSLOT Keys in request don't hash to the same slot>, :level=>:warn}
input{
redis {
host=>"10.0.50.12"
port=>6000
data_type=>"list"
key => "logstash-qs-test"
}
}
4 个回复
ktpktr0
赞同来自:
tangwei
赞同来自:
tangwei
赞同来自:
tangwei
赞同来自: