Hi-
I've received the license for Elastic search, Would you please let me know, how do I install the license on the Windows-7 machine ?
CURL doesn't work in my machine. Thanks !
Regards.
Prakash
Hi-
I've received the license for Elastic search, Would you please let me know, how do I install the license on the Windows-7 machine ?
CURL doesn't work in my machine. Thanks !
Regards.
Prakash
I moved your question to #x-pack.
I believe you can always use Kibana or any REST plugin for your browser?
Instead of:
curl -XPUT -u elastic 'http://<host>:<port>/_xpack/license' -d @license.json
Open kibana then in the console:
PUT _xpack/license
// Copy the content of the license.json here
Hi @dadoonet:
I fixed it. Thanks for your timely help.
In case you want to script this, you can use recent versions of Windows Powershell
gc .\<license file> | Invoke-WebRequest -uri http://<host>:<port>/_xpack/license -Credential <username> -Method Put
It will prompt you for a password. I suppose you could create the credential in script as well
@Babadofar Would -Method Put
work as well? I guess so but prefer asking.
Oh sure, it should be PUT I fixed the original post as well...
@dadoonet
my issue is X-Pack is expired, I can not start elasticsearch and Kibana, so I can't use your method, do you have any other way for window? thank you.
I don't know. Open a new thread.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.