ES7默认得已经安装了x-pack,我开启后(参考上面文章es7开启x-pack),默认的是基础面份版,我在kibina创建一个测试角色,提示我过期了:
{
"error": {
"root_cause": [
{
"type": "security_exception",
"reason": "current license is non-compliant for [security]",
"license.expired.feature": "security"
}
],
"type": "security_exception",
"reason": "current license is non-compliant for [security]",
"license.expired.feature": "security"
},
"status": 403
}
解决办法如下,升级为30天试用版:
1、在kibina管理->许可管理中,可以看到我们当前为免费版
2、点击开始试用,开启试用版
3、查看license信息
4、再次执行创建角色,提示创建成功