I have created an account on this website ( https://www.elastic.co/downloads/ ), I have an access to elastic-stack. But, could you please tell me how can I see elasticsearch Uri to use it in my own application.
Do you mean that you created an account on cloud.elastic.co? And deployed a cluster?
Yes. I deployed a cluster.
I can use this for example = https://i.gyazo.com/189df639c1cdb5a6d459c787591b2e3d.jpg
but i need to have Uri elastic to connect from Java code
private static synchronized RestHighLevelClient makeConnection() {
if (restHighLevelClient == null `) {
restHighLevelClient = new RestHighLevelClient(
RestClient.builder
new HttpHost(HOST, PORT_ONE, SCHEME) <---I need HOST
Ok. Go to you deployment in cloud.elastic.co. Then click on Copy Endpoint button.
