logstash-plugins / logstash-input-elasticsearch

Apache License 2.0
40 stars 88 forks source link

Add `x-elastic-product-origin` header to all places that make requests to Elasticsearch #212

Open jsvd opened 1 week ago

jsvd commented 1 week ago

The Logstash Elasticsearch input plugin makes HTTP requests to the following Elasticsearch endpoints:

GET /
HEAD /
POST /index/_pit
POST /_search?size=
POST /_search?scroll=
POST /index/_search?scroll=
DELETE /_pit
DELETE /_search/scroll

Each of these calls should include the x-elastic-internal-origin header to the HTTP request made to Elasticsearch

robbavey commented 3 days ago

Updated to correct the header name to x-elastic-product-origin