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

OC historical-logs plugin: incorrect URL

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Undefined Undefined
    • None
    • None
    • Log API
    • False
    • False
    • NEW
    • NEW
    • Sprint 1

      We have a problem with the log-exploration-api OC plugin. The URL is built incorrectly:

      [ik@rhik log-exploration-oc-plugin]$ oc historical-logs podname=collector-4rchc
      DEBUG URL http://log-exploration-api-route-openshift-logging.apps.ikarpukh-test-274.devcluster.openshift.com/logs?%2Ffinishtime%2F=&%2Flevel%2F=&%2Fmaxlogs%2F=1000&%2Fnamespace%2F=openshift-logging&%2Fpod%2F=collector-4rchc&%2Fstarttime%2F=
      DEBUG QUERY map[/finishtime/:[] /level/:[] /maxlogs/:[1000] /namespace/:[openshift-logging] /pod/:[collector-4rchc] /starttime/:[]]
      Error: no logs present, or input parameters were invalid
      Usage:
        historical-logs [resource-type]=[resource-name] [flags] 

              akhandel@redhat.com Apeksha Khandelwal (Inactive)
              ikarpukh Igor Karpukhin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: