Premise preparation
6.7.0-install kibana: " elasticsearch-series 6.7.0 (c) 5601 port kibana - ES UI interface "
Upgrade license before the ES
Before upgrading visit: http: //192.168.10.110: 9200 / _xpack a security which reads as follows:
security description "Security for the Elastic Stack" available false enabled true
Upgrade license in the kibana
Access Management in Kibana in -> Elasticsearch -> License Management, click the Upgrade License button on the right, a 30-day free trial Advanced License, kibana page will be displayed after the upgrade is completed as follows:
ES modify configuration files
elasticsearch-6.7.0 / config / elasticsearch.yml add the following configuration :
xpack.security.enabled: true xpack.ml.enabled: true xpack.license.self_generated.type: trial //表示试用的意思
Setting up a cluster password
./bin/elasticsearch-setup-passwords interactive Setting up a cluster Password:
A total of six modified user's password: elastic, kibana, apm_system, logstash_system, beats_system, remote_monitoring_user.
After modifying the configuration, and remember to restart ES !!!, kibana !!!
ES cluster to access a trial password
At this visit ES: http://192.168.10.110:9200 requires a user name and password:
Then a security access http://192.168.10.110:9200/_xpack which reads as follows:
security the Description " Security at The Elastic Stack for " the Available true // has changed from false to true, and represents a security setting successfully Enabled true