Unable to search data, Query taking more than 300000 ms

Hello,

I am running query on open search 2.11 dashboard which is taking more than 300000 ms due to that getting 504 error response while fetching data. I don’t find any option to increase it.

Please let me know how increase it on open search level.

Thanks,

Hi @gadde36256 ,

Have you tried to change search.default_search_timeout parameter? You can find it in the search settings:

I reviewed documentation but i didn’t find option where to set these parameters, Can you pls provide navigation options in opensearch dash board.

Hi @gadde36256 ,

As per the documentation below, you need to change settings using the Cluster Settings API.

In the following page, you can find out more how to update cluster settings using the API: