We recently introduced functionality to supply [custom headers to the Elasticsearch Input ](https://github.com/logstash-plugins/logstash-input-elasticsearch/pull/207) - the same functionality should also be in the Elasticsearch filter