Skip to content

Commit

Permalink
Merge pull request #187 from monicasarbu/replace_logstash_with_localhost
Browse files Browse the repository at this point in the history
Replace logstash with localhost
  • Loading branch information
andrewkroh committed Oct 21, 2015
2 parents ee01d37 + 4d8ea58 commit 18d870a
Showing 1 changed file with 24 additions and 10 deletions.
34 changes: 24 additions & 10 deletions docs/configuration.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ output:
enabled: true
# The Elasticsearch cluster
hosts: ["http://10.45.3.2", "http://10.45.3.1/elasticsearch"]
hosts: ["http://localhost:9200"]
# Comment this option if you don't want to store the topology in
# Elasticsearch. The default is false.
Expand Down Expand Up @@ -211,7 +211,7 @@ output:
enabled: true
# The Elasticsearch cluster
hosts: ["https://10.45.3.2", "https://10.45.3.1"]
hosts: ["https://localhost:9200"]
# Comment this option if you don't want to store the topology in
# Elasticsearch. The default is false.
Expand All @@ -236,7 +236,7 @@ output:
enabled: true
# The Elasticsearch cluster
hosts: ["10.45.3.2", "10.45.3.1"]
hosts: ["localhost"]
# Optional http or https. Default is http
protocol: "https"
Expand Down Expand Up @@ -443,17 +443,11 @@ output:
logstash:
enabled: true
hosts:
- logstash1:5044
- logstash2:5044
- logstash3:5044
hosts: ["localhost:5044"]
# configure index prefix name
index: mybeat
# configure logstash plugin to loadbalance events between logstash instances
loadbalance: true
tls:
# disable tls for testing (TLS must be disabled in logstash too)
disabled: true
Expand All @@ -478,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 18d870a

Please sign in to comment.