Hello,
I want to use ES as embedded in my spring boot / spring-data based app.
That means I will have local node running inside my app. This is managed by
spring-data-elasticsearch.
How can I use marvel or elasticsearch-head in this case?
if I set http.enabled property, shouldn't I be able to access
localhost:9200?
It seems this is not the case. At least I cannot do that with
elasticsearch-head launched on localhost:9100.
Thanks, although not sure I understand.
Let me try to explain further.
I have an spring boot app with elasticsearch embedded.
app has an embedded tomcat and is available on localhost 8080.
How can I view ES stats and indices in this case.
I have been using elasticsearch-head for a while, but always on standalone
instance. Completely new to Marvel, but I guess it should work in the
similar way but connecting to the cluster/node through http, port 9200.
So, when I enter localhost:9200 in elasticseach-head, it connects to the
cluster and display node stats when I launch standalone ES server.
But how can I do that for embedded node which lives inside my app?
curl localhost:9200 returns curl: (7) couldn't connect to host
curl localhost:8080 will return my app page.
On Wednesday, 27 August 2014 12:15:42 UTC+2, Mark Walkom wrote:
You cannot launch/access a plugin on a different port, it has to be on the
same port that ES is running on.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.