Downloading Cluster Logs
Page last updated:
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 Enterprise Pivotal Container Service (Enterprise PKS) deployment. For example:
$ bosh -e pks deploymentsYour Enterprise 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 Using BOSH Diagnostic Commands in Enterprise PKS topic for information about using cluster logs to diagnose issues in your Enterprise PKS deployment.
Please send any feedback you have to email@example.com.