# Display dashboard based on logged in user

**URL:** <https://discuss.elastic.co/t/display-dashboard-based-on-logged-in-user/225578>\
**Category:** Kibana\
**Created:** [March 29, 2020, 7:59pm UTC](https://discuss.elastic.co/t/display-dashboard-based-on-logged-in-user/225578 "2020-03-29T19:59:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sunitha.eswaraiah](https://avatars.discourse-cdn.com/v4/letter/s/bbce88/32.png) [@sunitha.eswaraiah](https://discuss.elastic.co/u/sunitha.eswaraiah)\
**Post date:** [March 29, 2020, 7:59pm UTC](https://discuss.elastic.co/t/display-dashboard-based-on-logged-in-user/225578/1 "2020-03-29T19:59:22Z")

</div>

Hi,

Is there a way to auto filter the dashboard based on the user logged in ?  
When a user 'A' logged in, the dashboard should be updated based on the filter -\> User='A'.

/Sunitha

---

<div class="post-metadata">

**Author:** ![mikecote](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mikecote/32/58549_2.png) [@mikecote](https://discuss.elastic.co/u/mikecote)\
**Post date:** [March 30, 2020, 2:33pm UTC](https://discuss.elastic.co/t/display-dashboard-based-on-logged-in-user/225578/2 "2020-03-30T14:33:34Z")

</div>

Hi @sunitha.eswaraiah,

There isn't a way in Kibana to filter a dashboard based on the user that is logged in. Creating a dashboard per user by using the clone feature may be the best approach.

If you don't want the user to access data from other users, document level security in Elasticsearch would be the better solution (paid feature): [https://www.elastic.co/guide/en/elasticsearch/reference/current/document-level-security.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/document-level-security.html).

---

<div class="post-metadata">

**Author:** ![sunitha.eswaraiah](https://avatars.discourse-cdn.com/v4/letter/s/bbce88/32.png) [@sunitha.eswaraiah](https://discuss.elastic.co/u/sunitha.eswaraiah)\
**Post date:** [April 2, 2020, 1:50pm UTC](https://discuss.elastic.co/t/display-dashboard-based-on-logged-in-user/225578/3 "2020-04-02T13:50:17Z")

</div>

Thanks very much @mikecote ! Document level security solved my use case 👍

---

<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 30, 2020, 1:50pm UTC](https://discuss.elastic.co/t/display-dashboard-based-on-logged-in-user/225578/4 "2020-04-30T13:50:26Z")

</div>

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