Skip to content

Commit

Permalink
Improve documentation for 'http' protocol selection
Browse files Browse the repository at this point in the history
  • Loading branch information
jordansissel committed Mar 12, 2014
1 parent 0c88e4d commit a374817
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/logstash/outputs/elasticsearch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,11 @@ class LogStash::Outputs::ElasticSearch < LogStash::Outputs::Base
# in situations where you cannot permit connections outbound from the
# Elasticsearch cluster to this Logstash server.
#
# The 'http' protocol will use the Elasticsearch REST/HTTP interface to talk
# to elasticsearch.
#
# All protocols will use bulk requests when talking to Elasticsearch.
#
# The default `protocol` setting under java/jruby is "node". The default
# `protocol` on non-java rubies is "http"
config :protocol, :validate => [ "node", "transport", "http" ]
Expand Down

0 comments on commit a374817

Please sign in to comment.