es请求number_of_replicas带xpack认证

请求为 curl -H "Content-Type: application/json" -XPUT -u elastic:XXXX "http://XXXXXX9200/_settings" -d '{"number_of_replicas" : 0}

posted @ 2020-12-02 14:30  技术颜良  阅读(109)  评论(0编辑  收藏  举报