elasticsearch 升级license

elasticsearch 升级license
elasticsearch5的插件x-pack下载之后,kibana上的monitor等默认是一个月的免费期,到期之后需要升级license。
相应的license从该链接下载:https://www.elastic.co/subscriptions
大部分用户应该只是需要basic就可以了,我这里也是。哈哈
之后升级license:
https://www.elastic.co/guide/en/x-pack/current/installing-license.html
如果新的license支持的feature和之前的一样,则使用:
curl -XPUT -u elastic ‘http://:/_xpack/license’ -H “Content-Type: application/json” -d @license.json
如果不一样,比如之前有machineLearning,现在没有了,则用该命令,确认改变:
curl -XPUT -u elastic ‘http://:/_xpack/license?acknowledge=true’ -H “Content-Type: application/json” -d @license.json
升级后查看:
https://www.elastic.co/guide/en/x-pack/current/listing-licenses.html
curl -XGET -u elastic:changeme ‘http://:/_xpack/license’
注:如果没有开启密码验证,就不用加上指定用户 -u elastic 选项。

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值