Uploaded image for project: 'OpenShift Logging'
  1. OpenShift Logging
  2. LOG-1388

project user can not list his structuredIndex in kabana

    XMLWordPrintable

Details

    • Passed
    • NEW
    • NEW

    Description

      Description of problem:
      The project user can not list the structured index which include his application logs

      Version:
      clusterserviceversion.operators.coreos.com/cluster-logging.5.1.0-26
      clusterserviceversion.operators.coreos.com/elasticsearch-operator.5.1.0-34
      Plus
      elasticsearch with openshift-ingest-plugin
      $ oc exec c elasticsearch elasticsearch-cdm-wd1u5qo4-1-5c6b7b8f65-5gfrj – es_util '-query=_cat/plugins'
      elasticsearch-cdm-wd1u5qo4-1 opendistro_security 0.10.0.4
      elasticsearch-cdm-wd1u5qo4-1 openshift-ingest-plugin 6.8.1.0
      elasticsearch-cdm-wd1u5qo4-1 prometheus-exporter 6.8.1.0

      Steps to Reproduce:

      1. Deploy clusterlogging
      2. user1 create projects
      oc new-project project-qa-1
      oc new-app https://raw.githubusercontent.com/openshift/verification-tests/master/testdata/logging/loggen/container_json_log_template.json

      3. forward to defaut ES using structuredInde index

      Create ClusterLogForwarder instance
      cat <<EOF|oc create -f -
      apiVersion: logging.openshift.io/v1
      kind: ClusterLogForwarder
      metadata:
        name: instance
      spec:
        inputs:
        - application:
            namespaces:
            - project-qa-1
          name: input-qa
        outputDefaults:
          elasticsearch:
            structuredIndexKey: openshift.labels.team
            structuredIndexName: qa
        pipelines:
        - inputRefs:
          - input-qa
          labels:
            team: qa-openshift-label
          name: pipeline-a
          outputRefs:
          - default
          parse: json
      EOF
      

      4. user1 view the logs in kibana

      Expected results:
      user1 can create index pattern and display his log in kibana

      Actual result:
      Can't list the structured index

      Attachments

        Activity

          People

            vimalkum@redhat.com Vimal Kumar
            anli@redhat.com Anping Li
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: