使用 man ascii 来查看 ASCII 表。

logstash input redis 监听不到消息

Logstash | 作者 qs_temp | 发布于2016年12月13日 | 阅读数:8304

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"
}
}
已邀请:

ktpktr0

赞同来自:

我的一切正常,就量输入不到redis里面

tangwei

赞同来自:

你好,请问这个问题解决了吗

tangwei

赞同来自:

为了下运维,说是目前不支持redis集群,用别的模式吧,是redis集群的问题

tangwei

赞同来自:

今天发现把batch_count 这个属性干掉,就能读取 redis集群的消息了

要回复问题请先登录注册