How to read data saved in Elasticsearch Domain to my application

i have created a ElasticSearch Domain in Amazon Webservices and i sent and stored data to elasticsearch domain using MQTT Client and analyzed this data using Kibana visualizing tool .Now i want that stored data into my application ,How can i get that data into my application? can anyone suggest me?

i followed the steps given in the bellow link:

Have you thought about using the native or community driven clients to query your data?

Hi Jymit Singh,

 Thank you for responding, Yes i am using java REST client library to access it. I  am using amazon managed (AWS) Elasticsearch. My dought is what i have to use in place of "localhost" in the bellow piece of code. 

RestClient restClient = RestClient.builder(
new HttpHost("localhost", 9200, "http"),
new HttpHost("localhost", 9201, "http")).build();

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