api - 出色的基本许可证安装

标签 api elasticsearch licensing elastic-stack elasticsearch-marvel

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

相关文章:

javascript - Angular 和 Elasticsearch 的示例

elasticsearch - 跨字段搜索,每个字段中有多个完整和不完整的短语

elasticsearch - 更新关键字字段的ignore_above

c - 产品 key 的实现

json - 如何按市值获取 coingecko API 的前 300 个硬币的列表?

php - 使用此代码检查YouTube视频是否可嵌入

javascript - Spotify 清除播放列表拖放

java - jetty worker 。使用基于主机 ID 的许可证运行软件

c# - 使用 Portable.Licensing 许可 Asp.Net 应用程序

android - 为 Android、iOS 和 Web 创建 API