Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【功能请求】导入license #4

Open
Z-fly opened this issue Jun 7, 2024 · 3 comments
Open

【功能请求】导入license #4

Z-fly opened this issue Jun 7, 2024 · 3 comments

Comments

@Z-fly
Copy link
Contributor

Z-fly commented Jun 7, 2024

https://www.elastic.co/guide/en/elasticsearch/reference/8.14/update-license.html#update-license-api-request
image

@Bronya0
Copy link
Owner

Bronya0 commented Jun 7, 2024

通过上传文件还是json字符串的方式?

@Z-fly
Copy link
Contributor Author

Z-fly commented Jun 7, 2024

curl -X PUT "localhost:9200/_license?pretty" -H 'Content-Type: application/json' -d'
{
"licenses": [
{
"uid":"893361dc-9749-4997-93cb-802e3d7fa4xx",
"type":"basic",
"issue_date_in_millis":1411948800000,
"expiry_date_in_millis":1914278399999,
"max_nodes":1,
"issued_to":"issuedTo",
"issuer":"issuer",
"signature":"xx"
}
]
}
'

@Bronya0
Copy link
Owner

Bronya0 commented Jun 11, 2024

好的。不过我理解这个通过自带的rest客户端来也不麻烦吧😀有疑问加群吧,群里说及时一些 研发技术交流群:964440643

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants