Each time you upload data via a CLI ingest command, an audit log is automatically created that you can use to verify your files were uploaded as expected. This log file describes where Flywheel placed data and if any errors occurred that prevented files from being uploaded.
Commands that produce an audit log
The following CLI commands produce an audit log:
By default, the audit log is attached to the project where you uploaded the data. To view or download the log from the project:
Sign in to Flywheel, and go to the project.
Click the Information tab.
Go to the Attachments section. You can sort or filter attachments using fields at the top of each column.
To view the log or download it to your computer, select the options menu .
Below are some example audit logs:
Below is an example of an audit log when the
--detect-duplicatesflag is used. Learn more about using this option when uploading data with the CLI.
You can configure the Flywheel CLI to download the audit log to your computer:
To save the audit log to your computer when using the CLI to ingest or sync data, use the
Update PATH to the location where you want to save the log file on your computer. The PATH must also name the audit log as a CSV file. For example if you want to name the file
fw ingest dicom --save-audit-logs ~/Documents/Logs/auditLog.csv ~/Documents/UploadData mygroup "My Project"
Once the upload is complete, the CLI displays a message confirming where the audit log was downloaded.