更新license,Updating Your License 官方文档
注册用户获取基础license,有效期1年
curl -XPUT -u elastic:password 'http://<host>:<port>/_xpack/license' -d @license.json
@license.json 申请得到的json文件,复制文件中的所有内容,粘贴在此。
如果提示需要
acknowledge,则设置为true
curl -XPUT -u elastic:
password 'http://
<host>:<port>/_xpack/license?acknowledge=true' -d @license.json
查看安装结果信息
curl -XGET -u elastic:
password '
http://<host>:<port>/_license'
不同版本功能
X-Pack 各功能配置
删除和安装x-pack
bin/elasticsearch-plugin install x-pack
bin/elasticsearch-plugin remove x-pack
bin/kibana-plugin install x-pack
bin/kibana-plugin remove x-pack