Skip to content

Commit 5e36d24

Browse files
markwalkomjordansissel
authored andcommitted
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). Fixes #32
1 parent ceb72bc commit 5e36d24

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/logstash/outputs/redis.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ class LogStash::Outputs::Redis < LogStash::Outputs::Base
2626

2727
# The hostname(s) of your Redis server(s). Ports may be specified on any
2828
# hostname, which will override the global port config.
29+
# If the hosts list is an array, Logstash will pick one random host to connect to,
30+
# if that host is disconnected it will then pick another.
2931
#
3032
# For example:
3133
# [source,ruby]

0 commit comments

Comments
 (0)