From 7cf68bb86a48d2aa9a70cd2496dabc1702c85b0c Mon Sep 17 00:00:00 2001 From: Luca Belluccini Date: Fri, 13 Sep 2024 11:05:16 +0200 Subject: [PATCH] Add X-Elastic-Product-Origin --- .../outputs/elasticsearch/http_client/manticore_adapter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/logstash/outputs/elasticsearch/http_client/manticore_adapter.rb b/lib/logstash/outputs/elasticsearch/http_client/manticore_adapter.rb index ba128007..3261a427 100644 --- a/lib/logstash/outputs/elasticsearch/http_client/manticore_adapter.rb +++ b/lib/logstash/outputs/elasticsearch/http_client/manticore_adapter.rb @@ -2,7 +2,7 @@ require 'cgi' module LogStash; module Outputs; class ElasticSearch; class HttpClient; - DEFAULT_HEADERS = { "Content-Type" => "application/json" } + DEFAULT_HEADERS = { "Content-Type" => "application/json", "X-Elastic-Product-Origin": "logstash" } class ManticoreAdapter attr_reader :manticore, :logger