# Can not get to security setting in kibana on a basic licence

**URL:** https://discuss.elastic.co/t/can-not-get-to-security-setting-in-kibana-on-a-basic-licence/190727
**Category:** Kibana
**Tags:** elastic-stack-security
**Created:** [July 16, 2019, 11:53am UTC](https://discuss.elastic.co/t/can-not-get-to-security-setting-in-kibana-on-a-basic-licence/190727 "2019-07-16T11:53:06Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Ej\_R](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ej_r/32/50240_2.png) [@Ej\_R](https://discuss.elastic.co/u/Ej_R)
#### Post date: [July 16, 2019, 11:53am UTC](https://discuss.elastic.co/t/can-not-get-to-security-setting-in-kibana-on-a-basic-licence/190727/1 "2019-07-16T11:53:06Z")

</div>

Hi guys,

So under management in Kibana I cannot seem to get to any of the security settings (the option does not appear in the menu). I have enabled xpack security settings.

If I go through the dashboard to security this is what appears:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/f/d/fd5ba37cebcc4d1b7515ebacf4519fcba25c7451.png)

Any ideas?  
Thanks!

---

<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: [July 16, 2019, 12:58pm UTC](https://discuss.elastic.co/t/can-not-get-to-security-setting-in-kibana-on-a-basic-licence/190727/2 "2019-07-16T12:58:48Z")

</div>

> [@Ej\_R](#):
>
> ashboard to security this is what appears:

HI,  
As the error suggests in the screenshot, the user does not have enough permissions to access users. The security features provide a role-based access control (RBAC) mechanism, which enables you to authorize users by assigning privileges to roles and assigning roles to users or groups. You can create a superuser to login to see how to access users and roles. You can read about it more here:

> **[User authorization | Elastic Stack Overview \[7.4\] | Elastic](https://www.elastic.co/guide/en/elastic-stack-overview/current/authorization.html)**

Thanks  
Rashmi

---

<div class="post-metadata">

### Author: ![Ej\_R](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ej_r/32/50240_2.png) [@Ej\_R](https://discuss.elastic.co/u/Ej_R)
#### Post date: [July 16, 2019, 2:09pm UTC](https://discuss.elastic.co/t/can-not-get-to-security-setting-in-kibana-on-a-basic-licence/190727/3 "2019-07-16T14:09:28Z")

</div>

Hi Rashmi,

Is there a way to see who I am logged in as? I haven't had to log in and so I don't even know how to grant this user account superuser rights.

Thanks! 🙂

---

<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: [July 16, 2019, 2:23pm UTC](https://discuss.elastic.co/t/can-not-get-to-security-setting-in-kibana-on-a-basic-licence/190727/4 "2019-07-16T14:23:57Z")

</div>

What kind of license is this stack on ?

[https://www.elastic.co/guide/en/elasticsearch/reference/current/get-license.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/get-license.html)

Thanks  
Rashmi

---

<div class="post-metadata">

### Author: ![Ej\_R](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ej_r/32/50240_2.png) [@Ej\_R](https://discuss.elastic.co/u/Ej_R)
#### Post date: [July 16, 2019, 2:49pm UTC](https://discuss.elastic.co/t/can-not-get-to-security-setting-in-kibana-on-a-basic-licence/190727/5 "2019-07-16T14:49:03Z")

</div>

The basic licence.

Thanks,  
EJ

---

<div class="post-metadata">

### Author: ![Ej\_R](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ej_r/32/50240_2.png) [@Ej\_R](https://discuss.elastic.co/u/Ej_R)
#### Post date: [July 16, 2019, 2:52pm UTC](https://discuss.elastic.co/t/can-not-get-to-security-setting-in-kibana-on-a-basic-licence/190727/6 "2019-07-16T14:52:10Z")

</div>

"status" : "active"  
"type" : "basic"

---

<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: [July 16, 2019, 2:54pm UTC](https://discuss.elastic.co/t/can-not-get-to-security-setting-in-kibana-on-a-basic-licence/190727/7 "2019-07-16T14:54:39Z")

</div>

Plz enable Security on your basic license to get access to users and roles. [https://www.elastic.co/guide/en/elastic-stack-overview/current/get-started-enable-security.html](https://www.elastic.co/guide/en/elastic-stack-overview/current/get-started-enable-security.html)

Thanks  
Rashmi

---

<div class="post-metadata">

### Author: ![Ej\_R](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ej_r/32/50240_2.png) [@Ej\_R](https://discuss.elastic.co/u/Ej_R)
#### Post date: [July 16, 2019, 3:21pm UTC](https://discuss.elastic.co/t/can-not-get-to-security-setting-in-kibana-on-a-basic-licence/190727/8 "2019-07-16T15:21:38Z")

</div>

I have already done this, in the elasticsearch.yml file I have the line:  
xpack.security.enabled: true

But this has not worked.

Thanks,  
EJ

---

<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: [July 16, 2019, 3:27pm UTC](https://discuss.elastic.co/t/can-not-get-to-security-setting-in-kibana-on-a-basic-licence/190727/9 "2019-07-16T15:27:07Z")

</div>

Have you completed the entire exercise like setting up passwords for built in users ?

Set the built-in users' passwords.

Run the following command from the Elasticsearch directory:

./bin/elasticsearch-setup-passwords interactive

Please follow the link I sent above to configure security .

Thanks  
Rashmi

---

<div class="post-metadata">

### Author: ![Ej\_R](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ej_r/32/50240_2.png) [@Ej\_R](https://discuss.elastic.co/u/Ej_R)
#### Post date: [July 16, 2019, 3:29pm UTC](https://discuss.elastic.co/t/can-not-get-to-security-setting-in-kibana-on-a-basic-licence/190727/10 "2019-07-16T15:29:36Z")

</div>

We have tried that, it has already been done once. But if we try to run it again we get a message saying X-Pack Secuirty is not available. Which is odd because we have enabled it.

Thanks,  
EJ

---

<div class="post-metadata">

### Author: ![Larry\_Gregory](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/larry_gregory/32/34969_2.png) [@Larry\_Gregory](https://discuss.elastic.co/u/Larry_Gregory)
#### Post date: [July 16, 2019, 5:23pm UTC](https://discuss.elastic.co/t/can-not-get-to-security-setting-in-kibana-on-a-basic-licence/190727/11 "2019-07-16T17:23:34Z")

</div>

Hey @Ej_R,

You can find the user you're logged in as by navigating to the top right of Kibana and clicking the circle:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/2/f/2fd72f06f78d8b7ccd3efa659ed92f2712886623.png)

Can you post your full `kibana.yml`, redacting any sensitive information such as passwords?

---

<div class="post-metadata">

### Author: ![Ej\_R](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ej_r/32/50240_2.png) [@Ej\_R](https://discuss.elastic.co/u/Ej_R)
#### Post date: [July 17, 2019, 7:45am UTC](https://discuss.elastic.co/t/can-not-get-to-security-setting-in-kibana-on-a-basic-licence/190727/12 "2019-07-17T07:45:16Z")

</div>

Hiya,  
My display looks slightly different to yours:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/3/9300996168a54c587642de43127c3e1b4f7043a9.png)

I shall post the yml file as well.

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [July 17, 2019, 9:06am UTC](https://discuss.elastic.co/t/can-not-get-to-security-setting-in-kibana-on-a-basic-licence/190727/13 "2019-07-17T09:06:25Z")

</div>

You are using version 6.6.2, in which security is not part of the basic license. You will need to upgrade to 6.8.

---

<div class="post-metadata">

### Author: ![Ej\_R](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ej_r/32/50240_2.png) [@Ej\_R](https://discuss.elastic.co/u/Ej_R)
#### Post date: [July 17, 2019, 10:41am UTC](https://discuss.elastic.co/t/can-not-get-to-security-setting-in-kibana-on-a-basic-licence/190727/14 "2019-07-17T10:41:02Z")

</div>

Okay, how do I go about this? Can I just upgrade or are there any requirement before upgrade?

---

<div class="post-metadata">

### Author: ![Ej\_R](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ej_r/32/50240_2.png) [@Ej\_R](https://discuss.elastic.co/u/Ej_R)
#### Post date: [July 17, 2019, 2:23pm UTC](https://discuss.elastic.co/t/can-not-get-to-security-setting-in-kibana-on-a-basic-licence/190727/15 "2019-07-17T14:23:39Z")

</div>

I have upgraded both Kibana and elastic search to 7.2 but it is now coming up with:  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/5/c/5c338d7198373e2345ecbc400defbd52337dcd3d.png)

Any ideas on what is causing this? I have used the curl command to check if elastic search is running, and have worked out it only runs when I get rid of the enable xpack security line. So I can't configure security at the moment (not that it currently matters as I can't even get onto the kibana dashboard)

Thanks,  
EJ

---

<div class="post-metadata">

### Author: ![Larry\_Gregory](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/larry_gregory/32/34969_2.png) [@Larry\_Gregory](https://discuss.elastic.co/u/Larry_Gregory)
#### Post date: [July 17, 2019, 2:55pm UTC](https://discuss.elastic.co/t/can-not-get-to-security-setting-in-kibana-on-a-basic-licence/190727/16 "2019-07-17T14:55:22Z")

</div>

Hey @Ej_R, how long has Kibana been in this state? Can you post your full kibana log file?

---

<div class="post-metadata">

### Author: ![Ej\_R](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ej_r/32/50240_2.png) [@Ej\_R](https://discuss.elastic.co/u/Ej_R)
#### Post date: [July 17, 2019, 2:59pm UTC](https://discuss.elastic.co/t/can-not-get-to-security-setting-in-kibana-on-a-basic-licence/190727/17 "2019-07-17T14:59:20Z")

</div>

Hi Larry,  
Since I upgraded it today to 7.2i I'll post it now.

---

<div class="post-metadata">

### Author: ![Ej\_R](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ej_r/32/50240_2.png) [@Ej\_R](https://discuss.elastic.co/u/Ej_R)
#### Post date: [July 17, 2019, 3:05pm UTC](https://discuss.elastic.co/t/can-not-get-to-security-setting-in-kibana-on-a-basic-licence/190727/18 "2019-07-17T15:05:24Z")

</div>

Hiya,

I just checked the Kibana file and we did not have logging enabled.

---

<div class="post-metadata">

### Author: ![Larry\_Gregory](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/larry_gregory/32/34969_2.png) [@Larry\_Gregory](https://discuss.elastic.co/u/Larry_Gregory)
#### Post date: [July 17, 2019, 3:07pm UTC](https://discuss.elastic.co/t/can-not-get-to-security-setting-in-kibana-on-a-basic-licence/190727/19 "2019-07-17T15:07:39Z")

</div>

Ok, please enable logging, and restart the Kibana process. You can use the `logging.dest` setting to specify a file where Kibana should log to. While you're at it, set `logging.verbose: true` in your `kibana.yml` too. That will give us the most information so that we can help you further.

---

<div class="post-metadata">

### Author: ![Ej\_R](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ej_r/32/50240_2.png) [@Ej\_R](https://discuss.elastic.co/u/Ej_R)
#### Post date: [July 17, 2019, 3:21pm UTC](https://discuss.elastic.co/t/can-not-get-to-security-setting-in-kibana-on-a-basic-licence/190727/20 "2019-07-17T15:21:54Z")

</div>

I have enabled it, restarted the service but I am waiting for logs to appear.

Thanks!  
EJ 🙂

[Next page](https://discuss.elastic.co/t/can-not-get-to-security-setting-in-kibana-on-a-basic-licence/190727.md?page=2)
