I am trying out elastic search for the first time and I want to create a role which can access only a specific index (already created). How can I proceed with it?
Depending on what version of Elasticsearch is used, you can decide to install either the
shield(less than 5.x) plugin or
x-pack(paid subscription with a free trial period).
With x-pack installed, if you want to manage Roles in Kibana,
With shield, you can manage roles using this document.