getting index-level permission issue in searchguard 6.0.0

Hi Team,

I am getting below error:

[security_exception] no permissions for [indices:data/read/search] and User [name=himali, roles=[sg_role_him], requestedTenant=null, attributes={}]

sg_internal_users.yml

himali:

hash: $2y$12$6j51H42C8ebZc7fiLfaNC.FtQHC0rPXqMlXNYGXVJ1paxGhAu/PTG

roles:

  • sg_role_him

sg_roles.yml

sg_role_him:

indices:

‘producer’:

‘logtype’:

indices:data/read/get

indices:data/read/search

sg_roles_mapping.yml

sg_role_him:

indices:

'producer':

  'logtype':

    - sg_role_him

elasticsearch,kibana and searchguard version:6.0.0

please help me to save my day!!!

Please refer to the documentation on how to set up Kibana users:

“Configuring Elasticsearch: Adding Kibana users”

In addition to the READ permissions on your index, any Kibana user needs a minimum set of Kibana specific permissions. These are shipped in the sg_kibana_user role. So either assign this role in addition to your user, or use the sg_kibana_user role as a blueprint for your own role definition:

sg_kibana_user:
cluster:
- MONITOR
- CLUSTER_COMPOSITE_OPS_RO
indices:
‘?kibana’:
’:
- MANAGE
- INDEX
- READ
- DELETE
'
’:
‘*’:
- indices:data/read/field_caps

``

···

On Tuesday, January 23, 2018 at 2:18:45 PM UTC+1, kanchankachare88@gmail.com wrote:

Hi Team,

I am getting below error:

[security_exception] no permissions for [indices:data/read/search] and User [name=himali, roles=[sg_role_him], requestedTenant=null, attributes={}]

sg_internal_users.yml

himali:

hash: $2y$12$6j51H42C8ebZc7fiLfaNC.FtQHC0rPXqMlXNYGXVJ1paxGhAu/PTG

roles:

  • sg_role_him

sg_roles.yml

sg_role_him:

indices:

‘producer’:

‘logtype’:

indices:data/read/get

indices:data/read/search

sg_roles_mapping.yml

sg_role_him:

indices:
'producer':
  'logtype':
    - sg_role_him

elasticsearch,kibana and searchguard version:6.0.0

please help me to save my day!!!