kibana roles

Hi all, I use flume1.6+elasticsearch 2.3.3 and kibana4.4.1 , I login through the admin1 ,I will see all indices .When I login the develop1 ,it’s should I can see only the key is “-3-” indices, but there is an error occured:

When I add the “indices:data/read/field_stats” in sg_roles,Kibana will notice me “indices/read/mget” shoule be add…

Here is my configuration:

sg_roles.yml

sg_kibana4_server:

cluster:

  • cluster:monitor/nodes/info
  • cluster:monitor/health

indices:

‘*’:

‘*’:

  • indices:admin/mappings/fields/get*
  • indices:admin/validate/query
  • indices:admin/get*
  • indices:data/read/mget*

‘?kibana’:

‘*’:

  • “indices:*”

administrators:

indices:

‘*’:

‘*’:

  • KIBANA_USER

‘?kibana’:

‘*’:

  • KIBANA_SERVER

developers:

indices:

-3-’:

‘*’:

  • KIBANA_USER

‘?kibana’:

‘*’:

  • KIBANA_SERVER

sg_roles_mapping.yml

sg_kibana4_server:

users:

  • kibanaserver

administrators:

backendroles:

  • administrator-team1
  • administrator-team2

developers:

backendroles:

  • developer-team1
  • developer-team2

administrators:

users:

  • admin1
  • admin2

developers:

users:

  • developer1
  • developer1

sg_internal_users.yml

kibanaserver:

hash: $2a$12$4AcgAt3xwOWadA5s5blL6ev39OXDNhmOesEoo33eZtrq2N0YrU3H.

admin1:

hash: $2a$12$1HqHxm3QTfzwkse7vwzhFOV4gDv787cZ8BwmCwNEyJhn0CZoo8VVu

roles:

  • administrator-team1

admin2:

hash: $2a$12$1HqHxm3QTfzwkse7vwzhFOV4gDv787cZ8BwmCwNEyJhn0CZoo8VVu

roles:

  • administrator-team2

developer1:

hash: $2a$12$1HqHxm3QTfzwkse7vwzhFOV4gDv787cZ8BwmCwNEyJhn0CZoo8VVu

roles:

  • developer-team1

developer2:

hash: $2a$12$1HqHxm3QTfzwkse7vwzhFOV4gDv787cZ8BwmCwNEyJhn0CZoo8VVu

roles:

  • developer-team2

Kibana config :

kibana.yml

elasticsearch.username: “kibanaserver”

elasticsearch.password: “kibanaserver”

How should I configure this this, user develop1 only see his indices by kibana?

Any help appreciated!