Preventing too_long_frame_exception on GetAlias Rest client

We are on Elasticsearch 6.8 and recently start using rest client. Some of the rest API endpoints like getAlias(_alias) requests are GET requests with index names are included in the URL. When there are too many indices, the request fails with too_long_frame_exception. I know that we can configure the http.max_initial_line_length. We have thousands of indices and we need to call getAlias on all existing indices.
Is there a getAlias POST endpoint where we can pass the index names as the body of the request instead of url path? When it is not possible to configure the ES server, we have to resort to making multiple GET requests with small batches of index names.

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