missing authentication credentials for REST request
missing authentication credentials for REST request问题解决方式原来是因为ElasticSearch开启了XPack认证,所以执行curl的时候,需要携带认证信息修改为curl --user elastic:123456 -H 'Content-Type: application/x-ndjson' -XPOST '192.168.111.10:9200/bank/account/_bulk?pretty' --data-b
复制链接