cloud-init collect-logs

Category: IaC & Automation

cloud-init collect-logs

Bundle logs and config into a tar archive

Collects cloud-init logs, journal excerpts, and configuration into cloud-init.tar.gz in the current directory for support requests. Add --include-userdata to embed the user-data that was provided. Related: cloud-init analyze blame.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.