lib/logstash/inputs/elasticsearch.rb in logstash-input-elasticsearch-3.0.1 vs lib/logstash/inputs/elasticsearch.rb in logstash-input-elasticsearch-3.0.2
- old
+ new
@@ -37,10 +37,12 @@
config :hosts, :validate => :array
# The index or alias to search.
config :index, :validate => :string, :default => "logstash-*"
- # The query to be executed.
+ # The query to be executed. Read the Elasticsearch query DSL documentation
+ # for more info
+ # https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl.html
config :query, :validate => :string, :default => '{"query": { "match_all": {} } }'
# Enable the Elasticsearch "scan" search type. This will disable
# sorting but increase speed and performance.
config :scan, :validate => :boolean, :default => true