# Hide inaccessible indices in Kibana Discover

**URL:** https://discuss.elastic.co/t/hide-inaccessible-indices-in-kibana-discover/71122
**Category:** Kibana
**Created:** [January 10, 2017, 5:04pm UTC](https://discuss.elastic.co/t/hide-inaccessible-indices-in-kibana-discover/71122 "2017-01-10T17:04:27Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![maenu](https://avatars.discourse-cdn.com/v4/letter/m/cab0a1/32.png) [@maenu](https://discuss.elastic.co/u/maenu)
#### Post date: [January 10, 2017, 5:04pm UTC](https://discuss.elastic.co/t/hide-inaccessible-indices-in-kibana-discover/71122/1 "2017-01-10T17:04:27Z")

</div>

Hi

I created an x-pack user with only access to index C (and role kibana\_user).

When the user logs in in Kibana and opens Discover, he can see all indices A, B, C and D (but can see only logs from index C).

How can I (completely) hide indices A, B and D?

I am using Elasticsearch & Kibana 5.1.1

Thanks

---

<div class="post-metadata">

### Author: ![weltenwort](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/weltenwort/32/53885_2.png) [@weltenwort](https://discuss.elastic.co/u/weltenwort)
#### Post date: [January 10, 2017, 6:17pm UTC](https://discuss.elastic.co/t/hide-inaccessible-indices-in-kibana-discover/71122/2 "2017-01-10T18:17:48Z")

</div>

Hi @maenu,

that is unfortunately not supported by Kibana's current authentication model. Many customers get around that by running multiple Kibana instances with separate Kibana indices (setting 'kibana.index`) backed by the same Elasticsearch cluster. Improving that, though, is definitely something we want to do in the future.

---

<div class="post-metadata">

### Author: ![maenu](https://avatars.discourse-cdn.com/v4/letter/m/cab0a1/32.png) [@maenu](https://discuss.elastic.co/u/maenu)
#### Post date: [January 10, 2017, 6:38pm UTC](https://discuss.elastic.co/t/hide-inaccessible-indices-in-kibana-discover/71122/3 "2017-01-10T18:38:48Z")

</div>

Hi @weltenwort  
Thanks for your answer. I will try that workaround.

---

<div class="post-metadata">

### Author: ![maenu](https://avatars.discourse-cdn.com/v4/letter/m/cab0a1/32.png) [@maenu](https://discuss.elastic.co/u/maenu)
#### Post date: [January 11, 2017, 11:10am UTC](https://discuss.elastic.co/t/hide-inaccessible-indices-in-kibana-discover/71122/4 "2017-01-11T11:10:42Z")

</div>

@weltenwort

I have now set up 3 Kibana instances with separate Kibana indices and installed X-Pack plugin on all of them. All instances show the same users and roles in Kibana Management.

Is there a way I can set up separate users and roles per Kibana instance (without running multiple Elasticsearch instances)?

Thanks

---

<div class="post-metadata">

### Author: ![weltenwort](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/weltenwort/32/53885_2.png) [@weltenwort](https://discuss.elastic.co/u/weltenwort)
#### Post date: [January 11, 2017, 11:32am UTC](https://discuss.elastic.co/t/hide-inaccessible-indices-in-kibana-discover/71122/5 "2017-01-11T11:32:00Z")

</div>

The users and roles that can be managed through Kibana are the users and roles in the Elasticsearch [native realm](https://www.elastic.co/guide/en/x-pack/current/native-realm.html), of which there is only one. I would recommend to create a separate role for each Kibana instance and limit its privileges to the corresponding Kibana index.

---

<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: [February 8, 2017, 11:32am UTC](https://discuss.elastic.co/t/hide-inaccessible-indices-in-kibana-discover/71122/6 "2017-02-08T11:32:46Z")

</div>

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