cluster:monitor/main
indices:admin/get
 
 
如配置一个角色,该角色可以在JDBC中查询test和bort索引来运行SQL
cli_or_drivers_minimal:
  cluster:
    - "cluster:monitor/main"
  indices:
    - names: test
      privileges: [read, "indices:admin/get"]
    - names: bort
      privileges: [read, "indices:admin/get"]
 

相关文章: