# Kibana error: not allowed to use elastic user

**URL:** https://discuss.elastic.co/t/kibana-error-not-allowed-to-use-elastic-user/304356
**Category:** Kibana
**Tags:** elastic-stack-security
**Created:** [May 10, 2022, 2:06pm UTC](https://discuss.elastic.co/t/kibana-error-not-allowed-to-use-elastic-user/304356 "2022-05-10T14:06:04Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![okopnik](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/okopnik/32/97440_2.png) [@okopnik](https://discuss.elastic.co/u/okopnik)
#### Post date: [May 10, 2022, 2:06pm UTC](https://discuss.elastic.co/t/kibana-error-not-allowed-to-use-elastic-user/304356/1 "2022-05-10T14:06:04Z")

</div>

The error is:  
"[config validation of [Elasticsearch].username]: value of "elastic" is forbidden. This is a superuser account that cannot write to system indices that Kibana needs to function"...  
I tried making a new user with superuser permissions; but upon entering Kibana, all 'loading circles' I came across were not moving, and no data could be loaded.  
Then I tried using service account token authentication in the kibana.yml for the user 'elastic' but in the documentation it says that it is a subscription feature.  
Is there a way I can solve this without buying a subscription?

---

<div class="post-metadata">

### Author: ![hendry.lim](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hendry.lim/32/71328_2.png) [@hendry.lim](https://discuss.elastic.co/u/hendry.lim)
#### Post date: [May 10, 2022, 11:15pm UTC](https://discuss.elastic.co/t/kibana-error-not-allowed-to-use-elastic-user/304356/2 "2022-05-10T23:15:18Z")

</div>

You don't need to specify a user if you are using service account token.

If you want to use a username and password, use `kibana_system` instead.

---

<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 7, 2022, 11:15pm UTC](https://discuss.elastic.co/t/kibana-error-not-allowed-to-use-elastic-user/304356/3 "2022-06-07T23:15:49Z")

</div>

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