License Updating in X-pack

(Raman) #1

Where should I use this command to upgrade my licencse?
curl -XPUT -u elastic 'http://<host>:<port>/_xpack/license' -H "Content-Type: application/json" -d @license.json

(Jymit Singh Khondhu) #2

From the terminal or via kibana dev tools.

please note you will be prompted for the elastic user password and please ensure that the license file is correctly placed here: @license.json exactly after the @

(Raman) #3

In any particular directory or simply open terminal and run?

(Jymit Singh Khondhu) #4

within the exact directory where the downloaded license file resides..

(Raman) #5

curl: (7) Failed to connect to ip port xxxx: Timed out

(Jymit Singh Khondhu) #6

can you share the full command you just ran?

did you 'http://<host>:<port>/_xpack/license' update the host and port sections here to point to your elasticsearch cluster and the port is it running on?

(Raman) #7

Yes I did.
curl -XPUT -u elastic "xxxxxxxxx/_xpack/license" -H "Content-Type: application/json" -d @license.json

(Jymit Singh Khondhu) #8


(Raman) #9

I can not share host and port (company policy).

(Jymit Singh Khondhu) #10

Sure given the xxxxxxxxx I wanted to know if the port was specified, which from your response I gauge it is.

curl Timed out, you need to be in a position where you can talk to elasticsearch from the terminal you reside at.

(Raman) #11

I did not understand. Can you be more specific?

(system) #12

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.