Troubleshooting Tip: Retrieving FortiSOAR logs using the CLI when GUI log downloading fails
| Description | This article describes the procedure to retrieve FortiSOAR logs from the command-line interface (CLI) when the FortiSOAR GUI cannot be used to download them. |
| Scope | FortiSOAR 7.5.x, 7.6.x. |
| Solution | Step 1: Restore the correct SELinux context so the script can run properly.
Step 2: Run the log collection script in debug mode and store the logs in /tmp.
sh -x /opt/cyops/scripts/log_collect.sh --collect /tmp Fri Dec 23 01:36:26 AM +04 2025 Total logs size: 25G
Note: If sufficient disk space is not available, increase the disk space or remove core dumps to free up space. |