我正在尝试为我的Elasticsearch集群在Marvel上安装免费的基本许可证。我按照这里https://www.elastic.co/guide/en/marvel/current/license-management.html的说明进行操作,并运行以下命令
> curl -XPUT 'http://es-master-01:9200/_license' -d @license.json
我没有使用-u标志,因为我没有屏蔽。我收到以下错误
{"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:","marvel":["basic"]}}
我也试过
curl -XPUT 'http://host:port/_license&acknowledge=true' -d @mylicense.json
正如我在其他地方看到的那样,但这对我也不起作用。
任何帮助是极大的赞赏。
最佳答案
它的
curl -XPUT 'http://host:port/_license?acknowledge=true' -d @mylicense.json
用
?
不
curl -XPUT 'http://host:port/_license&acknowledge=true' -d @mylicense.json
用
&
关于api - 出色的基本许可证安装,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36135815/