X-pack安装

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了X-pack安装相关的知识,希望对你有一定的参考价值。

Install X-Pack

install 文档https://www.elastic.co/cn/downloads/x-pack

Install X-Pack into Elasticsearch

执行命令(需要找到elasticsearch的bin目录)/usr/share/elasticsearch

bin/elasticsearch-plugin install x-pack

To install X-Pack on a DEB/RPM installation of the Elastic Stack, see DEB/RPM installation instructions. If you are using the Windows MSI Installer package, you will have the option to install X-Pack during the plugins installation step.

 

REStart or Start Elasticsearch

bin/elasticsearch

 

Generate default passwords(这些密码全部保留下面用的到)

bin/x-pack/setup-passwords auto

Note the passwords for elastic and kibana users

 

Install X-Pack into Kibana

执行命令(需要找到kibana的bin目录)/usr/share/kibana

bin/kibana-plugin install x-pack

 

Add credentials to the kibana.yml file

elasticsearch.username: "kibana"
elasticsearch.password:  "<pwd>"

<pwd> is the password for the kibana user auto generated in step 3. If you set up TLS in step 2, also add your certificates to the kibana.yml file.


Start or Restart Kibana

bin/kibana
  • Navigate to Kibana at http://localhost:5601/

  • Log in as the built-in elastic user with the auto-generated password from step 3

 

Dive into the getting started guide.


以上是关于X-pack安装的主要内容,如果未能解决你的问题,请参考以下文章

x-pack安装

Elasticsearch + Kibana + X-Pack

ElasticSearch Kibana 和Logstash 安装x-pack记录

ELK的安全解决方案 X-Pack

X-pack安装

安装X-Pack插件之后Logstash无法连接Elasticsearch