# License information from the X-Pack plugin could not be obtained from Elasticsearch for the \[data\] cluster

**URL:** https://discuss.elastic.co/t/license-information-from-the-x-pack-plugin-could-not-be-obtained-from-elasticsearch-for-the-data-cluster/148030
**Category:** Kibana
**Created:** [September 10, 2018, 11:06pm UTC](https://discuss.elastic.co/t/license-information-from-the-x-pack-plugin-could-not-be-obtained-from-elasticsearch-for-the-data-cluster/148030 "2018-09-10T23:06:17Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![Zelfapp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zelfapp/32/108888_2.png) [@Zelfapp](https://discuss.elastic.co/u/Zelfapp)
#### Post date: [September 10, 2018, 11:06pm UTC](https://discuss.elastic.co/t/license-information-from-the-x-pack-plugin-could-not-be-obtained-from-elasticsearch-for-the-data-cluster/148030/1 "2018-09-10T23:06:17Z")

</div>

Today, on my localhost dev I upgraded from ES and Kibana 6.1.2 to 6.3.2.

The upgrade has all gone smoothly except for kibana. In my kibana.yml you can see that I'm connecting to a remove url. This worked great in kibana 6.1.2. A password dialog would popup. What has changed in 6.3.2? I've tried the "xpack.security.enabled: false" I've seen in the discussions, but my remote host with my ES instance requires a user/password and it just keeps giving me the same error in the logs anyway with or without it. I'm not seeing the solution to this in the docs. Again, this is on my localhost dev system and I'm connecting to a remote host.

server.name: production\_kibana  
server.host: "esproduction"  
server.port: 5699  
elasticsearch.url: "myremoteurl:port"  
elasticsearch.username: "user"  
elasticsearch.password: "mypassword"

Error logs:

log [23:04:53.976] [warning][license][xpack] License information from the X-Pack plugin could not be obtained from Elasticsearch for the [data] cluster. [invalid\_index\_name\_exception] Invalid index name [_xpack], must not start with '_'., with { index\_uuid="_na_" & index="\_xpack" } :: {"path":"/\_xpack","statusCode":400,"response":"{"error":{"root\_cause":[{"type":"invalid\_index\_name\_exception","reason":"Invalid index name [_xpack], must not start with '_'.","index\_uuid":"_na_","index":"\_xpack"}],"type":"invalid\_index\_name\_exception","reason":"Invalid index name [_xpack], must not start with '_'.","index\_uuid":"_na_","index":"\_xpack"},"status":400}"}

---

<div class="post-metadata">

### Author: ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)
#### Post date: [September 11, 2018, 12:41pm UTC](https://discuss.elastic.co/t/license-information-from-the-x-pack-plugin-could-not-be-obtained-from-elasticsearch-for-the-data-cluster/148030/2 "2018-09-11T12:41:58Z")

</div>

Hello,

Have you set "xpack.security.enabled: false" in your elasticsearch.yml too?

Our 6.3.0 stack came with changes because we opened the code for x-pack.  
[https://www.elastic.co/blog/elastic-stack-6-3-0-released](https://www.elastic.co/blog/elastic-stack-6-3-0-released). The default distribution comes without security. So - you will have disable it in both elasticsearch and Kibana.

Let me know if this helps.

Thanks,  
Bhavya

---

<div class="post-metadata">

### Author: ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)
#### Post date: [September 11, 2018, 7:55pm UTC](https://discuss.elastic.co/t/license-information-from-the-x-pack-plugin-could-not-be-obtained-from-elasticsearch-for-the-data-cluster/148030/4 "2018-09-11T19:55:23Z")

</div>

Did you uninstall x-pack from both your ES and Kibana ?

Thanks,  
Bhavya

---

<div class="post-metadata">

### Author: ![Zelfapp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zelfapp/32/108888_2.png) [@Zelfapp](https://discuss.elastic.co/u/Zelfapp)
#### Post date: [September 11, 2018, 8:07pm UTC](https://discuss.elastic.co/t/license-information-from-the-x-pack-plugin-could-not-be-obtained-from-elasticsearch-for-the-data-cluster/148030/5 "2018-09-11T20:07:18Z")

</div>

I'm connecting to a remote host where my ES instance exists. I don't have control over the hosting company's ES instance or the elasticsearch.yml. On my local system I only installed kibana 6.3.2. I never installed the xpack plugin.

With xpack.security.enabled: false in my kibana.yml I now get the attached screenshot.

 ![xpack-plugin-issues](https://us1.discourse-cdn.com/elastic/original/3X/d/9/d920a0afd7a679fbdcfadc7f7a688f053e28d791.png)

---

<div class="post-metadata">

### Author: ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)
#### Post date: [September 11, 2018, 8:08pm UTC](https://discuss.elastic.co/t/license-information-from-the-x-pack-plugin-could-not-be-obtained-from-elasticsearch-for-the-data-cluster/148030/6 "2018-09-11T20:08:03Z")

</div>

@jbudz how do I help this user?

Thanks,  
Bhavya

---

<div class="post-metadata">

### Author: ![Zelfapp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zelfapp/32/108888_2.png) [@Zelfapp](https://discuss.elastic.co/u/Zelfapp)
#### Post date: [September 11, 2018, 8:09pm UTC](https://discuss.elastic.co/t/license-information-from-the-x-pack-plugin-could-not-be-obtained-from-elasticsearch-for-the-data-cluster/148030/7 "2018-09-11T20:09:26Z")

</div>

My original post was confusing. I do have ES installed locally as well, but with kibana, I am not connecting to my localhost ES, I am connecting to a remote host ES instance. Locally, if I point kibana to my localhost I am not having the xpack issue at all. I can connect and use DevTools, etc. Only an issue when I'm trying to connect to the remote host ES instance. Hopefully, I'm less confusing at this point.

---

<div class="post-metadata">

### Author: ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)
#### Post date: [September 11, 2018, 8:15pm UTC](https://discuss.elastic.co/t/license-information-from-the-x-pack-plugin-could-not-be-obtained-from-elasticsearch-for-the-data-cluster/148030/8 "2018-09-11T20:15:48Z")

</div>

You are fine. I don't think this is going to work if you cannot uninstall x-pack from your remote es and make sure both Kibana and ES are on the same version and distribution.

---

<div class="post-metadata">

### Author: ![Zelfapp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zelfapp/32/108888_2.png) [@Zelfapp](https://discuss.elastic.co/u/Zelfapp)
#### Post date: [September 11, 2018, 8:20pm UTC](https://discuss.elastic.co/t/license-information-from-the-x-pack-plugin-could-not-be-obtained-from-elasticsearch-for-the-data-cluster/148030/9 "2018-09-11T20:20:15Z")

</div>

From my host: "Our Elasticsearch cluster however does not use X-pack, and disabling it for your local Kibana instance might be the way to go."

---

<div class="post-metadata">

### Author: ![jbudz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jbudz/32/45922_2.png) [@jbudz](https://discuss.elastic.co/u/jbudz)
#### Post date: [September 11, 2018, 8:22pm UTC](https://discuss.elastic.co/t/license-information-from-the-x-pack-plugin-could-not-be-obtained-from-elasticsearch-for-the-data-cluster/148030/10 "2018-09-11T20:22:36Z")

</div>

Hey,

By default we bundle x-pack with kibana as of 6.3, so there's a license check running and it's getting confused. You'll probably want the open source distribution, which can be found at [https://www.elastic.co/downloads/kibana-oss](https://www.elastic.co/downloads/kibana-oss).

---

<div class="post-metadata">

### Author: ![Zelfapp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zelfapp/32/108888_2.png) [@Zelfapp](https://discuss.elastic.co/u/Zelfapp)
#### Post date: [September 11, 2018, 8:29pm UTC](https://discuss.elastic.co/t/license-information-from-the-x-pack-plugin-could-not-be-obtained-from-elasticsearch-for-the-data-cluster/148030/11 "2018-09-11T20:29:23Z")

</div>

Like magic. OSS solved the issue. Thank you.

---

<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: [October 9, 2018, 8:29pm UTC](https://discuss.elastic.co/t/license-information-from-the-x-pack-plugin-could-not-be-obtained-from-elasticsearch-for-the-data-cluster/148030/12 "2018-10-09T20:29:27Z")

</div>

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