RBAC configuration in elastic search with kibana

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?

Asked By: Aditya

Answer #1:

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,

  1. Login to Kibana
  2. Navigate to Management -> Roles.
  3. click on +Create role
  4. Provide a name to your role
  5. In the index privileges section, provide the index name and privileges required (read, write etc.)
  6. save

With shield, you can manage roles using this document.

Answered By: harishkb
The answers/resolutions are collected from stackoverflow, are licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0 .

# More Articles