2

我正在尝试在 Windows 上安装 ES 和 Kibana 的奇迹感插件。我有 ES 版本 2.2.0 和 Kibana 版本 4.4.0

这是我试图做的

对于 ES

plugin install license

我明白了

-> Installing license...
Trying https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugi
n/license/2.2.0/license-2.2.0.zip ...
ERROR: failed to download out of all possible locations..., use --verbose to get
 detailed information

我也试过

plugin install marvel-agent

但我明白了

-> Installing marvel-agent...
Trying https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugi
n/marvel-agent/2.2.0/marvel-agent-2.2.0.zip ...
ERROR: failed to download out of all possible locations..., use --verbose to get
 detailed information

对于 Kibana,我知道这行不通,但仍然

我试过了

plugin --install elasticsearch/marvel/latest

我明白了

Installing marvel
Attempting to transfer from https://download.elastic.co/elasticsearch/marvel/mar
vel-latest.tar.gz
Error: Client request error: connect ETIMEDOUT
Plugin installation was unsuccessful due to error "Client request error: connect
 ETIMEDOUT"

有没有人遇到过类似的问题?任何帮助,将不胜感激。对于 ES 2.1 和 Kibana 4.3,我没有遇到这些问题

我从 ES 网站下载了所有内容。

编辑

如上所述的离线安装

https://www.elastic.co/guide/en/marvel/current/installing-marvel.html#offline-installation

适用于 ES 但不适用于 Kibana。它抱怨无效的网址。

4

2 回答 2

1

对于它建议使用 --verbose 的每个失败,在这样做时,您应该会看到它尝试下载的 URL 的 FileNotFoundException。

但是,我刚刚在 Windows 机器上安装了 Marvel for Elasticsearch 2.2.0,使用与您相同的命令:

...\elasticsearch-2.2.0\bin>plugin install license

如您所见,它尝试使用的 URL 与您的匹配,因此该包应该可用。

-> Installing license...
Trying https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/license/2.2.0/license-2.2.0.zip ...
Downloading .......DONE
Verifying https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/license/2.2.0/license-2.2.0.zip checksums if available ...
Downloading .DONE
Installed license into C:\Elasticsearch\elasticsearch-2.2.0\plugins\license

您是从 \bin 发出命令吗?

于 2016-02-03T19:09:35.010 回答
0

这个命令在代理后面似乎不能很好地工作,而且通常的 http_proxy 环境变量似乎也不能在这里使用。

根据此链接,您可以设置一些参数来指定代理设置,但是那里的命令是为 marvel 1.x 设置的。下面的命令对我有用:

./bin/plugin -DproxyPort=port_number -DproxyHost=hostname install license

更多信息也可以在这里的弹性搜索文档中找到

于 2016-02-29T21:44:36.097 回答