fabric8io / openshift-elasticsearch-plugin

Apache License 2.0
27 stars 21 forks source link

How can we grant all non-cluster-admin-users access to index pattern project.* #194

Open MastanaGuru opened 4 years ago

MastanaGuru commented 4 years ago

I am creating some generic dashboards which uses index-pattern project. But since users have access to only their projects, a user has to build a dashboard for each of their project. In OCP 3.11, how can we grant project. access to all non-cluster-admin users or access to all projects starting with project.es-* ?

searchSourceJSON": "{
  "index": "project.*",
  "highlight": {
    "pre_tags": [
      "@kibana-highlighted-field@"
    ],
    "post_tags": [
      "@/kibana-highlighted-field@"
    ],
    "fields": {
      "*": {
      }
    },
    "fragment_size": 2147483647
  },
  "filter": [

  ],
  "query": {
    "query_string": {
      "query": "type:liberty_*",
      "analyze_wildcard": true
    }
  }
}"

or 

searchSourceJSON": "{
  "index": "project.es-*",
  "highlight": {
    "pre_tags": [
      "@kibana-highlighted-field@"
    ],
    "post_tags": [
      "@/kibana-highlighted-field@"
    ],
    "fields": {
      "*": {
      }
    },
    "fragment_size": 2147483647
  },
  "filter": [

  ],
  "query": {
    "query_string": {
      "query": "type:liberty_*",
      "analyze_wildcard": true
    }
  }
}"