x-pack[暂不考虑]

2020-01-08  本文已影响0人  syp_xp

配置用户名、密码

配置文件

# 开启xpack认证
xpack.security.enabled: true
xpack.license.self_generated.type: basic
xpack.security.transport.ssl.enabled: true
# 开启跨域
http.cors.enabled: true 
http.cors.allow-origin: "*"
http.cors.allow-headers: Authorization

命令行
./elasticsearch-setup-passwords interactive

kibana配置
elasticsearch.username: "elastic"
elasticsearch.password: "passwd"
上一篇下一篇

猜你喜欢

热点阅读