# Kibana Index Patterns are visible to all users

**URL:** <https://discuss.elastic.co/t/kibana-index-patterns-are-visible-to-all-users/77669>\
**Category:** Kibana\
**Created:** [March 7, 2017, 1:30pm UTC](https://discuss.elastic.co/t/kibana-index-patterns-are-visible-to-all-users/77669 "2017-03-07T13:30:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sgarap](https://avatars.discourse-cdn.com/v4/letter/s/3ec8ea/32.png) [@sgarap](https://discuss.elastic.co/u/sgarap)\
**Post date:** [March 7, 2017, 1:30pm UTC](https://discuss.elastic.co/t/kibana-index-patterns-are-visible-to-all-users/77669/1 "2017-03-07T13:30:28Z")

</div>

Hi,

I have installed Kibana 5.2.0 with X-Pack. I created 2 indexes, e.g logging-a-07.03.2017, logging-b-07.03.2017 with index patterns logging-a\*, logging-b\*  
I created role 'a' which can access index pattern logging-a\* with following privileges  
monitor,read,create,write,create\_index,index,view\_index\_metadata

I created an user and assinged it roles a, kibana\_user. When I tried to log in with this user, the user can see the index pattern logging-b\* also, eventhough role a has no access to indexpattern logging-b\*. Not only that, user is also able to delete the indexpattern logging-b\* using Management tab of Kibana. Ofcourse user is not able to see any data from logging-b\* index, but he can delete it and when i tried to login in with the user who has access to logging-b\* index, i can see that, the index pattern was deleted.

I have an usecase where i need to create users based on index patters. I might probably have 20 index patterns and each index pattern will have some users. I dont want all these index patterns to be displayed for all users. Is it possible to do that?

Thanks in Advance.

---

<div class="post-metadata">

**Author:** ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)\
**Post date:** [March 7, 2017, 6:54pm UTC](https://discuss.elastic.co/t/kibana-index-patterns-are-visible-to-all-users/77669/2 "2017-03-07T18:54:28Z")

</div>

@sgarap the only way to currently do that is to set up multiple instances of 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:** [April 4, 2017, 6:54pm UTC](https://discuss.elastic.co/t/kibana-index-patterns-are-visible-to-all-users/77669/3 "2017-04-04T18:54:45Z")

</div>

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