Downloading Cluster Logs

Page last updated:

Warning: Pivotal Container Service (PKS) v1.4 is no longer supported because it has reached the End of General Support (EOGS) phase as defined by the Support Lifecycle Policy.
To stay up to date with the latest software and security updates, upgrade to a supported version.

To download cluster logs, perform the following steps:

  1. 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.
  2. After logging in to the BOSH Director, identify the name of your Enterprise Pivotal Container Service (Enterprise PKS) deployment. For example:
    $ bosh -e pks deployments
    Your Enterprise PKS deployment name begins with pivotal-container-service and includes a BOSH-generated hash.
  3. 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
  4. Download the logs from the VM. For example:
    $ bosh -e pks \
    -d pivotal-container-service-aa1234567bc8de9f0a1c logs pks/0
    See the View Log Files section of the Diagnostic Tools topic for information about using cluster logs to diagnose issues in your Enterprise PKS deployment.

Please send any feedback you have to