My logstash config file is simple and looks like the below.
input {
redis {
host => "localhost"
port => "6379"
key => "*hdb*"
data_type => "list"
}
}
output {
elasticsearch {
hosts => ["localhost:9200"]
index => "%{key}-%{+YYYY.MM.dd}"
}
}
But it cannot work. It seems wildcard key cannot be supported by redis input plugin?