ElasticSearch角色权限

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"]
 
posted @ 2020-05-14 20:35  沟渠映明月  阅读(1126)  评论(0编辑  收藏  举报