# Kibana - defining access to multi customers sharing same dashboard

**URL:** <https://discuss.elastic.co/t/kibana-defining-access-to-multi-customers-sharing-same-dashboard/158567>\
**Category:** Kibana\
**Tags:** elastic-stack-security\
**Created:** [November 28, 2018, 12:50pm UTC](https://discuss.elastic.co/t/kibana-defining-access-to-multi-customers-sharing-same-dashboard/158567 "2018-11-28T12:50:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kathir\_J](https://avatars.discourse-cdn.com/v4/letter/k/e47774/32.png) [@Kathir\_J](https://discuss.elastic.co/u/Kathir_J)\
**Post date:** [November 28, 2018, 12:50pm UTC](https://discuss.elastic.co/t/kibana-defining-access-to-multi-customers-sharing-same-dashboard/158567/1 "2018-11-28T12:50:13Z")

</div>

I have 3 customers namely a,b,c.

Log format among the above three customers are same.  
I have an index called customer-a, customer-b, customer-c in my elasticsearch and also created an alias index called customer-\*.

Having mentioned, I have created visuals and dashboard(say home\_dashboard) using _customer-\*_ index.

So now, I am able to view all three customers data(since i used customer-\* index) in visuals and dashboard(home\_dashboard).  
Now, all three customers want to see and analyze their data.

I can create a user with view dashboard only access and assign access only to their index.

For ex., User a is created (for customer a) and is given access only to customer-a index and view access to dashboard(home\_dashboard).

Though index are different how do I make sure customer a,b,c view only their data and not other customers data? (all customers share the same _home\_dashboard_ template)

---

<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:** [November 28, 2018, 3:21pm UTC](https://discuss.elastic.co/t/kibana-defining-access-to-multi-customers-sharing-same-dashboard/158567/2 "2018-11-28T15:21:16Z")

</div>

Hey @Kathir_J, you'll want to create separate roles that provide access to different indices. If you create a role which grants access to only index `customer-a`, you can then assign that role to only the users of customer a. The "index pattern" that you create in Kibana can still reference `customer-*` and the dashboards can be built against this same index, but when the customer's users access it they'll be limited to their subset of data.

---

<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 26, 2018, 3:21pm UTC](https://discuss.elastic.co/t/kibana-defining-access-to-multi-customers-sharing-same-dashboard/158567/3 "2018-12-26T15:21:18Z")

</div>

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