# Need help with creating/mapping different indexes for groups of servers

**URL:** <https://discuss.elastic.co/t/need-help-with-creating-mapping-different-indexes-for-groups-of-servers/209577>\
**Category:** Kibana\
**Created:** [November 26, 2019, 8:30pm UTC](https://discuss.elastic.co/t/need-help-with-creating-mapping-different-indexes-for-groups-of-servers/209577 "2019-11-26T20:30:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![snipervelli](https://avatars.discourse-cdn.com/v4/letter/s/e47774/32.png) [@snipervelli](https://discuss.elastic.co/u/snipervelli)\
**Post date:** [November 26, 2019, 8:30pm UTC](https://discuss.elastic.co/t/need-help-with-creating-mapping-different-indexes-for-groups-of-servers/209577/1 "2019-11-26T20:30:23Z")

</div>

Hi,  
I have 3 different teams and i need to give each team permission to only access the logs of the servers they own by putting them into groups and giving those groups access to kibana. I am assuming the way to go is to have each groups logs indexed separately then give access to the indexed logs. I have already set up xpack.

1. Is that the way to go, are there alternatives?
2. How do i go about accomplishing it. Will be happy for examples or suggestions.

---

<div class="post-metadata">

**Author:** ![markov00](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/markov00/32/33316_2.png) [@markov00](https://discuss.elastic.co/u/markov00)\
**Post date:** [November 27, 2019, 11:35am UTC](https://discuss.elastic.co/t/need-help-with-creating-mapping-different-indexes-for-groups-of-servers/209577/2 "2019-11-27T11:35:54Z")

</div>

Hi @snipervelli

You can use [Kibana Spaces](https://www.elastic.co/guide/en/kibana/master/xpack-spaces.html) to create separate environments for your team members and [assign to each space a role](https://www.elastic.co/guide/en/kibana/7.4/kibana-privileges.html) configured to allow access to a specific group of indices or to a single index with a [document level security](https://www.elastic.co/guide/en/elasticsearch/reference/7.4/document-level-security.html) configured.

---

<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 25, 2019, 11:36am UTC](https://discuss.elastic.co/t/need-help-with-creating-mapping-different-indexes-for-groups-of-servers/209577/3 "2019-12-25T11:36:12Z")

</div>

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