lib/logstash/inputs/elasticsearch/aggregation.rb in logstash-input-elasticsearch-4.20.3 vs lib/logstash/inputs/elasticsearch/aggregation.rb in logstash-input-elasticsearch-4.20.4

- old
+ new

@@ -14,10 +14,10 @@ @size = @plugin_params["size"] @query = @plugin_params["query"] @retries = @plugin_params["retries"] @agg_options = { - :index => @index, + :index => @plugin_params["index"], :size => 0 }.merge(:body => @query) @plugin = plugin end