1、将x-pack复制到elasticsearch的plugins目录下面

2、启动elasticsearch

.bin/elasticsearch &

elasticsearch添加访问密码

3、修改指定用户密码
PUT
http://ip:9200/_xpack/security/user/用户名/_password
header参数: Authorization Basic ZWxhc3RpYzpjaGFuZ2VtZQ==(原始用户:密码base64加密:elastic:changeme)
body:
{
    "password":"Huaweiapi@#"
}

 

 

相关文章:

  • 2021-12-17
  • 2021-10-04
  • 2022-12-23
  • 2022-12-23
  • 2022-03-02
  • 2022-12-23
  • 2021-05-21
猜你喜欢
  • 2022-02-28
  • 2021-11-21
  • 2022-01-20
  • 2022-12-23
  • 2021-11-06
  • 2021-08-07
相关资源
相似解决方案