Generate a device log bundle

You can run the flightctl-must-gather script on a device to collect diagnostic logs into a .tar bundle for troubleshooting and bug reporting.

About this task

To view or download recent journal lines from the Flight Control web console without SSH, see Viewing, streaming, and downloading device logs in the web console.

Procedure

Run the following command on the device and include the .tar file in the bug report.
Note

This depends on an SSH connection to extract the .tar file.

Warning

The log bundle can contain sensitive information such as agent tokens, configuration values, and secret references. Review the contents of the .tar file before sharing it and redact any credentials or secrets.

sudo flightctl-must-gather