版本信息
elasticsearch-7.15.1
kibana-7.15.1-windows-x86_64
win10单机部署单节点es测试
配置信息
es配置:这里要用内网地址
network.host: 192.168.1.1
http.port: 9200
discovery.seed_hosts: ["192.168.1.1"]
cluster.initial_master_nodes: ["node-1", "node-2"]
#启用密码
xpack.security.enabled: true
xpack.security.transport.ssl.enabled: true
#使用默认密码
xpack.security.authc.accept_default_password: true
执行 bin/elasticsearch-setup-passwords.bat 修改密码
kibana配置
elasticsearch.hosts: ["http://192.168.1.1:9200"]
elasticsearch.username: "kibana_system"
elasticsearch.password: "123456"
xpack.security.encryptionKey: "abcdefghykkjdmdkdhgdsfuehsdkhfndskfhenfkdshfkenfkdenfe"
xpack.security.sessionTimeout: 600000
es的超级用户账号superuser是elastic用户,所以登录kibana要用elastic登录