Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Elasticsearch x-pack installation configuration

Shulou Source: shulou.com Published: 2022-06-03 03:23:21 11月20日 Update

Official documents:

https://www.elastic.co/guide/en/x-pack/5.0/installing-xpack.html

Run the following command on each node in the cluster

bin/elasticsearch-plugin install x-pack Confirm that x-pack is granted additional permissions

Modify elasticsearch configuration elasticsearch.yml to allow x-pack to automatically create indexes:

action.auto_create_index: .security,.monitoring,.watches,.triggered_watches,.watcher-history Launch elasticsearch Install x-pack on kibana

bin/kibana-plugin install x-pack Start kibanax-pack Default user and password: elastic/changeme Uninstall:

bin/elasticsearch-plugin remove x-pack

bin/kibana-plugin remove x-pack Add configuration on elasticsearch.yml and kibana.yml

#x-pack

xpack.security.enabled: true

xpack.monitoring.enabled: true

xpack.graph.enabled: true

xpack.watcher.enabled: true (configured only on elasticsearch.yml)

xpack.reporting.enabled: true (configured only on kibana.yml) Modify x-pack password

curl -XPUT -u elastic 'localhost:9200/_xpack/security/user/elastic/_password' -d '{

"password" : "test123"

}'

After confirmation, enter the original password to modify successfully

Tags: Configuration password success Command official document permission user Index Node Cluster input run Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple Shulou Technology Shulou Information MariaDB MySQL