Retrieving logs

Important: If you're using fix pack 2 or earlier, follow the instructions in Retrieving logs

To retrieve logs from the running pods, for each pod, run the following command.

kubectl logs <podName> > podName.txt

To retrieve logs from all running pods, navigate to the installation directory and execute the following script:

./saveZapmLogs.sh

By default, the script assumes the namespace is set to "ibm-zapm". If you are using a different namespace, modify the script and update the NAMESPACE= variable at the top of the script. The log files will be written to ./zapm-logs/ directory.