Using Redis output pluginedit to send data to Redis.
output { redis { host => ["${REDIS_URL}"] data_type => "list" key => "ID" codec => line { format => "%{[@metadata][_id]}"} } }
Check Redis' data:
LRANGE ID 0 -1 1) "1\n" 2) "2\n"
Why they with \n?
\n
Are you sure that the "\n" isn't coming from your data ?
I have never noticed this myself and I even checked my redis to see if I am getting this and I don't see it
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.