[elk]e-pack license

ouyida3ouyida3 117 9月16日 发布

ES X-Pack 5.4.3破解
https://my.oschina.net/guol/b...
X-Pack是ES在5.0之后提供的一个插件,里面整合了在5.0之前分布在其他收费插件中的功能。
cd org/elasticsearch/license
mv /opt/programs/es/LicenseVerifier.class .

来此注册,并下载license文件

https://license.elastic.co/re...

elasticsearch之x-pack破解
https://blog.csdn.net/u013066...

curl -u elastic:changeme -XGET 'http://localhost:9200/_xpack/license'
{
"license" : {

"status" : "active",
"uid" : "b3600251-234a-4efc-9693-eed1657c70c7",
"type" : "trial",
"issue_date" : "2020-09-14T07:09:08.517Z",
"issue_date_in_millis" : 1600067348517,
"expiry_date" : "2020-10-14T07:09:08.517Z",
"expiry_date_in_millis" : 1602659348517,
"max_nodes" : 1000,
"issued_to" : "elasticsearch",
"issuer" : "elasticsearch",
"start_date_in_millis" : -1

}
}
试用期限只有一个月
https://www.cnblogs.com/52py/... 按这个更新了license

https://license.elastic.co/re...
Good News: If you are using Elastic Stack version 6.3 or newer, Basic (free) tier features are included in the default distributions of the Elastic Stack. No license registration required. Happy searching!
If you are on Elastic Stack version 6.2 or older, register below to receive a free one year Basic license, to enable the features in the Basic subscription tier. And yes, when the one year is up, you can come back and register for another year. Or you could just upgrade to version 6.3+, and skip this step.
6.3版本后已经免费了!基础版。
6.3以前也可以每年申请一次免费的。

基础级
永远免费的套餐。
开源版本中的所有内容,以及:
Elastic Stack 核心安全功能
诸如 Elastic APM、Security、App Search、Workplace Search 和 Maps 等功能
Canvas 和 Lens
Kibana 告警和堆栈内操作3
还有更多

黄金级
更多功能。专门支持。
基础级所有功能,以及:
Reporting
Kibana 第三方告警操作3
Watcher
采集管理
工作时间支持
还有更多

白金级
高级功能。全天候支持。
黄金级所有功能,以及:
Elastic Stack 高级安全功能
Machine Learning
跨集群复制
全天候支持
还有更多

企业级
堆栈编排和默认终端保护。
白金级中的全部内容,另加:
使用 Elastic Endgame2
使用 ECE 和 ECK 编排功能

https://www.elastic.co/guide/...
WARNING: Version 5.6 of the Elastic Stack has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
5.6不推荐使用了。

https://www.elastic.co/cn/sup...
end of lifecycle?不用看,都是很快过期的。不过5确实不维护了,只维护6和7现在。

curl -u elastic:changeme -XPUT http://localhost:9200/_xpack/license?acknowledge=true -H "Content-Type: application/json" -d oy-da-67b4b33e-f8ed-458a-91de-3d1144a31339-v5.json
{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"failed to parse license source"}],"type":"illegal_argument_exception","reason":"failed to parse license source","caused_by":{"type":"json_parse_exception","reason":"Unrecognized token 'oy': was expecting ('true', 'false' or 'null')n at [Source: org.elasticsearch.transport.netty4.ByteBufStreamInput@4924dcc5; line: 1, column: 4]"}},"status":400}

curl -u elastic:changeme -XPUT http://localhost:9200/_xpack/license?acknowledge=true -H "Content-Type: application/json" -d @oy-da-67b4b33e-f8ed-458a-91de-3d1144a31339-v5.json
必须要加@

成功了!
{
"license" : {

"status" : "active",
"uid" : "67b4b33e-f8ed-458a-91de-3d1144a31339",
"type" : "basic",
"issue_date" : "2020-09-15T00:00:00.000Z",
"issue_date_in_millis" : 1600128000000,
"expiry_date" : "2021-09-15T23:59:59.999Z",
"expiry_date_in_millis" : 1631750399999,
"max_nodes" : 100,
"issued_to" : "oy da (asiainfo)",
"issuer" : "Web Form",
"start_date_in_millis" : 1600128000000

}
}
节点数从1000变为100,issued变了我。type从试用变成basic了。
https://www.cnblogs.com/52py/... 好文

https://blog.csdn.net/u011265... 不是7.3版本开始。6.3就开始免费了。

评论
载入中...