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

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

    • 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 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:

       

       

       

            [LOG-3439] Kibana filter doesn´t work with kubernetes.namespace_labels.xxxxx

            Errata Tool added a comment -

            Since the problem described in this issue should be resolved in a recent advisory, it has been closed.

            For information on the advisory (Moderate: Logging Subsystem 5.6.5 - Red Hat OpenShift security update), and where to find the updated files, follow the link below.

            If the solution does not work for you, open a new bug report.
            https://access.redhat.com/errata/RHSA-2023:1953

            Errata Tool added a comment - Since the problem described in this issue should be resolved in a recent advisory, it has been closed. For information on the advisory (Moderate: Logging Subsystem 5.6.5 - Red Hat OpenShift security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2023:1953

            Anping Li added a comment -

            rh-ee-calee  Could you update the release_note?

            Anping Li added a comment - rh-ee-calee   Could you update the release_note?

            Anping Li added a comment -

            Verified on elasticsearch-operator.v5.6.5.

            Anping Li added a comment - Verified on elasticsearch-operator.v5.6.5.

            CPaaS Service Account mentioned this issue in a merge request of openshift-logging / Log Collection Midstream on branch openshift-logging-5.7-rhel-8_upstream_ece683fadea575f0283c8316ff4c0bb6:

            Updated US source to: 571ff99 Merge pull request #1943 from Clee2691/LOG-3419-CherryPick

            GitLab CEE Bot added a comment - CPaaS Service Account mentioned this issue in a merge request of openshift-logging / Log Collection Midstream on branch openshift-logging-5.7-rhel-8_ upstream _ece683fadea575f0283c8316ff4c0bb6 : Updated US source to: 571ff99 Merge pull request #1943 from Clee2691/ LOG-3419 -CherryPick

            GitLab CEE Bot added a comment - CPaaS Service Account mentioned this issue in a merge request of openshift-logging / Log Storage Legacy Midstream on branch openshift-logging-5.4-rhel-8_ upstream _529b40a38d1e1bc7bd0659294422e3a9 : Updated 3 upstream sources

            CPaaS Service Account mentioned this issue in a merge request of openshift-logging / Log Collection Midstream on branch openshift-logging-5.6-rhel-8_upstream_67fa8d723d49308c02659647a2d69148:

            Updated US source to: ee9ed4a Merge pull request #1931 from Clee2691/LOG-3419

            GitLab CEE Bot added a comment - CPaaS Service Account mentioned this issue in a merge request of openshift-logging / Log Collection Midstream on branch openshift-logging-5.6-rhel-8_ upstream _67fa8d723d49308c02659647a2d69148 : Updated US source to: ee9ed4a Merge pull request #1931 from Clee2691/ LOG-3419

            GitLab CEE Bot added a comment - CPaaS Service Account mentioned this issue in a merge request of openshift-logging / Log Storage Legacy Midstream on branch openshift-logging-5.6-rhel-8_ upstream _be70b7bfa82f9574924e2028600ed42c : Updated 3 upstream sources

            GitLab CEE Bot added a comment - CPaaS Service Account mentioned this issue in a merge request of openshift-logging / Log Storage Legacy Midstream on branch openshift-logging-5.7-rhel-8_ upstream _8c5da7006159c5a53ff008401eff4500 : Updated 3 upstream sources

            GitLab CEE Bot added a comment - CPaaS Service Account mentioned this issue in a merge request of openshift-logging / Log Storage Legacy Midstream on branch openshift-logging-5.5-rhel-8_ upstream _ad00f79d6868089f8359d4a90dd778a7 : Updated 3 upstream sources

            I believe this is a duplicate to https://issues.redhat.com/browse/LOG-3419 Still investigating

            Jeffrey Cantrill added a comment - I believe this is a duplicate to https://issues.redhat.com/browse/LOG-3419 Still investigating

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

                Created:
                Updated:
                Resolved: