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

Posted nihaorz

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Kibana-4.6.6 marvel插件license过期重新注册相关的知识,希望对你有一定的参考价值。

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:[email protected] 是运行elasticsearch进程的用户及密码

 

参考链接:

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

 

以上是关于Kibana-4.6.6 marvel插件license过期重新注册的主要内容,如果未能解决你的问题,请参考以下文章

分布式搜索引擎ElasticSearch+Kibana (Marvel插件安装详解)

elasticsearch安装marvel插件

elasticsearch插件之一:marvel(配置)

elasticsearch2.4.2安装 --插件marvel

Elasticsearch之marvel插件安装之后的浏览详解

Elasticsearch之插件扩展