Elasticsearch:Marvel和Sense插件安装不起作用

时间:2016-03-15 15:26:16

标签: kibana-4 elasticsearch-2.0

我已尝试过安装奇迹和感觉的在线和离线说明,但没有任何作用。我有ES 2.2.1和Kibana 4.4.2

我试过

plugin install marvel-agent

但是我得到了

Installing marvel-agent...
Trying https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/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

的错误相同
bin/plugin install license

bin/kibana plugin --install elasticsearch/marvel/latest

然后我尝试下载文件并按照

上的说明操作

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

我试过

plugin install file:///C:/Users/xyz/ElasticSearch/zips/marvel-agent-2.2.0.zip

但是我得到了

-> Installing from file:/C:/Users/xyz/ElasticSearch/zips/marvel-agent-2.2.0.zip...
Trying file:/C:/Users/xyz/ElasticSearch/zips/marvel-agent-2.2.0.zip ...
Downloading ..DONE
Verifying file:/C:/Users/xyz/ElasticSearch/zips/marvel-agent-2.2.0.zip checksums if available ...
NOTE: Unable to verify checksum for downloaded plugin (unable to find .sha1 or .md5 file to verify)

同样适用于

plugin install file:///C:/Users/xyz/ElasticSearch/zips/license-2.2.0.zip

最后是

kibana plugin --install marvel --url file:///C:/Users/xyz/ElasticSearch/zips/marvel-2.2.0.tar.gz

我得到了

Installing marvel
Attempting to transfer from file:///C:/Users/xyz/ElasticSearch/zips/marvel-2.2.0.tar.gz
Error: ENOTFOUND
Plugin installation was unsuccessful due to error "No valid url specified."

请指出我做错了什么。

2 个答案:

答案 0 :(得分:1)

对我来说,最后一条安装说明需要不同的网址格式。 文件:// C:/Temp/ElasticSearch/marvel-2.2.1.tar.gz。基本上,删除一个正斜杠。

答案 1 :(得分:0)

从以下链接下载Sense tar文件:https://download.elasticsearch.org/elastic/sense/sense-latest.tar.gz

打开cmd表单kibana \ bin位置 然后您可以使用以下命令安装Sense:

kibana plugin -i sense -u file:PATH_TO_SENSE_TAR_FILE