Open tsullivan opened 2 weeks ago
Pinging @elastic/appex-sharedux (Team:SharedUX)
In addition to sending the job ID in the x-opaque-id header along with requests made to Elasticsearch, we should also update the way we add the job ID to the logging tags, to make it easier to search logs by job ID using the default analyzer, when logs are stored in Elasticsearch.
BEFORE | const logger = this.logger.get(``execute-job:${jobId}``); |
AFTER | const logger = this.logger.get('execute-job', jobId); |
When Kibana sends requests to Elasticsearch for CSV job execution, we should send the report job ID in the x-opaque-id header. This will make it easier to see what is happening on the ES side during report generation.