We use ES in production. We generate our own transactionId / requestId for each request, so that we can trace the query. However, if there is a 400 / 500 error returned by ES (because of client or server error), there is no easy to to stitch the failure in the pipeline with ES failure other than looking at the timestamp in the logs.
Is there anyway to pass our own transactionId / requestId for each request that would be logged in ES logs (e.g. slow logs)?
One post asking similar question: Is there any way of tracking request id?
Thanks so much in advance.