请问谁使用过redis cluster?
这个是日志客户端
output {
redis {
host => "192.168.1.100"
port => "7001"
data_type => "list"
key => "logstash"
}
}
下面是logstash 入ES的配置
input {
redis {
host => "192.168.1.100"
port => "7001"
type => "redis-cluster-input"
data_type => "list"
key => "logstash"
threads => 96
}
}
host这里我如果设置成rediscluster 中的其他的ip
Redis connection problem {:exception=>#<Redis::CommandError: MOVED 5514 192.168.1.100:7001>, :level=>:warn}
这里的redis的配置难道要一一对应么?
其中redis cluster 状态正常
这个是日志客户端
output {
redis {
host => "192.168.1.100"
port => "7001"
data_type => "list"
key => "logstash"
}
}
下面是logstash 入ES的配置
input {
redis {
host => "192.168.1.100"
port => "7001"
type => "redis-cluster-input"
data_type => "list"
key => "logstash"
threads => 96
}
}
host这里我如果设置成rediscluster 中的其他的ip
Redis connection problem {:exception=>#<Redis::CommandError: MOVED 5514 192.168.1.100:7001>, :level=>:warn}
这里的redis的配置难道要一一对应么?
其中redis cluster 状态正常
2 个回复
fishman - IT民工
赞同来自:
清风凌波 - 好的坏的,尝试了才知道。真的假的,凑进点才看的清楚。
赞同来自: