The Rancher v1.6 log collector script
This document (000020190) is provided subject to the disclaimer at the end of this document.
Situation
Rancher v1.6 log collection
Logs can be collected from a node within a Rancher v1.6 cluster using the Rancher v1.6 log collector script.
The script needs to be downloaded and run directly on the host using the root user or using sudo, as follows:
wget -O- https://raw.githubusercontent.com/rancherlabs/support-tools/master/collection/rancher/v1.6/logs-collector/rancher16_logs_collector.sh | sudo bash -s
The output will be written to /tmp
to a gziped tar file named <hostname>-<datetime>.tar.gz
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:000020190
- Creation Date: 06-May-2021
- Modified Date:06-May-2021
-
- SUSE Rancher
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com