logstash-plugins / logstash-filter-elasticsearch

Elasticsearch filter for Logstash
Apache License 2.0
21 stars 83 forks source link

 Select only specific fields from elasticsearch #177

Open ShtykovaAA opened 1 year ago

ShtykovaAA commented 1 year ago

In current version of the plugin we can specify fields from old event that we want to fetch, but instead it returns all fields from document (and thereafter filters the result).

To optimize the elasticsearch request, we can pass the parameter _source, which will contain only necessary fields (we could take such fields from param fields).