AXA - Visualize: Request Timeout after 90000ms
search cancel

AXA - Visualize: Request Timeout after 90000ms

book

Article ID: 212405

calendar_today

Updated On:

Products

CA Application Performance Management (APM / Wily / Introscope)

Issue/Introduction

The Kibana or Elastic timeout is set to 90 seconds but there is the need to execute a huge query to export some data that takes more than this time. Is there a way to increase the Kibana timeout?

Environment

AXA 17.x OnPremise

Resolution

The property in kibana.yml controlling the timeout is called "elasticsearch.requestTimeout". It works at Tenant level so you would need to update the kibana.yml for the tenant you are interested in increasing the timeout, eg: 

[root@lvntest aoPlatform]# locate kibana.yml
/opt/ca/aoPlatform/kibana/kibana-5.6.5-linux-x64_dxicustom/config/kibana.yml
/opt/ca/aoPlatform/kibana/tenants/kibana.axa-userstore.5611/config/kibana.yml
/opt/ca/aoPlatform/kibana/tenants/kibana.defaultorg.5610/config/kibana.yml
/opt/ca/sw/kibana/kibana-5.6.5-linux-x64_dxicustom/config/kibana.yml

Increase "elasticsearch.requestTimeout property:
# Time in milliseconds to wait for responses from the back end or Elasticsearch. This value
# must be a positive integer.
elasticsearch.requestTimeout: 90000

 

NOTE: Please use it with caution, once the query is executed successfully we would recommend to revert back the change to default value otherwise it can cause instability