Head plugin not working


#1

I installed head but the browser cannot access the plugin.

Here is what i get:

ubuntu@ip-10-0-0-230:~$ ./elasticsearch-2.0.0/bin/plugin list
Installed plugins in /home/ubuntu/elasticsearch-2.0.0/plugins:
    - license
    - head
    - watcher
    - delete-by-query

I am using an Amazon EC2 instance and the ports open are: 5601, 9200


(David Pilato) #2

try locally to do a curl localhost:9200/_plugin/head/
May be you did not define network.host which is a common error.

By default, it's bound to local only so your server is protected by default.

BTW: it's a bad thing to open elasticsearch to the internet without any security layer like Shield.

Also, if you want something ready out of the box, have a look at https://www.elastic.co/found. Might help.


(Ivan Brusic) #3

Opening ports on AWS does not mean opening the server to the internet. You
are still behind the security group/firewall.

Quite simply, head does not work with Elasticsearch 2.x. I think you should
at least be able to see it, but it will not work since the APIs have
changed.

Ivan


(system) #4