Skip to content

Commit 871008c

Browse files
better default value for include_hits
1 parent dce942f commit 871008c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/logstash/filters/elasticsearch.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class LogStash::Filters::Elasticsearch < LogStash::Filters::Base
6565
config :enable_sort, :validate => :boolean, :default => true
6666

6767
# Whether to set hits to metadata
68-
config :include_hits, :validate => :boolean, :default => true
68+
config :include_hits, :validate => :boolean, :default => false
6969

7070
# How many results to return
7171
config :result_size, :validate => :number, :default => 1

0 commit comments

Comments
 (0)