in logstash 2.3, it says in redis it support host as array like below:
Does anyone know when i configure multiple server, the message are duplicated to those servers or load balanced to those servers???
host
Value type is array
Default value is ["127.0.0.1"]
The hostname(s) of your Redis server(s). Ports may be specified on any hostname, which will override the global port config.
hi Pier, Thanks for your reply.
it makes me think how about logstash output to elasticsearch? it also supports hosts as array. Do you know the output behavior is it the same as output to redis?
the same? based on Pier's reply, my understanding is it is not load balanced, it only connects to 1 server at same time, the rest of servers are only "backup". Please correct me if I am wrong.
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.