logstash-plugins / logstash-output-elasticsearch

https://www.elastic.co/guide/en/logstash/current/plugins-outputs-elasticsearch.html
Apache License 2.0
219 stars 305 forks source link

Add filter_path to bulk messages #1154

Closed robbavey closed 11 months ago

robbavey commented 11 months ago

This commit sets the filter_path query parameter when sending messages to Elasticsearch using the bulk API. This should significantly reduce the size of the query response from Elasticsearch, which should help reduce bandwidth usage, and improve response processing speed due to the lesser amount of JSON to deserialize

Resolves: #1153