39

我正在尝试为 elasticsearch/kibana 安装 sense 插件。我已经成功安装了 Kibana,但是当按照https://www.elastic.co/guide/en/sense/current/installing.html上的说明进行操作时, 我在 kibana 文件夹内的 bin 目录中输入: ./kibana plugin --install elastic/sense,然后我得到:

 ERROR  unknown command plugin

  Usage: bin/kibana [command=serve] [options]

  Kibana is an open source (Apache Licensed), browser based analytics and search dashboard for Elasticsearch.

  Commands:
    serve  [options]  Run the kibana server
    help  <command>   Get the help for a specific command

  "serve" Options:

    -h, --help                 output usage information
    -e, --elasticsearch <uri>  Elasticsearch instance
    -c, --config <path>        Path to the config file, can be changed with the CONFIG_PATH environment variable as well. Use mulitple --config args to include multiple config files.
    -p, --port <port>          The port to bind to
    -q, --quiet                Prevent all logging except errors
    -Q, --silent               Prevent all logging
    --verbose                  Turns on verbose logging
    -H, --host <host>          The host to bind to
    -l, --log-file <path>      The file to log to
    --plugin-dir <path>        A path to scan for plugins, this can be specified multiple times to specify multiple directories
    --plugin-path <path>       A path to a plugin which should be included by the server, this can be specified multiple times to specify multiple paths
    --plugins <path>           an alias for --plugin-dir

我不知道为什么会出现此错误,那我该如何安装 sense 插件?

4

6 回答 6

59

正如wuxiwei所说,Sense 已重命名为 Console,并且已经在 Kibana 5.* 上可用。在 Kibana 中,只需单击Dev Tools

在此处输入图像描述

于 2017-02-24T12:22:43.443 回答
22

Sense 已重命名为 Console 并内置于 Kibana 5。您可以通过单击 Dev Tools 应用程序找到它。

于 2016-12-10T06:17:49.407 回答
5

Sense 现在作为控制台包含在 Kibana 5.0 中。您可以查看以下链接: https://github.com/elastic/sense/blob/master/README.md

无需单独安装 sense,因为它现在包含在 Console 中。
elasticsearch 和 kibana 应该正在运行,然后可以在以下位置找到控制台:
http://localhost:5601/app/kibana#/dev_tools/console

于 2017-12-04T09:42:12.350 回答
0

它被重命名为Console. 启动后Kibana,可以Console直接从http://localhost:5601/app/kibana#/dev_tools/console轻松浏览

于 2019-06-10T04:15:18.280 回答
0

手动下载 Kibana 的 bin/plugin 脚本需要直接访问 Internet 才能下载和安装 Sense。如果您的服务器无法访问 Internet,您可以从以下链接下载 Sense tar 文件:https ://download.elasticsearch.org/elastic/sense/sense-latest.tar.gz

下载后,您可以使用以下命令安装 Sense:

$ bin/kibana plugin -i sense -u file:///PATH_TO_SENSE_TAR_FILE
于 2017-11-18T07:30:46.917 回答
0

我正在使用 kibana 6.5.4,现在我们使用Dev Tools而不是使用 sense 插件。启动新版kibana服务后输入: http: //127.0.0.1 :5601/app/kibana ,左侧会出现Dev Tools 。

于 2019-01-25T09:39:20.337 回答