您的位置:首页 > 其它

elasticsearch License 到期后更新步骤

2018-01-08 20:06 246 查看
ELK下载安装后有一个月试用期,到期后需要更新License,且每个License有效期为 1 年,License过期前10天里相关log会一直出现,提醒用户更新,支持实时更新无需重启服务

步骤:

1、https://register.elastic.co/registration 网址上注册,成功后ELK会向注册邮箱发送邮件,下载你的License,如图:







2、启动elasticsearch,使用curl命令向其发起更新License请求,输入密码。
curl -XPUT -u elastic http://127.0.0.1:9200/_xpack/license -H "Content-Type: application/json" -d @*************-8ce0-46ee-886e-ab2d8d7ffd86-v5.json



若返回上面的信息,则加上 ?acknowledge=true
curl -XPUT -u elastic http://127.0.0.1:9200/_xpack/license?acknowledge=true -H "Content-Type: application/json" -d @*************-8ce0-46ee-886e-ab2d8d7ffd86-v5.json



出现上述字样,则更新成功。

3、同时我们可以在elasticsearch服务中看到:



至此,LICENSE更新成功。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: