将申请的基础版elaticsearch licence导入时出现“{"acknowledged":false,"license_status":"valid","acknowledge":{"message":"This license update requires acknowledgement. To acknowledge the license, please read the following messages and update the license again, this time with the \"acknowledge=true\" parameter:"”错误提示,其实需要在url中加入acknowledged=true参数,如下所示:
curl -XPUT -u elastic 'http://ip:9200/_xpack/license?acknowledge=true' -H "Content-Type: application/json" -d @licence.json