Skip to main content
sramanujam
Staff
Staff
December 29, 2025

Troubleshooting Tip: Retrieving FortiSOAR logs using the CLI when GUI log downloading fails

  • December 29, 2025
  • 0 replies
  • 89 views
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.


restorecon -RvF /opt/cyops/scripts/log_collect.sh

 

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
Fri Dec 23 01:36:26 AM +04 2025 Available size: 1.8G
Fri Dec 23 01:36:26 AM +04 2025 Compressed log file size: 25G
Fri Dec 23 01:36:26 AM +04 2025 Required size: 50G
Fri Dec 23 01:36:26 AM +04 2025 Threshold size: 4.6G
Fri Dec 23 01:36:26 AM +04 2025 not enough space available

 

Note: If sufficient disk space is not available, increase the disk space or remove core dumps to free up space.