# Kibana Security Exception

**URL:** <https://discuss.elastic.co/t/kibana-security-exception/66283>\
**Category:** Kibana\
**Created:** [November 16, 2016, 6:12pm UTC](https://discuss.elastic.co/t/kibana-security-exception/66283 "2016-11-16T18:12:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tom\_Lancaster](https://avatars.discourse-cdn.com/v4/letter/t/439d5e/32.png) [@Tom\_Lancaster](https://discuss.elastic.co/u/Tom_Lancaster)\
**Post date:** [November 16, 2016, 6:12pm UTC](https://discuss.elastic.co/t/kibana-security-exception/66283/1 "2016-11-16T18:12:49Z")

</div>

I'm running Kibana 5.0.0 from homebrew on Mac OS. I've installed x-pack for both elastic search and Kibana. I've installed the geoip plugin for elasticsearch and created a new user with all rights to a single index.

When logged in as kibana I go to Discover and see the following error at the top:

`Discover: [security_exception] action [indices:data/read/msearch] is unauthorized for user [kibana]`

If I log in as my new single index admin I just get the side nav and blank pages.

What have I done wrong / What do I need to do. I've tried adding a role to kibana, but that's not allowed. Is there another, _more_ authorized user I should be logging in as?

---

<div class="post-metadata">

**Author:** ![BigFunger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bigfunger/32/7323_2.png) [@BigFunger](https://discuss.elastic.co/u/BigFunger)\
**Post date:** [November 16, 2016, 8:51pm UTC](https://discuss.elastic.co/t/kibana-security-exception/66283/2 "2016-11-16T20:51:09Z")

</div>

It sounds like you're trying to log in using the `kibana` user. This is incorrect. For more information on how to set up the user configuration for x-pack, visit [here](https://www.elastic.co/guide/en/x-pack/current/setting-up-authentication.html).

Instead of the `kibana` user, you should be using the `elastic` user described in that guide.

---

<div class="post-metadata">

**Author:** ![Tom\_Lancaster](https://avatars.discourse-cdn.com/v4/letter/t/439d5e/32.png) [@Tom\_Lancaster](https://discuss.elastic.co/u/Tom_Lancaster)\
**Post date:** [November 25, 2016, 9:02pm UTC](https://discuss.elastic.co/t/kibana-security-exception/66283/3 "2016-11-25T21:02:14Z")

</div>

Thank Jim - I'm in now.

---

<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 23, 2016, 9:02pm UTC](https://discuss.elastic.co/t/kibana-security-exception/66283/4 "2016-12-23T21:02:15Z")

</div>

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