# How to filter the elastic results based logged person roles and permission

**URL:** <https://discuss.elastic.co/t/how-to-filter-the-elastic-results-based-logged-person-roles-and-permission/219126>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [February 13, 2020, 6:26am UTC](https://discuss.elastic.co/t/how-to-filter-the-elastic-results-based-logged-person-roles-and-permission/219126 "2020-02-13T06:26:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kiransatheesh](https://avatars.discourse-cdn.com/v4/letter/k/8baadc/32.png) [@kiransatheesh](https://discuss.elastic.co/u/kiransatheesh)\
**Post date:** [February 13, 2020, 6:26am UTC](https://discuss.elastic.co/t/how-to-filter-the-elastic-results-based-logged-person-roles-and-permission/219126/1 "2020-02-13T06:26:20Z")

</div>

How to filter the elastic results based logged person roles and permission

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [February 13, 2020, 6:48am UTC](https://discuss.elastic.co/t/how-to-filter-the-elastic-results-based-logged-person-roles-and-permission/219126/2 "2020-02-13T06:48:59Z")

</div>

Welcome!  
It's done automatically out of the box as soon as you define the roles on indices.

Did you mean anything else?

---

<div class="post-metadata">

**Author:** ![kiransatheesh](https://avatars.discourse-cdn.com/v4/letter/k/8baadc/32.png) [@kiransatheesh](https://discuss.elastic.co/u/kiransatheesh)\
**Post date:** [February 13, 2020, 12:22pm UTC](https://discuss.elastic.co/t/how-to-filter-the-elastic-results-based-logged-person-roles-and-permission/219126/3 "2020-02-13T12:22:25Z")

</div>

Can we pass input parameter like personid to logstash configuration file statement?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [February 14, 2020, 1:56am UTC](https://discuss.elastic.co/t/how-to-filter-the-elastic-results-based-logged-person-roles-and-permission/219126/4 "2020-02-14T01:56:34Z")

</div>

Where would you like to put this? In which plugin ? What for?

Hard to understand what you are trying to do.

---

<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:** [March 13, 2020, 1:56am UTC](https://discuss.elastic.co/t/how-to-filter-the-elastic-results-based-logged-person-roles-and-permission/219126/5 "2020-03-13T01:56:41Z")

</div>

Closed on March 13, 2020, 1:56am UTC

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