Log Management
If you have chosen to install the cluster via the provided installer, logs can be found on the host machine at:
- /var/log/pods or /var/log/containers - for the individual pods/containers;
- /var/log/apiserver - for the Kubernetes API server.
The application logs are ephemeral and connected with each application lifecycle. If the application is restarted, then its log will disappear.
Troubleshooting
Our support team can help you with support bundles. A support bundle is a compressed folder with files that help us investigate cluster issues, such as:
application logs;
Replicated configuration;
cluster metadata;
Kubernetes manifests.
You can create a support bundle at any time and attach it to a support request.
Create Support Bundle
Open the admin console.
Go to Troubleshoot → Support bundles → Analyze Labfolder. The bundle is created from Replicated's configuration.
Send the Support Bundle to us
There are two ways to send it:
Send it directly from the admin console. In this case, mention in your support request that you have already sent it.
Download the .tar.gz file and attach it to your support request.

Host Support Bundle
Some investigations need details from the host, for example when the admin console is offline. For this, use the Host Support Bundle, which does not depend on the admin console.
Download the support-bundle tool, check it and unpack it:
curl -LO https://github.com/replicatedhq/troubleshoot/releases/download/v0.134.4/support-bundle_linux_amd64.tar.gz
echo "120ffd7d641f608202a134d788b693c16edeec1fd09ff0882a85a1c21e8cf5e1 support-bundle_linux_amd64.tar.gz" | sha256sum -c -
tar xzvf support-bundle_linux_amd64.tar.gzThen run the following command to collect information from the cluster and the host:
./support-bundle --load-cluster-specs https://raw.githubusercontent.com/replicatedhq/troubleshoot-specs/1f9eeb9449c7c6229923b1d1a4f614701d8a1821/in-cluster/default.yaml https://raw.githubusercontent.com/replicatedhq/troubleshoot-specs/1f9eeb9449c7c6229923b1d1a4f614701d8a1821/host/default.yamlIf it fails, the cluster is probably offline. In that case, collect information from the host only:
./support-bundle https://raw.githubusercontent.com/replicatedhq/troubleshoot-specs/1f9eeb9449c7c6229923b1d1a4f614701d8a1821/host/default.yamlPress q or s to leave the result screen. Then attach the generated file, support-bundle-<current date>.tar.gz, to your support request.
Redactors - Data Security
Before a support bundle leaves your system, redactors replace sensitive values in it with ***HIDDEN***.
Bundles generated in the admin console (Troubleshoot → Support bundles → Analyze Labfolder), or with the command you get from "click here to get a command to manually generate a support bundle" on the same page: IP addresses, passwords and OAuth client secrets are hidden. After a bundle is generated in the admin console, its Redactor report tab lists each redaction rule that was applied and how many values it hid.
Host Support Bundle (the commands above): the Labfolder redactors are not yet applied to it. Use it only when the admin console is unavailable, and check its contents before sending it to us.
Redaction is pattern-based and cannot guarantee that every sensitive value is caught. You can unpack the downloaded .tar.gz and review its files before attaching it to a support request. For details on how redactors work, see Redactor (KOTS Only) | Replicated Docs.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article