Download Cluster Logs
To download cluster logs, perform the following steps:
- Gather credential and IP address information for your BOSH Director, SSH into the Ops Manager VM, and use the BOSH CLI v2 to log in to the BOSH Director from the Ops Manager VM. For more information, see Advanced Troubleshooting with the BOSH CLI.
- After logging in to the BOSH Director, identify the name of your PKS deployment. For example:
$ bosh -e pks deploymentsYour PKS deployment name begins with
pivotal-container-serviceand includes a BOSH-generated hash.
- Identify the names of the VMs you want to retrieve logs from by listing all VMs in your deployment. For example:
$ bosh -e pks -d pivotal-container-service-aa1234567bc8de9f0a1c vms
- Download the logs from the VM. For example:
$ bosh -e pks -d pivotal-container-service-aa1234567bc8de9f0a1c logs pks/0See the View Log Files section of the Diagnostic Tools topic for information about using cluster logs to diagnose issues in your PKS deployment.