From 22f1d26bff23c5618e885999b01830a418e3f044 Mon Sep 17 00:00:00 2001 From: Monica Sarbu Date: Wed, 21 Oct 2015 15:38:02 +0200 Subject: [PATCH] Remove loadbalance opt from the default config file --- docs/configuration.asciidoc | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/docs/configuration.asciidoc b/docs/configuration.asciidoc index 83ccec900755..86475a5d3aa4 100644 --- a/docs/configuration.asciidoc +++ b/docs/configuration.asciidoc @@ -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 @@ -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