Elasticsearch X-Opaque-Id Not in application.log Exception

In https://github.com/elastic/elasticsearch/issues/31521 Elasticsearch added X-Opaque-Id to slow log and access log. One more use case for me is to link X-Opaque-Id to exception trace whenever ES throws exception, which would be logged in root level ES application.log

I'm wondering if there is any support plan or workaround to achieve it, that I would be able to link TaskId to ES exception trace in the log? Meanwhile I created Issue https://github.com/elastic/elasticsearch/issues/51451 in the backlog

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.