Multi tenancy

hi all
i am using x-pack to have security feature.
suppose, i have two indices in the discover part of kibana console. i have superuser access and want to define access for other users. for example there are user1 and user2. i want to give read and search access to user1 so that can login into kibana and watch logs of index1 and can search and filter them. also, i want to access user2 so that can search, watch and filter logs of index 2. notably user1 should not access to index2 logs and user2 should not access to index1 logs. how can i do this? what roles should be defined in kibana console?

Roles are documented here:

If you want to have 2 different users with different indices, then you will need define 2 new roles, and assign 1 to each user.

The 2 roles will need to refer to different indices in the "Indices Privileges" section:


Dear Tim,
i defined roles and users successfully.
I have an index which consists of two types of tag (tag1 and tag2), is it possible to control access of users based on the tags? for example user1 just can see data related to tag1 of index and user2 can see data related to tag2.
we can select tags in granted fields, but how can i set an specific tag to the user? means, select for example tag1 for user1

it has been done, thanks

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