Skip to content

Commit

Permalink
Remove loadbalance opt from the default config file
Browse files Browse the repository at this point in the history
  • Loading branch information
monicasarbu committed Oct 21, 2015
1 parent 3bc09f5 commit 4d8ea58
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions docs/configuration.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -448,9 +448,6 @@ output:
# configure index prefix name
index: mybeat
# configure logstash plugin to loadbalance events between the logstash instances
loadbalance: false
tls:
# disable tls for testing (TLS must be disabled in logstash too)
disabled: true
Expand All @@ -475,6 +472,26 @@ the output plugin will send all events to only one host (determined by random)
switching to another host if selected one becomes unresponsive.
The default value is false.

[source,yaml]
------------------------------------------------------------------------------
output:
logstash:
enabled: true
hosts: ["localhost:5044", "localhost:5045"]
# configure index prefix name
index: mybeat
# configure logstash plugin to loadbalance events between the logstash instances
loadbalance: true
tls:
# disable tls for testing (TLS must be disabled in logstash too)
disabled: true
------------------------------------------------------------------------------


===== port

Default port to use if port number not given in hosts. The default port number
Expand Down

0 comments on commit 4d8ea58

Please sign in to comment.