创建超级用户
es 修改密码
[es@drtsdmdl01 elasticsearch-7.17.3]$ curl -XPUT -u TestSuper:1234qwer http://10.200.41.89:9200/_xpack/security/user/elastic/_password -H "Content-Type: application/json" -d '
{
"password": "NjKm9xP9eKIsLzeiOigV"
}'
创建超级用户
es 修改密码
[es@drtsdmdl01 elasticsearch-7.17.3]$ curl -XPUT -u TestSuper:1234qwer http://10.200.41.89:9200/_xpack/security/user/elastic/_password -H "Content-Type: application/json" -d '
{
"password": "NjKm9xP9eKIsLzeiOigV"
}'