CLI reference · Commands
talos diagnostic
A ZIP to attach to a bug report: doctor, configuration and logs, with secrets removed and paths replaced.
Reference for TALOS CLI 0.6.18
Writes a diagnostic ZIP: the doctor report, the effective configuration and the last 200 log lines.
talos diagnostic bundle --out <file.zip> [--session <id|last>]Options
-
--out <value> - The ZIP to write (required).
-
--session <value> - Also add the conversation of one session (opt-in). Keys, tokens, secret values and the paths of your home folder and project are masked; other paths, names, code, file contents and what was typed are not, and the command says so. If the conversation cannot be proved free of secret values, nothing is exported.
-
--include-content - Refused: prompts and file contents are never included.
- Keys found in your environment are removed and your folders are replaced by placeholders.
Exit codes and errors3
| Code | Exit | Meaning |
|---|---|---|
DIAGNOSTIC_OPERATION_REQUIRED | 2 | The command or the configuration is not valid. Check the command, its options and the configuration. |
DIAGNOSTIC_OUT_REQUIRED | 2 | The command or the configuration is not valid. Check the command, its options and the configuration. |
DIAGNOSTIC_CONTENT_EXPORT_DISABLED | 70 | TALOS could not finish this action. Try again; if it happens again, keep the log for a report. |