From 88ca3759dd08eb8f3f24d147f3c7e8a7f3a69246 Mon Sep 17 00:00:00 2001 From: markwalkom Date: Sun, 8 May 2016 09:55:05 +1000 Subject: [PATCH] Expand hosts array documentation Clarified that the hosts directive can take an array, and how that works. This was raised [here](https://discuss.elastic.co/t/question-on-logstash-output-to-redis/49374). --- lib/logstash/outputs/redis.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/logstash/outputs/redis.rb b/lib/logstash/outputs/redis.rb index 78cf6d6..daeb5bd 100644 --- a/lib/logstash/outputs/redis.rb +++ b/lib/logstash/outputs/redis.rb @@ -26,6 +26,8 @@ class LogStash::Outputs::Redis < LogStash::Outputs::Base # 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]