Common commands
Collect support bundle
| OS | Command |
|---|---|
|
Windows |
|
|
Linux |
|
Save to a custom location
./gatherlogs --output-dir /var/tmp/sum/support-bundles
Collect logs for a specific time range
The following example limits collection to the previous 10 days:
./gatherlogs --since 240h
Exclude OS diagnostics in restricted environments
./gatherlogs --no-os-commands
Support bundle naming convention
Gatherlogs generates archive files using the following format:
The
generated archive uses the following formats:text
sum_Gatherlogs_<hostname>_<YYYY-MM-DD_HH-MM-SS>_<os>| OS | Archive format |
|---|---|
| Windows | .zip |
| Linux | .tar.gz |