How can we distribute indexes with different team

I have two indexes in Elastic search IndexA & IndexB.

I created suppurate dashboard with IndexA,IndexB in Kibana.

in my organisation we have two teams TeamA & TeamB.

TeamA can only access IndexA dashboard and TeamB can access only IndexB dashboard in kibana.
Now TeamA&B can access IndexA&B dashboard.
How can i restrict users where TeamA can only access IndexA dashboard.

In the same way anyone can access any indexes which is available in Elastic search.
How can i restrict users to use of indexes.

Thanks in Advance...

The Security functionality in X-Pack can do this.

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