Need help with elasticsearch-head?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

8.4K Stars 1.8K Forks Other 605 Commits 166 Opened issues


A web front end for an elastic search cluster

Services available


Need anything else?

Contributors list

h1. elasticsearch-head

h2. A web front end for an Elasticsearch cluster

h3. "":

h2. Running

There are multiple ways of running elasticsearch-head.

h4. Running with built in server

This will start a local webserver running on port 9100 serving elasticsearch-head

h4. Running with docker

h4. Running as a Chrome extension

  • Install "ElasticSearch Head": from the Chrome Web Store.
  • Click the extension icon in the toolbar of your web browser.
  • Note that you don't need to "enable CORS":#enable-cors-in-elasticsearch with this method.

h4. Running as a plugin of Elasticsearch (deprecated)

  • for Elasticsearch 5.x, 6.x, and 7.x: site plugins are not supported. Run "as a standalone server":#running-with-built-in-server
  • for Elasticsearch 2.x: @sudo elasticsearch/bin/plugin install mobz/[email protected]
  • for Elasticsearch 1.x: @sudo elasticsearch/bin/plugin -install mobz/elasticsearch-head/[email protected]
  • for Elasticsearch 0.x: @sudo elasticsearch/bin/plugin -install mobz/elasticsearch-head/[email protected]

  • @open http://localhost:9200/_plugin/head/@

This will automatically download the appropriate version of elasticsearch-head from github and run it as a plugin within the elasticsearch cluster. In this mode elasticsearch-head automatically connects to the node that is running it

h4. Running with the local proxy

This is an experimental feature which creates a local proxy for many remote elasticsearch clusters

At the moment it only works with @grunt [email protected] running on http://localhost:9100

h4. Alternatives

  • File System: elastisearch-head is a standalone webapp written in good-ol' html5. This means, you can put it up on any webserver, run it directly from the filesystem. It'll even fit on a floppy disk.
  • DEB package: There is an unofficial deb package. the plugin executable will be available at @/usr/share/elasticsearch/bin/[email protected]
  • Homebrew: There is an unofficial keg. The plugin executable will be available at @/usr/local/Cellar/elasticsearch/(elasticsearch version)/libexec/bin/[email protected]

h3. Connecting to elasticsearch

By default elasticsearch exposes a http rest API on port 9200 which elasticsearch-head connects to.

h4. Enable CORS in elasticsearch

When not running as a Chrome extension or as a plugin of elasticsearch (which is not even possible from version 5), you must enable "CORS": in elasticsearch, or else your browser will reject elasticsearch-head's requests due to violation of the same-origin policy.

In elasticsearch configuration;

  • add @http.cors.enabled: [email protected]
  • you must also set @[email protected] because no origin allowed by default. @http.cors.allow-origin: ""@ is valid value, however it's considered as a security risk as your cluster is open to cross origin from *anywhere.

h4. Basic Authentication

elasticsearch-head will add basic auth headers to each request if you pass in the "correct url parameters":#url-parameters You will also need to add @http.cors.allow-headers: [email protected] to the elasticsearch configuration

h4. x-pack

elasticsearch x-pack requires basic authentication and CORS as described above. Make sure you have the correct CORS setup and then open es-head with a url like "http://localhost:9100/?authuser=elastic&authpassword=changeme"

h4. URL Parameters

Parameters may be appended to the url to set an initial state eg. @head/index.html?base_uri=[email protected]

  • @[email protected] force elasticsearch-head to connect to a particular node.
  • @[email protected] experimental feature to open elasticsearch-head in a mode suitable for dashboard / radiator. Accepts one parameter @[email protected]
  • @[email protected] adds basic auth credentials to http requests ( requires "elasticsearch-http-basic": plugin or a reverse proxy )
  • @[email protected] basic auth password as above (note: without "additional security layers":, passwords are sent over the network in the clear )
  • @[email protected] force elasticsearch-head to use specified ui language (eg: en, fr, pt, zh, zh-TW, tr, ja)

h4. Contributing

To contribute to elasticsearch-head you will need the following developer tools

git and a "github": account

"node ( including npm )":


(to run jasmine tests) "phantomjs":


create a fork of elasticsearch-head on github

clone your fork to your machine

@cd [email protected]

@npm [email protected] # downloads node dev dependencies

@grunt [email protected] # builds the distribution files, then watches the src directory for changes (if you have an warning like "Warning: Task "clean" failed. Use --force to continue.", well use --force ;) )

Changes to both _site and src directories must be committed, to allow people to run elasticsearch-head without running dev tools and follow existing dev patterns, such as indenting with tabs.

h5. Contributing an Internationalisation

  • Simplified Chinese by "darkcount":
  • Traditional Chinese by "kewang":
  • English (primary) by "Ben Birch":
  • French by "David Pilato":
  • Portuguese by "caiodangelo":
  • Turkish by "Cemre Mengu":
  • Japanese by "Satoshi Kimura":
  • Vietnamese by "Du Tran":

To contribute an internationalisation

Follow "Contributing" instructions above

Find your 2-character "ISO 639-1 language code":

edit site/index.html to add your 2 letter language code to the data-langs attribute of this line @<script src="site/i18n.js" data-baseDir="site/lang" data-langs="en,fr,yourlang_here">@

make a copy of @src/app/langs/[email protected] prefixed with your language code

convert english strings and fragments to your language. "Formatting Rules":

Submit a pull request

! Screenshot)!

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.