ELK StackのX-Pack取付使用の詳細
一、準備作業X-Packをインストールする前に、Elasticsearch 6.x、Kibana 6.x、Logstash 6.x関連ソフトウェアがインストールされていることを確認する.インストール方法を参照してください.http://blog.csdn.net/guyan0319/article/details/78749639
二、X-Pack 1の取り付け、Elasticsearchのx-packの取り付け
Elasticsearchインストールディレクトリ
の表示
Continue with installation?[y/N]yを入力すればelasticsearchを再起動できます
デフォルトアカウントの生成
Please confirm that you would like to continue[y/N]入力yが表示されると、アカウント
が生成され、elasticアカウントはスーパーアカウントであるため、権限2、KibanaインストールX-Pack kibanaインストールディレクトリを表示する
kibana.yml追加の編集
kibanaの再起動
3、logstashインストールx-pack logstashディレクトリを見る
logstash.ymlの構成
ふえる
ログイン検証をキャンセルしたい場合は、elasticsearchとkibana、logstashの構成にそれぞれ追加します
参考文献:https://www.elastic.co/downloads/x-pack https://www.elastic.co/guide/en/x-pack/current/xpack-introduction.html
二、X-Pack 1の取り付け、Elasticsearchのx-packの取り付け
whereis elasticsearch
Elasticsearchインストールディレクトリ

cd /usr/share/elasticsearch
bin/elasticsearch-plugin install x-pack
Continue with installation?[y/N]yを入力すればelasticsearchを再起動できます
systemctl restart elasticsearch
デフォルトアカウントの生成
bin/x-pack/setup-passwords auto
Please confirm that you would like to continue[y/N]入力yが表示されると、アカウント

whereis kibana
cd /usr/share/kibana
bin/kibana-plugin install x-pack
kibana.yml追加の編集
elasticsearch.username: "elastic"
elasticsearch.password: "f@Na@XAtzdfOJd3Al_" #
kibanaの再起動
systemctl restart kibana
3、logstashインストールx-pack logstashディレクトリを見る
whereis logstash
cd /usr/share/logstash
bin/logstash-plugin install x-pack
logstash.ymlの構成
vim /etc/logstash/logstash.yml
ふえる
xpack.monitoring.elasticsearch.username: logstash_system
xpack.monitoring.elasticsearch.password: logstashpassword # 1
ログイン検証をキャンセルしたい場合は、elasticsearchとkibana、logstashの構成にそれぞれ追加します
xpack.security.enabled: false
参考文献:https://www.elastic.co/downloads/x-pack https://www.elastic.co/guide/en/x-pack/current/xpack-introduction.html