License Upgradation


I have installed X-Pack on both Elasticsearch and Kibana in Linux machine. Now I got 1 year license so I have updated it in Elasticsearch. But while updating the license in Kibana using curl -XPUT -u elastic:changeme 'http://localhost:5601/_xpack/license?acknowledge=true' -H "Content-Type: application/json" -d @license.json it says {"statusCode":404,"error":"Not Found","message":"Not Found"}
Am I missing anything? OR there is no need to update the license in kibana?

Please let me know whats going on.

Dharma Sanjay Reddy M.

Looks like you're pointing your curl to Kibana and not Elasticsearch. Switching the port to 9200 should do what you're looking for.

Thanks @dsnider for the quick response.
I already have updated the license in elasticsearch. Now i'm trying to update the license for x-pack in kibana that is where I'm getting status 404
Please help me in understanding
Is the license upgradation only for elasticsearch?

When you initially install X-Pack, a 30 day trial license is installed that allows access to all features. When you say you have updated the license in ES: can you please issue this command and tell us what the output is:

curl -XGET -u elastic:changeme 'http://<host>:<port>/_xpack/license'

you can use the port and password according to what you have set .


Thanks @rashmi for the response.

Please find the License status below:

[root@elk01 ~]# curl -XGET -u elastic:changeme 'http://localhost:9200/_xpack/license'
  "license" : {
    "status" : "active",
    "uid" : "7aaa1eb3-0cf2-4c2b-ac13-97f1b46b2344",
    "type" : "platinum",
    "issue_date" : "2017-09-25T00:00:00.000Z",
    "issue_date_in_millis" : 1506297600000,
    "expiry_date" : "2018-09-30T23:59:59.999Z",
    "expiry_date_in_millis" : 1538351999999,
    "max_nodes" : 3,
    "issued_to" : "**************",
    "issuer" : "************",
    "start_date_in_millis" : 1506297600000

This is a single node fresh install? And still you are seeing that ML is disabled? Are you able to login to Kibana UI using elastic/changeme ? What does the Kibana start up logs say ?


If you are having issues you should raise a ticket via the support portal, given it looks like you are a customer with a platinum license :slight_smile:

In an Elasticsearch Cluster, if you update the X-Pack license on Elasticsearch its fine. No need to update it on Kibana and Logstash.

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