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

Kibana filter doesn´t work with kubernetes.namespace_labels.xxxxx

    XMLWordPrintable

Details

    • False
    • None
    • False
    • NEW
    • NEW
    • Before this change labels and namespace_labels were not being indexed by Elasticsearch because of the template definitions. This change enables indexing in the template as well as replaces dots and slashes to ensure labels with dotted keys can be ingested
    • Bug Fix
    • Hide

      1) Create a namespace and labeled and create different labels for the namespace

      oc label namespace test entorn=pre
      oc label namespace test Entorn=PRE
      oc label namespace test ENVIRON=PREP

      2) Deploy an application that generates logs

      3)  In Kibana, after creating app* index pattern, use the filter for the previous labels:

       kubernetes.namespace_labels.entorn: pre
       kubernetes.namespace_labels.Entorn: PRE
       kubernetes.namespace_labels.ENVIRON: PREP

      It will not return any results

       

       

       

      Show
      1) Create a namespace and labeled and create different labels for the namespace oc label namespace test entorn=pre oc label namespace test Entorn=PRE oc label namespace test ENVIRON=PREP 2) Deploy an application that generates logs 3)  In Kibana, after creating app* index pattern, use the filter for the previous labels:  kubernetes.namespace_labels.entorn: pre  kubernetes.namespace_labels.Entorn: PRE  kubernetes.namespace_labels.ENVIRON: PREP It will not return any results      
    • Log Collection - Sprint 234
    • Important

    Description

      Description of problem: Kibana filter is not able to work when search is kubernetes.namespace_labels.xxxxx

      Version-Release number of selected component (if applicable): RHOL 5.5.5

      Actual results: Kibana filter doesn´t work with kubernetes.namespace_labels.xxxxx filters

      Expected results: make a correct filtering

      Additional info:

       

       

       

      Attachments

        Issue Links

          Activity

            People

              rh-ee-calee Calvin Lee
              acandelp Adrian Candel
              Anping Li Anping Li
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: