美文网首页
x-pack[暂不考虑]

x-pack[暂不考虑]

作者: syp_xp | 来源:发表于2020-01-08 09:54 被阅读0次

配置用户名、密码

配置文件

# 开启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"

相关文章

网友评论

      本文标题:x-pack[暂不考虑]

      本文链接:https://www.haomeiwen.com/subject/tdvjactx.html