Gathering logs

To help IBM Support troubleshoot any issues with your Event Streams instance, use the oc adm must-gather command to capture the must gather logs. The logs are stored in a folder in the current working directory.

To gather diagnostic logs, run the following commands as Cluster Administrator:

  1. Log in to your Red Hat OpenShift Container Platform as a cluster administrator by using the oc CLI (oc login).
  2. Run the following command to capture the logs:

    oc adm must-gather --image=icr.io/cpopen/ibm-eventstreams-must-gather -- gather -m eventstreams -n <namespace>

To gather system level diagnostics in addition to the Event Streams information:

  1. Log in to your Red Hat OpenShift Container Platform as a cluster administrator by using the oc CLI (oc login).
  2. Run the following command to capture the logs:

    oc adm must-gather --image=icr.io/cpopen/ibm-eventstreams-must-gather -- gather -m system,eventstreams -n <namespace>

These logs are stored in an archive file in a folder in the current working directory. For example, the must-gather archive could be located on the path:

must-gather.local.6409880158745169979/icr-io-cpopen-ibm-eventstreams-must-gather-sha256-23a438c8f46037a72b5378b29decad00e871d11f19834ba75b149326847e7c05/cloudpak-must-gather-20200624100001.tgz