Java High Level Rest Client - including a basepath to request urls

I have an API Gateway that will be put in-front of our elasticsearch APIs. It routes traffic by using a basepath. So a request url would look like the following.

https://api.example.com/elasticsearch/v1/exampleindex/_search

The gateway can send it to elasticsearch without the basepath.

Is there a way to configure the client to include a basepath?

Welcome!

This might help: RestHighLevelClient - Accessing an elastic http endpoint behind reverse proxy

Awesome this is exactly what I needed! Thank you so much!

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