Skip to content

Commit

Permalink
Doc: some minor corrections.
Browse files Browse the repository at this point in the history
  • Loading branch information
7lima authored and jsvd committed May 12, 2017
1 parent 769f563 commit 96f57a6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/logstash/inputs/elasticsearch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ class LogStash::Inputs::Elasticsearch < LogStash::Inputs::Base
default :codec, "json"

# List of elasticsearch hosts to use for querying.
# each host can be either IP, HOST, IP:port or HOST:port
# port defaults to 9200
# Each host can be either IP, HOST, IP:port or HOST:port.
# Port defaults to 9200
config :hosts, :validate => :array

# The index or alias to search.
Expand Down Expand Up @@ -94,10 +94,10 @@ class LogStash::Inputs::Elasticsearch < LogStash::Inputs::Base
#
config :docinfo, :validate => :boolean, :default => false

# Where to move the Elasticsearch document information by default we use the @metadata field.
# Where to move the Elasticsearch document information. By default we use the @metadata field.
config :docinfo_target, :validate=> :string, :default => LogStash::Event::METADATA

# List of document metadata to move to the `docinfo_target` field
# List of document metadata to move to the `docinfo_target` field.
# To learn more about Elasticsearch metadata fields read
# http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/_document_metadata.html
config :docinfo_fields, :validate => :array, :default => ['_index', '_type', '_id']
Expand Down

0 comments on commit 96f57a6

Please sign in to comment.