Context: Gateway Timeout while click on View Surrounding Documents in kibana

We’re seeing gateway timeout error while clicking on view surrounding documents button in Kibana for any given transaction. In management --> Advance settings --> under "context:tieBreakerFields" , I have added some fields "@timestamp, log_type, x-global-transaction-id, message, uri_path" for sorting of docs. Still getting the same error.

. Need help to resolve it.

Error: Gateway Timeout
at respond (
at checkRespForFailure (
at processQueue (
at Scope.$digest (
at Scope.$apply (
at done (
at completeRequest (
at XMLHttpRequest.xhr.onload (

Can you share what Kibana's route to Elasticsearch looks like? If there's a proxy or load balancer in front, you may need to increase the timeout.

We are connecting kibana to elastic search via load balancer. Idle timeout in LB is set to 60 secs. Also in kibana.yml , we have changed elastic search timeout to 180 sec. Still query is getting timeout in 30 seconds.
Please see attached screenshot and kibana.ymlELB

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