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?
I believe you can only input a single key there.
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
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.