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

Manually change the log_type is not reflected in the filter and the tenant

XMLWordPrintable

    • False
    • None
    • False
    • NEW
    • NEW
    • Bug Fix

      Description of problem:

      When a log_type is selected in the console, it redirects this query to the corresponding tenant (/backend/api/logs/v1/infrastructure/loki/, 
      /backend/api/logs/v1/application/loki/, etc). However, if this filter is updated in the log query, neither the filter nor the target tenant is updated, leading to a no data result.

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

      5.9.0

      How reproducible:

      Always

      Steps to Reproduce:

      1. Go to the log console
      2. Select a log_type, for example, infrastructure
      3. Go to the LogQL with "show query" and change log_type="infrastructure" to log_type="application"
      4. Neither the filter nor the tenant in the api query is updated, and "No datapoints found" is shown

      Actual results:

      Wrong tenant selection

      Expected results:

      Sync'ed filter/tenant/log_type as it is for other LogQL filters like kubernetes_namespace_name

      Additional info:

              Unassigned Unassigned
              rgordill1@redhat.com Ramon Gordillo Gutierrez
              Qiaoling Tang Qiaoling Tang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: