Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Change Connect Input Box to User Settable list of ElasticSearch Endpoints #9

Open
bcharboneauiherb opened this issue Jan 26, 2018 · 4 comments

Comments

@bcharboneauiherb
Copy link

I use the Chrome Extension and it would be nice to see an option for User Settable List of Endpoints to connect to populated in a Dropdown (SELECT->OPTION) List for the Connect Box instead of the INPUT box, for fast switching between Clusters/Endpoints.

The Image shows an example of what I mean. I was able to do it using DevTools in Chrome to modify it for that moment. THe Submit still works, but the SELECT will change back to INPUT once it loads the new cluster selected.

Give option in the Plugin Settings to set Endpoint Name and Endpoint URL to be added in as

<select class="uiClusterConnect-uri" name="cluster">
  <option value="https://prodcluster.example.com">ES-Prod</option>
  <option value="https://testcluster.example.com">ES-Test</option>
  <option value="http://kibana-test.example.com:9200">Kibana-Test</option>
</select>

image

Same Feature Request as I reported for the main elastic search head application:
Change Connect Input Box to User Settable list of ElasticSearch Endpoints #379

@vocatan
Copy link
Contributor

vocatan commented Feb 19, 2018

you can mimic this by creating a folder in your bookmark bar, and then adding URLs to the chrome plugin, with the parameter base_uri embedded

For instance, I tunnel a port through SSH to a remote ElasticSearch server, so I have a bookmark that is named 'prod-ES' with the URL of
chrome-extension://ffmkiejjmecolpfloofpjologoblkegm/elasticsearch-head/index.html?base_uri=http://localhost:29200

In the end you get a nice menu to pick from..
image

@bcharboneauiherb
Copy link
Author

bcharboneauiherb commented Feb 19, 2018

Excellent Thanks for the tip. I did not see that anywhere in the documentation. Perhaps it can be added to the README for the chrome extension?

Maybe I missed it on the original application.

@thinkd1ff
Copy link

tks,that is what i need!

@nhoover
Copy link

nhoover commented Jul 2, 2018

Wow that works great! Thanks! Please add to the readme for others.

vocatan added a commit to vocatan/elasticsearch-head-chrome that referenced this issue Jul 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants