Thursday, January 5, 2017

How to install ElasticSearch plugin head on Ubuntu


Besides kibana, elasticsearch itself have it's own plugin, and one of the common plugin that people use on elasticsearch is the 'head' plugin. Using this plugin you can manage elasticsearch data with a nice clean web interface, it's almost like phpmyadmin for mysql.

How to install elasticsearch head on ubuntu (elasticsearch version 2.3.3)
  • find your elasticsearch bin directory (most likely /usr/share/elasticsearch/bin/)
  • cd /usr/share/elasticsearch/bin/
  • run this command to install plugin head
  • sudo ./plugin install mobz/elasticsearch-head
  • open with your favorite web browser, http://localhost:9200/_plugin/head/
  • http://localhost:9200/_plugin/head/
  • enjoy!


The installation method above works for elasticsearch version 2.x.x (mine is 2.3.3), for other version of elasticsearch the installation command is different, have a look at this:
– for Elasticsearch 5.x: site plugins are not supported. Run elasticsearch-head as a standalone server – for Elasticsearch 2.x – 4.x: sudo elasticsearch/bin/plugin install mobz/elasticsearch-head – for Elasticsearch 1.x: sudo elasticsearch/bin/plugin -install mobz/elasticsearch-head/1.x – for Elasticsearch 0.9: sudo elasticsearch/bin/plugin -install mobz/elasticsearch-head/0.9
Source : https://github.com/mobz/elasticsearch-head

No comments:

Post a Comment