Подтвердить что ты не робот

Установите плагин marvel для Elasticsearch

Я загрузил версию 1.1.0 elasticsearch, и она работает хорошо. Я хотел бы установить плагин marvel, поэтому я запускаю следующую команду из домашнего каталога elasticsearch (точно так же, как сказано в официальном учебнике на http://www.elasticsearch.org/guide/en/marvel/current/#_simple_install):

bin\plugin -i elasticsearch/marvel/latest

Но я получаю следующую ошибку:

-> Installing elasticsearch/marvel/latest...
Trying http://download.elasticsearch.org/elasticsearch/marvel/marvel-latest.zip.
..
Trying http://search.maven.org/remotecontent?filepath=elasticsearch/marvel/lates
t/marvel-latest.zip...
Trying https://oss.sonatype.org/service/local/repositories/releases/content/elas
ticsearch/marvel/latest/marvel-latest.zip...
Trying https://github.com/elasticsearch/marvel/archive/vlatest.zip...
Trying https://github.com/elasticsearch/marvel/archive/master.zip...
Failed to install elasticsearch/marvel/latest, reason: failed to download out of
 all possible locations..., use -verbose to get detailed information

И это то, что я получаю, когда использую -verbose:

-> Installing elasticsearch/marvel/latest...
Trying http://download.elasticsearch.org/elasticsearch/marvel/marvel-latest.zip.
..
Failed: UnknownHostException[download.elasticsearch.org]
Trying http://search.maven.org/remotecontent?filepath=elasticsearch/marvel/lates
t/marvel-latest.zip...
Failed: UnknownHostException[search.maven.org]
Trying https://oss.sonatype.org/service/local/repositories/releases/content/elas
ticsearch/marvel/latest/marvel-latest.zip...
Failed: UnknownHostException[oss.sonatype.org]
Trying https://github.com/elasticsearch/marvel/archive/vlatest.zip...
Failed: UnknownHostException[github.com]
Trying https://github.com/elasticsearch/marvel/archive/master.zip...
Failed: UnknownHostException[github.com]
Failed to install elasticsearch/marvel/latest, reason: failed to download out of
 all possible locations..., use -verbose to get detailed information
4b9b3361

Ответ 1

Вы можете попытаться перейти к адресу http://download.elasticsearch.org/elasticsearch/marvel/marvel-latest.zip с помощью вашего веб-браузера. Если вы можете скачать marvel-latest.zip таким образом, вы можете вручную создать каталог плагинов в каталоге elasticsearch и распаковать файл marvel-latest.zip в каталог плагинов, то есть содержимое zip должно перейти в каталог плагинов \marvel в домашнем каталоге ElasticSearch.

Обязательно переименуйте распакованную директорию с самого начала, чтобы удивиться, так что адрес

http://any-server-in-cluster:9200/_plugin/marvel/

предлагаемый в учебнике.

У меня была схожая проблема с ElasticSearch версии 1.1.1.

bin\plugin -i elasticsearch/marvel/latest
Команда

выдала ошибки FileNotFound, хотя с помощью веб-браузера я смог загрузить плагин и заставить его работать.

Ответ 2

Это работает для Elasticsearch 2.0+ и Kibana 4.2+ согласно https://www.elastic.co/downloads/marvel

Шаг 1: установите Marvel в Elasticsearch:

/path/to/elasticsearch/bin/./plugin install license

/path/to/elasticsearch/bin/./plugin install marvel-agent


Шаг 2: установите Marvel в Kibana

/path/to/kibana/bin/./kibana plugin --install elasticsearch/marvel/latest


Шаг 3: запустите Elasticsearch и Kibana

/path/to/elasticsearch/bin/./elasticsearch

/path/to/kibana/bin/./kibana


Шаг 4. Перейдите к http://localhost:5601/app/marvel


Шаг 5: для установки Sense в Kibana:

/path/to/kibana/bin/./kibana plugin --install elastic/sense

Ответ 3

Это работает для меня:

cd /usr/share/elasticsearch/bin
./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 /usr/share/elasticsearch/plugins/marvel

EDIT: установка лицензии

./plugin -i elasticsearch/license/latest

Ответ 4

Запустите свой CMD как администратор, и начнется загрузка последнего чуда.

Ответ 5

Вы можете получить доступ к следующим плагинам Elasticsearch: https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-plugins.html

Плагины, установленные для использования с Elasticsearch, сохраняются в папке "../usr/share/elasticsearch" (по умолчанию).

Чтобы установить плагин Marvel, вы можете:

cd ../usr/share/elasticsearch
bin/plugin -i elasticsearch/marvel/latest

Доступно в: https://www.elastic.co/guide/en/marvel/current/_installation.html

Ответ 6

Попробуйте запустить прокси-сервер, если вы находитесь за ним. Перейдите к вашему пути установки elasticsearch.

В моем случае > /usr/share/elasticsearch

cd /usr/share/elasticsearch

bin/plugin -DproxyPort=<porxyPort> -DproxyHost=<proxyHostDNSorIP> install license

bin/plugin -DproxyPort=<porxyPort> -DproxyHost=<proxyHostDNSorIP> install shield

Ответ 7

Вы можете попробовать установить вручную. следующие шаги: