Well,不要刷屏了

logstash消费redis集群中数据

Logstash | 作者 lz8086 | 发布于2018年02月11日 | 阅读数:5000

大家新年快乐!
最近遇到一个问题,麻烦问下logstash是否能消费redis集群中的数据。这里redis集群是当做消息队列使用,elk版本6.1.3

消费单台redis目前已配置成功。
input {
redis {
data_type => "list"
key => "log1"
host => "172.16.131.205"
port => 6379
db => 0
threads => 1
}
}

output {
stdout{}
elasticsearch{
hosts => "172.16.131.205:9200"
index => "logtest"
user => elastic
password => ****
}
}
但在logstash官方网站上并没有发现如何配置redis,请问logstash是否有该功能,谢谢!
已邀请:

locatelli

赞同来自: lz8086

我的理解是目前为止还不支持:
 
https://github.com/logstash-pl ... es/10
 


Please do not keep adding +1 type comments. I (we, the Logstash team) are not yet able to code for Redis Clustering at the moment. We are in the process of defining the Java Plugin mechanism and selecting suitable plugins to move to Java - this plugin is one candidate - its just not a high priority one at the moment.

xiaoke - http://blog.51cto.com/kexiaoke

赞同来自:

mark

zhangyufu - 学习使我快乐

赞同来自:

要回复问题请先登录注册