Elastic Search managed ignores X-Opaque-id header

0

Elastic Search managed ignores X-Opaque-id header Elastic Search docs mentions with the use of an X-Opaque-id in the requests we can track the queries. The X-Opaque-id header should be forwarded in the response. However this doesn't work with AWS managed Elastic Search

to aws elasticsearch:

curl -i --http1.1 -H 'X-Opaque-Id: 12345'  "http://aws_elastic_sarch_url/_cat/health"
HTTP/1.1 200 OK
Date: Wed, 03 Aug 2022 07:56:35 GMT
Content-Type: text/plain;charset=UTF-8
Content-Length: 100
Connection: keep-alive
Access-Control-Allow-Origin: *
1659513395 07:56:35 aws-elasticsearch green 7 4 true 7976 3978 0 0 0 0 - 100.0%

to raw elasticsearch:

curl -i --http1.1 -H 'X-Opaque-Id: 12345'  "http://raw_elastic_sarch_url/_cat/health"
HTTP/1.1 200 OK
X-Opaque-Id: 12345
content-type: text/plain; charset=UTF-8
content-length: 66
1659516213 08:43:33 docker-cluster green 1 1 0 0 0 0 0 0 - 100.0%

Any solutions for using X-opaque-id headers with AWS ElasticSearch?

답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인