1、ES配置文件 elasticsearch.yml
cluster.name: elasticsearch node.name: node-1 network.host: 0.0.0.0 discovery.type: single-node xpack.security.enabled: true xpack.security.authc.api_key.enabled: true
设置密码
/usr/share/elasticsearch/bin/elasticsearch-setup-passwords auto
会自动生成如下用户和密码
Changed password for user apm_system
PASSWORD apm_system = lptBmZuUxXFhapVn6Wp9
Changed password for user kibana_system
PASSWORD kibana_system = YdL4LTq8xrLKA9yp5VuG
Changed password for user kibana
PASSWORD kibana = YdL4LTq8xrLKA9yp5VuG
Changed password for user logstash_system
PASSWORD logstash_system = L721FwcFxVZhits3x0GC
Changed password for user beats_system
PASSWORD beats_system = 3K3IDdptiDy64aboWmaH
Changed password for user remote_monitoring_user
PASSWORD remote_monitoring_user = zNaRrGQAt0cbmbflmrCa
Changed password for user elastic
PASSWORD elastic = cWssWIcIi8NPGIuBhlYU
其中
kibana用户:配置为kibana配置文件
elastic用户:做登录认证
2、kibana.yml
elasticsearch.hosts: http://elasticsearch:9200 elasticsearch.username: "kibana" elasticsearch.password: "YdL4LTq8xrLKA9yp5VuG" i18n.locale: zh-CN server.host: "0" server.name: kibana
标签:7.17,Changed,system,kibana,Elasticsearch,user,elasticsearch,password,pack From: https://www.cnblogs.com/deny/p/17774195.html