Skip to content

Commit

Permalink
Update the Logstash to Logstash Native doc to reflect the multiple ho…
Browse files Browse the repository at this point in the history
…sts usage.
  • Loading branch information
mashhurs committed Oct 27, 2023
1 parent 2063622 commit 70813bf
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions docs/static/ls-ls-native.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,13 @@ input {

In order to obtain the best performance when sending data from one Logstash to another, the data is batched and compressed. As such, the upstream Logstash (the sending Logstash) only needs to be concerned about configuring the receiving endpoint with these options:

* `hosts` - The receiving Logstash and port. If no port specified, 9800 will be used.

NOTE: In the future, {ls} will support multiple output hosts.
* `hosts` - The receiving Logstash host and port pairs. If no port specified, 9800 will be used.

[source,json]
----
output {
logstash {
hosts => '10.0.0.123:9800'
hosts => ["10.0.0.123", "10.0.1.123:9800"]
}
}
----
Expand Down

0 comments on commit 70813bf

Please sign in to comment.