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

Log exploration API integration into OC command

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • None
    • Log API
    • None
    • False
    • False
    • NEW
    • NEW
    • Undefined
    • Sprint 1

      As part of our log exploration project, we'd like to have the ability to fetch historical logs using the oc command. There is a way to extract logs from the running pod/deployment/daemonset/etc by using oc logs. Investigate the possibility of adding a plugin to the oc which will use either a flag or a separate command to extract the historical logs by tag, deployment, etc. Something like oc logs -historical (-tag=...|-deployment=...)

      **This article maybe a good starting point: https://docs.openshift.com/container-platform/4.6/cli_reference/openshift_cli/extending-cli-plugins.html 

              Unassigned Unassigned
              ikarpukh Igor Karpukhin (Inactive)
              Ishwar Kanse Ishwar Kanse
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: