Created on
‎12-05-2017
01:38 PM
Edited on
‎02-14-2025
07:15 AM
By
Jean-Philippe_P
Description
It is important to run this command when the issue is present.
- Serial number.
- Firmware version.
- FortiGuard updates state.
- Memory and CPU usage.
- Global Configuration.
- Hardware features.
- Interface errors.
- Traffic statistics.
- HA diagnostics.
- Process crash log.
Scope
FortiGate.
Solution
There are two steps to obtaining the debug logs and TAC report. Note that 'super_admin' permission is required to download Debug Logs and run 'execute tac report', and 'diagnose debug report' commands.
- From the GUI interface: Go to System -> Advanced -> Debug Logs, select 'Download Debug Logs' and save the file.
- From the CLI management interface via SSH or console connection: Connect to the FortiGate (see related article).
On the command line run the following command and let the script to run until complete. This will take a few seconds depending on the amount of data.

For v7.4.x and v7.6.x :
Method 1: Go to System -> Settings -> FortiCare Debug Report and then select the 'Download' option. It is also possible to download it by selecting the question mark on the top right and selecting FortiCare Debug Report.
Method 2. On the Top Right corner Navigate to Help -> Additional Support -> FortiCare Debug Report.
Related articles:
Technical Note: How to create a log file of a session using PuTTY
Technical Tip: How to download Logs from FortiGate GUI.
Related video: