# Hide index patterns depending the user connected x-pack

**URL:** <https://discuss.elastic.co/t/hide-index-patterns-depending-the-user-connected-x-pack/100786>\
**Category:** Elasticsearch\
**Created:** [September 17, 2017, 9:15am UTC](https://discuss.elastic.co/t/hide-index-patterns-depending-the-user-connected-x-pack/100786 "2017-09-17T09:15:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ahmed\_Kdh](https://avatars.discourse-cdn.com/v4/letter/a/cdc98d/32.png) [@Ahmed\_Kdh](https://discuss.elastic.co/u/Ahmed_Kdh)\
**Post date:** [September 17, 2017, 9:15am UTC](https://discuss.elastic.co/t/hide-index-patterns-depending-the-user-connected-x-pack/100786/1 "2017-09-17T09:15:37Z")

</div>

Hello,

I'm using elasticsearch 5.6.0, Kibana 5.6.0 and X-pack plugin.

I would like to know if it is possible (with only one kibana instance) to hide some index patterns depending on the user connected ?

Example : There is 2 users A and B, and 2 index patterns a-mel and b-mel.

I want the user A to see only the index patterns a-mel in the management menu.

Thank you

---

<div class="post-metadata">

**Author:** ![LeeDr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leedr/32/9289_2.png) [@LeeDr](https://discuss.elastic.co/u/LeeDr)\
**Post date:** [September 18, 2017, 12:34pm UTC](https://discuss.elastic.co/t/hide-index-patterns-depending-the-user-connected-x-pack/100786/2 "2017-09-18T12:34:04Z")

</div>

No. This is not possible because both users have to have read access to .kibana index to see index-patterns.

Of course you can let user A only read data from a-mel index pattern, and user B only read data from b-mel.

Regards,  
Lee

---

<div class="post-metadata">

**Author:** ![Ahmed\_Kdh](https://avatars.discourse-cdn.com/v4/letter/a/cdc98d/32.png) [@Ahmed\_Kdh](https://discuss.elastic.co/u/Ahmed_Kdh)\
**Post date:** [September 28, 2017, 8:54am UTC](https://discuss.elastic.co/t/hide-index-patterns-depending-the-user-connected-x-pack/100786/3 "2017-09-28T08:54:08Z")

</div>

Thank you for your answer

Best Regards

---

<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:** [October 26, 2017, 8:55am UTC](https://discuss.elastic.co/t/hide-index-patterns-depending-the-user-connected-x-pack/100786/4 "2017-10-26T08:55:10Z")

</div>

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