# Add read-only user for Kibana Canvas

**URL:** https://discuss.elastic.co/t/add-read-only-user-for-kibana-canvas/273235
**Category:** Kibana
**Tags:** elastic-stack-security
**Created:** [May 18, 2021, 6:45am UTC](https://discuss.elastic.co/t/add-read-only-user-for-kibana-canvas/273235 "2021-05-18T06:45:00Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![saintjohn](https://avatars.discourse-cdn.com/v4/letter/s/439d5e/32.png) [@saintjohn](https://discuss.elastic.co/u/saintjohn)
#### Post date: [May 18, 2021, 6:45am UTC](https://discuss.elastic.co/t/add-read-only-user-for-kibana-canvas/273235/1 "2021-05-18T06:45:01Z")

</div>

Hi Experts,

I'm trying to add an user which is granted only for read-only right to Kibana Canvas for security purpose.  
I'm using Kibana as well as Elastic Search v7.11.1 with Basic License.

Based on the instruction, I performed as below.  
1.Add following line in elasticsearch.yml  
`xpack.security.enabled: true`  
2.Configured prompted user/pass with the following command.  
`elasticsearch-setup-passwords interactive`  
3.Add following line in kibana.yml  
`elasticsearch.username: "kibana"`  
`elasticsearch.password: "<KIBANA_PASSWORD>"`

However, I get error message as below when I start ES/Kibana and tries to access Kibana.  
{"statusCode":503,"error":"Service Unavailable","message":"License is not available."}

Do I have to use 30-days trial license instead of basic license in order to use the security feature?

BR//Toru

---

<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: [May 19, 2021, 1:16am UTC](https://discuss.elastic.co/t/add-read-only-user-for-kibana-canvas/273235/2 "2021-05-19T01:16:49Z")

</div>

> [@saintjohn](#):
>
> However, I get error message as below when I start ES/Kibana and tries to access Kibana.  
> {"statusCode":503,"error":"Service Unavailable","message":"License is not available."}

Can you post more of the Kibana log please.

> [@saintjohn](#):
>
> Do I have to use 30-days trial license instead of basic license in order to use the security feature?

Not for the native realm, no.

---

<div class="post-metadata">

### Author: ![saintjohn](https://avatars.discourse-cdn.com/v4/letter/s/439d5e/32.png) [@saintjohn](https://discuss.elastic.co/u/saintjohn)
#### Post date: [May 19, 2021, 1:32am UTC](https://discuss.elastic.co/t/add-read-only-user-for-kibana-canvas/273235/3 "2021-05-19T01:32:27Z")

</div>

@warkolm  
Thank you, but which logs do you need? What I did is open kibana page via browser and only get that error status codes.

---

<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: [May 19, 2021, 1:40am UTC](https://discuss.elastic.co/t/add-read-only-user-for-kibana-canvas/273235/4 "2021-05-19T01:40:41Z")

</div>

The actual Kibana log, usually in `/var/log/kibana`.

---

<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: [June 16, 2021, 1:41am UTC](https://discuss.elastic.co/t/add-read-only-user-for-kibana-canvas/273235/5 "2021-06-16T01:41:11Z")

</div>

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