# License Upgradation

**URL:** <https://discuss.elastic.co/t/license-upgradation/106190>\
**Category:** Kibana\
**Created:** [November 2, 2017, 12:17pm UTC](https://discuss.elastic.co/t/license-upgradation/106190 "2017-11-02T12:17:00Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![sanju1323](https://avatars.discourse-cdn.com/v4/letter/s/5daacb/32.png) [@sanju1323](https://discuss.elastic.co/u/sanju1323)\
**Post date:** [November 2, 2017, 12:17pm UTC](https://discuss.elastic.co/t/license-upgradation/106190/1 "2017-11-02T12:17:00Z")

</div>

Hi,

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.

Regards,  
Dharma Sanjay Reddy M.

---

<div class="post-metadata">

**Author:** ![dsnider](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dsnider/32/44068_2.png) [@dsnider](https://discuss.elastic.co/u/dsnider)\
**Post date:** [November 2, 2017, 4:20pm UTC](https://discuss.elastic.co/t/license-upgradation/106190/2 "2017-11-02T16:20:08Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![sanju1323](https://avatars.discourse-cdn.com/v4/letter/s/5daacb/32.png) [@sanju1323](https://discuss.elastic.co/u/sanju1323)\
**Post date:** [November 2, 2017, 5:10pm UTC](https://discuss.elastic.co/t/license-upgradation/106190/3 "2017-11-02T17:10:27Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [November 2, 2017, 5:15pm UTC](https://discuss.elastic.co/t/license-upgradation/106190/4 "2017-11-02T17:15:35Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![sanju1323](https://avatars.discourse-cdn.com/v4/letter/s/5daacb/32.png) [@sanju1323](https://discuss.elastic.co/u/sanju1323)\
**Post date:** [November 3, 2017, 4:12am UTC](https://discuss.elastic.co/t/license-upgradation/106190/5 "2017-11-03T04:12:43Z")

</div>

Thanks @rashmi for the response.

Please find the License status below:

```auto
[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
  }
}

```

---

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [November 3, 2017, 7:44pm UTC](https://discuss.elastic.co/t/license-upgradation/106190/6 "2017-11-03T19:44:50Z")

</div>

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 ?

Thanks  
Rashmi

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 4, 2017, 8:27am UTC](https://discuss.elastic.co/t/license-upgradation/106190/7 "2017-11-04T08:27:52Z")

</div>

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 🙂

---

<div class="post-metadata">

**Author:** ![sanju1323](https://avatars.discourse-cdn.com/v4/letter/s/5daacb/32.png) [@sanju1323](https://discuss.elastic.co/u/sanju1323)\
**Post date:** [November 10, 2017, 9:25am UTC](https://discuss.elastic.co/t/license-upgradation/106190/8 "2017-11-10T09:25:01Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 8, 2017, 9:25am UTC](https://discuss.elastic.co/t/license-upgradation/106190/9 "2017-12-08T09:25:26Z")

</div>

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