Saturday 26 September 2015

Setting up Marvel & sense

Marvel is a management and interactive tool for Elastic search. Following is the procedure to install Marvel.

Go to bin directory of elastic search, run following command.

./ plugin -i elasticsearch/marvel/latest

$ ./plugin -i elasticsearch/marvel/latest
-> Installing elasticsearch/marvel/latest...
Trying http://download.elasticsearch.org/elasticsearch/marvel/marvel-latest.zip...
Downloading ...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................DONE
Installed elasticsearch/marvel/latest into /Users/harikrishna_gurram/softwares/elasticsearch-1.7.1/plugins/marvel

Once marvel installed successfully, you can view it in browser by hitting following URI.


It opens window like below.


Trouble shooting
If you got Connection failed error, there are two possible reasons.
a.   You elastic search cluster may not running. Check elastic search cluster is up and running.
b.   You are running Elasticsearch 1.4 or higher. Elasticsearch 1.4 ships with a security setting that prevents Kibana from connecting. You will need to set the following in your elasticsearch.yml.
b.1 http.cors.enabled: true
b.2 http.cors.allow-origin: http://localhost:8081

You can open Sense Developer console by clicking Dashboards -> Sense (Dashboards is located at upper right corner of Marvell window).
Note:
You can open sense window, by hitting following url also.

Sense User interface looks like below.





Prevoius                                                 Next                                                 Home

No comments:

Post a Comment