# How to restrict index pattern list view for a particular role in kibana?

**URL:** https://discuss.elastic.co/t/how-to-restrict-index-pattern-list-view-for-a-particular-role-in-kibana/304805
**Category:** Kibana
**Tags:** elastic-stack-security
**Created:** [May 16, 2022, 10:37am UTC](https://discuss.elastic.co/t/how-to-restrict-index-pattern-list-view-for-a-particular-role-in-kibana/304805 "2022-05-16T10:37:16Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Yash\_garg](https://avatars.discourse-cdn.com/v4/letter/y/ee7513/32.png) [@Yash\_garg](https://discuss.elastic.co/u/Yash_garg)
#### Post date: [May 16, 2022, 10:37am UTC](https://discuss.elastic.co/t/how-to-restrict-index-pattern-list-view-for-a-particular-role-in-kibana/304805/1 "2022-05-16T10:37:16Z")

</div>

Hi there,  
I am using multiple server to send logs to logstash using filebeat. then i am sending logs from logstash to Elasticsearch to kibana.

I defined a user and role in kibana. But I want to restrict each user to view particular server logs only in index pattern list. Like I am restricting already user to see other logs, but i want to restrict their name from the list also. How can I do that?

 ![kibana issue 1](https://us1.discourse-cdn.com/elastic/original/3X/9/3/934ff3d06680689f9de89a3229cd82e00dc84920.png)

below is my kibana role configuration

 ![Role configuration](https://us1.discourse-cdn.com/elastic/original/3X/5/6/568584309620d9d94c9c5aab184a62882a86aece.png)

---

<div class="post-metadata">

### Author: ![Tomo\_M](https://avatars.discourse-cdn.com/v4/letter/t/848f3c/32.png) [@Tomo\_M](https://discuss.elastic.co/u/Tomo_M)
#### Post date: [May 17, 2022, 12:52am UTC](https://discuss.elastic.co/t/how-to-restrict-index-pattern-list-view-for-a-particular-role-in-kibana/304805/2 "2022-05-17T00:52:25Z")

</div>

In such case, using space is a good choice. [Create different spaces](https://www.elastic.co/guide/en/kibana/current/xpack-spaces.html) for each user and create appropriate index patterns in each space.

Index pattern is common within the space.

---

<div class="post-metadata">

### Author: ![Yash\_garg](https://avatars.discourse-cdn.com/v4/letter/y/ee7513/32.png) [@Yash\_garg](https://discuss.elastic.co/u/Yash_garg)
#### Post date: [May 17, 2022, 9:35am UTC](https://discuss.elastic.co/t/how-to-restrict-index-pattern-list-view-for-a-particular-role-in-kibana/304805/3 "2022-05-17T09:35:39Z")

</div>

Thank you for replying. It is solved. I created the space restricting the user. then disable the permissions . and it worked.

---

<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 14, 2022, 9:36am UTC](https://discuss.elastic.co/t/how-to-restrict-index-pattern-list-view-for-a-particular-role-in-kibana/304805/4 "2022-06-14T09:36:17Z")

</div>

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