marvel 基本许可证安装

marvel basic licence installation

我正在尝试为我的 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

&