Redis input wildcard key seems not working


#1

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?


(Mark Walkom) #2

I believe you can only input a single key there.


#3

Thanks. Is there any way to add pattern match to the keys?

Otherwise I have to list all the single keys and it is cumbersome


(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.