不要急,总有办法的

通过 kibana 安装sense失败

Kibana | 作者 zhushaolong | 发布于2018年03月14日 | 阅读数:14222

大家好,我是小白,今天才开始安装了一下elasticsearch ,然后,在安装sense时,遇到了下面的问题:
根据这篇安装教程:安装并运行 Elasticsearch,我开始了我的表演。
但是到了安装sense时,发现了问题:
在 Kibana 目录下运行下面的命令,下载并安装 Sense app:
./bin/kibana plugin --install elastic/sense
没找到这个命令,倒是有个这样的命令
[vagrant@localhost kibana-6.2.2-linux-x86_64]$ ./bin/kibana-plugin -h

Usage: bin/kibana-plugin [command] [options]

The Kibana plugin manager enables you to install and remove plugins that provide additional functionality to Kibana

Commands:
list [options] list installed plugins
install [options] <plugin/url> install a plugin
remove [options] <plugin> remove a plugin
help <command> get the help for a specific command
开始自作聪明的尝试通过这个命令安装:
./bin/kibana-plugin install elastic/sense

报错:
Attempting to transfer from elastic/sense
Attempting to transfer from https://artifacts.elastic.co/d ... 2.zip
Plugin installation was unsuccessful due to error "No valid url specified."
好吧,开始尝试离线安装
[vagrant@localhost vagrant_data]$ ls
elasticsearch-5.6.8 kibana-6.2.2-linux-x86_64
elasticsearch-5.6.8.tar.gz kibana-6.2.2-linux-x86_64.tar.gz
sense-2.0.0-beta7.tar.gz
[vagrant@localhost vagrant_data]$ pwd
/vagrant_data


开始执行安装命令:
[vagrant@localhost kibana-6.2.2-linux-x86_64]$ ./bin/kibana-plugin install file:///vagrant_data/sense-2.0.0-beta7.tar.gz
Attempting to transfer from file:///vagrant_data/sense-2.0.0-beta7.tar.gz
Transferring 1386775 bytes....................
Transfer complete
Retrieving metadata from plugin archive
Error: end of central directory record signature not found
at /vagrant_data/kibana-6.2.2-linux-x86_64/node_modules/yauzl/index.js:179:14
at /vagrant_data/kibana-6.2.2-linux-x86_64/node_modules/yauzl/index.js:539:5
at /vagrant_data/kibana-6.2.2-linux-x86_64/node_modules/fd-slicer/index.js:32:7
at FSReqWrap.wrapper [as oncomplete] (fs.js:683:17)
Plugin installation was unsuccessful due to error "Error retrieving metadata from plugin archive"

又失败了。
./bin/kibana-plugin install https://download.elastic.co/el ... ar.gz
失败。。。报错信息相同。
说了,这么多,来个人帮个忙。怀疑人生了!
已邀请:

luohuanfeng

赞同来自: fanjieqi DeltaX wcl_24

你这版本都6.2.2了 .. 不需要装sense了, 好像是5.x版本以后就已经有了sense的功能

haiwuhua

赞同来自:

你好 启动kibana后 访问  [url=http://localhost:5601/app/sense]http://localhost:5601/app/sense​[/url] 报错
{
  "statusCode": 404,
  "error": "Not Found",
  "message": "Unknown app sense"
}

yayg2008

赞同来自:

直接用DevTools

要回复问题请先登录注册