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

Loki search does not allow special chars

XMLWordPrintable

    • False
    • None
    • False
    • NEW
    • NEW

      Description of problem:

      When using the observability loki console, the search field does not accept special chars that should be escaped. For example, introduce the term "manager-role" (with quotes).

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

      4.13 with logging 5.7.1

      How reproducible:

      Alwasy

      Steps to Reproduce:

      1. Install the loki stack and configure the logging operator to use it
      2. Select the loki search
      3. In content, introduce some text between quotes, like "manager-role"
      

      Actual results:

      An exception in the search

      Expected results:

      Search using an escaped sequence

      Additional info:

      https://grafana.com/blog/2021/01/05/how-to-escape-special-characters-with-lokis-logql

            jezhu@redhat.com Jenny Zhu
            rgordill1@redhat.com Ramon Gordillo Gutierrez
            Kabir Bharti Kabir Bharti
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: