码迷,mamicode.com
首页 > 其他好文 > 详细

Kibana-4.6.6 marvel插件license过期重新注册

时间:2019-01-11 14:16:49      阅读:154      评论:0      收藏:0      [点我收藏+]

标签:span   nbsp   iba   basic   automatic   l命令   地址   blank   art   

1、注册新的license,https://register.elastic.co/marvel_register,注册完毕邮箱收取下载地址,将新的license下载到本地

2、到license所在目录执行curl命令:

curl -XPUT http://<host>:<port>/_license -d @license.json

将host和port替换为Elasticsearch的IP和端口执行curl命令报错如下:

{"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","Automatic index cleanup is locked to 7 days for clusters with [{}] license.basic"]}}

经搜索报错信息后修改命令如下:

curl -XPUT -u elastic:123@abc.com http://localhost:9200/_license?acknowledge=true -H "Content-Type: application/json" -d @license.json

其中:

-u elastic:123@abc.com 是运行elasticsearch进程的用户及密码

 

参考链接:

https://blog.csdn.net/john1337/article/details/78602539

 

Kibana-4.6.6 marvel插件license过期重新注册

标签:span   nbsp   iba   basic   automatic   l命令   地址   blank   art   

原文地址:https://www.cnblogs.com/nihaorz/p/10254739.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!