Open awuetz opened 2 years ago
How did you validate that the new timeout was enforced and that the request was still timing out? Do you have any steps to reproduce the issue?
Hello @awuetz, for first point I agree about the lack of information of possible configurations within OpenSearch Dashboards. There is a current issue here for the docs site to add more details: https://github.com/opensearch-project/documentation-website/issues/214.
got the same
tried to increase autocompleteTimeout
and autocompleteTerminateAfter
settings in config:
user1@myhost:/usr/share/opensearch-dashboards/config$ grep "autocomplete" opensearch_dashboards.yml
opensearchDashboards.autocompleteTimeout: 900000
opensearchDashboards.autocompleteTerminateAfter: 900000
and then restarted the dashboard service, and checked it again, but didn't get positive result:
p.s.: btw, i remember that this visualization was working like a charm in Kibana after increasing similar parameters up to 120000 ms with less number of events per week (about ~7-8 million)
Hello, It seems that autocompleteTerminateAfter parameter is in nanoseconds while the autocompleteTimeout parameter is in milliseconds. Try with the following values, it works for me :
opensearchDashboards.autocompleteTimeout: 900000
opensearchDashboards.autocompleteTerminateAfter: 900000000
Request :
Response:
Describe the bug
I wanted to use the visualization "controls" to have a dropdown list with predefined values which can be selected. This is working, but I noticed the exclamation mark, which tells me, that the list may be incomplete because the request is taking too long.
To work around this, i searched for the
autocomplete
settings in the opensearch_dashboards.yml file, but did not found anything about it. So by searching through this repo i suppose this settings are not documented in the defaultopensearch_dashboards.yml
After that i tried to set the
autocompleteTimeout
by looking through the code, so I tried:But with even 600000ms configured the warning in visualization "control" did not disappear.
To Reproduce
OpenSearch Version opensearch docker image 1.2.3
Dashboards Version opensearch-dashboard docker image 1.2.0
Screenshots
![2022-02-15_09h56_13](https://user-images.githubusercontent.com/8706881/154028766-3e3f26ee-8c46-4538-92f0-984fed9d9c32.png)
Host/Environment (please complete the following information):