mobz / elasticsearch-head

A web front end for an elastic search cluster
http://mobz.github.io/elasticsearch-head/
Other
9.42k stars 2.02k forks source link

[Suggestion] support multi es address #416

Open fishjam opened 5 years ago

fishjam commented 5 years ago

I'm using es head plugin in Chrome, it's very useful for us. But there are multi environment for us, example: dev, test, production, etc. I have to input address while want connect to new env.

So I hope that head can support multi es address, example:

  1. use drop-down list control with history support;
  2. support config file, same as application.conf in cerebro.

Thank you. image

OnscopeGit commented 5 years ago

Hi, I also use cerebro and like the possibility of listing the connections in the config file. I have created a simple web page that I put in my head folder with a list of connections. It provides a home page with all the possible connections without adding the complexity of changing the head code. See attached file as a template to adapt to your need if you like the idea. connect.html.txt (edit: little correction to the template)

philipskokoh commented 5 years ago

Basically you can use URL parameter to connect to specific node directly. https://github.com/mobz/elasticsearch-head#url-parameters Then use browser bookmark to save many head URLs connecting different clusters.