To help IBM support troubleshoot any issues with your Event Streams installation, run the log gathering script as follows. The script collects the log files from available pods and creates a compressed file. It uses the component label names instead of the pod names as the pod names could be truncated.
- Download the
get-logs.shscript from GitHub.
- Ensure you have installed the Kubernetes command line tool and the IBM Cloud Private CLI as noted in the installation prerequisites.
- Log in to your cluster as an administrator by using the IBM Cloud Private CLI:
cloudctl login -a https://<Cluster Master Host>:<Cluster Master API Port>
The master host and port for your cluster are set during the installation of IBM Cloud Private.
Run the script as follows:
./get-logs.sh -n <namespace> -r <release-name>
If you do not specify a namespace, the script retrieves logs from the default namespace as requested in the
cloudctllogin. If you do not specify a release name, the script gathers logs for all releases.