Skip to content

Instantly share code, notes, and snippets.

@alabid
Last active August 9, 2016 15:38
Show Gist options
  • Save alabid/efe2ee41c6308e88103c to your computer and use it in GitHub Desktop.
Save alabid/efe2ee41c6308e88103c to your computer and use it in GitHub Desktop.

The installation directions for marvel -- a plugin for elastic search -- is very scant and unnecessarily indirect. The clearest instructions I found on how to install the marvel plugin through homebrew was on Twitter! Twitter! Why?! Anyways, to install marvel via brew, you can do this:

brew update
brew upgrade elasticsearch
cd /usr/local/Cellar/elasticsearch/<whatever version>
bin/plugin -i elasticsearch/marvel/latest
@arwhyte
Copy link

arwhyte commented Sep 10, 2015

Navigate to: http://localhost:9200/_plugin/marvel

@hzruandd
Copy link

hzruandd commented Nov 7, 2015

sudo bin/plugin install elasticsearch/marvel/latest
Password:
-> Installing elasticsearch/marvel/latest...
Trying https://download.elastic.co/elasticsearch/marvel/marvel-latest.zip ...
Trying https://search.maven.org/remotecontent?filepath=elasticsearch/marvel/latest/marvel-latest.zip ...
Trying https://oss.sonatype.org/service/local/repositories/releases/content/elasticsearch/marvel/latest/marvel-latest.zip ...
Trying https://github.com/elasticsearch/marvel/archive/latest.zip ...
Trying https://github.com/elasticsearch/marvel/archive/master.zip ...
ERROR: failed to download out of all possible locations..., use --verbose to get detailed information
what should i do?

@accesstoken
Copy link

@hzruandd
bin/plugin install marvel-agent

@ninjaPixel
Copy link

WIth the latest version, you'll need to install the licence too:

$ sudo bin/plugin install license
$ sudo bin/plugin install marvel-agent

@Miguelme
Copy link

I installed elasticsearch via brew but when I try to install marvel i have no plugin script inside the bin folder.

I did the following:

brew update
brew install elasticsearch

But i don't get to find the plugin script inside the bin folder. There is only the elasticsearch script.

Thanks in advance for any help.

@kdwade
Copy link

kdwade commented Apr 21, 2016

Same here. Looks like something broke in a recent version.

@iqbalmalik89
Copy link

iqbalmalik89 commented Apr 22, 2016

Same here. No plugin file inside the folder.

@Ovid
Copy link

Ovid commented Jul 20, 2016

As of version 2.3.4, inside of the elasticsearch directory, you'll find there is a libexec/bin folder. That contains the script you need

libexec/bin/plugin install license
libexec/bin/plugin install marvel-license

However, after I did that, my cluster health dropped to yellow and Marvel would not launch. This was on a brand-new install with no data in the index.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment