About this task
Perform this procedure if you are using fix pack 2 or earlier.
Procedure
- Run this command using OpenShift to retrieve logs from the running pods:
kubectl logs <podName> > podName.txt
- Navigate to the installation directory.
- Run this script to retrieve logs from all running
pods:
./saveZapmClusterLogs.shNote:
By default, the script considers the namespace to be ibm-zapm. If
you are using a different namespace, then modify the script and update the
NAMESPACE= variable at the top of the script. The log files will be written to
the ./zapm-logs/ directory.