lib/logstash/outputs/redis.rb in logstash-output-redis-3.0.1 vs lib/logstash/outputs/redis.rb in logstash-output-redis-3.0.2
- old
+ new
@@ -24,9 +24,11 @@
config :name, :validate => :string, :default => 'default',
:deprecated => true
# The hostname(s) of your Redis server(s). Ports may be specified on any
# hostname, which will override the global port config.
+ # If the hosts list is an array, Logstash will pick one random host to connect to,
+ # if that host is disconnected it will then pick another.
#
# For example:
# [source,ruby]
# "127.0.0.1"
# ["127.0.0.1", "127.0.0.2"]