Technical Tip: How to collect FortiEDR Collector log
| Description | This article describes how to retrieve the collector logs for troubleshooting. |
| Scope | FortiEDR Windows, Linux, and macOS Collectors. |
| Solution | If the collector is currently connected to FortiEDR Central Manager, it is possible to retrieve the collector logs via the management console:
If the Collector is disconnected from the FortiEDR Central Manager, it is possible to collect logs from the local Collector machine:
Windows:
If this procedure fails, follow these steps:
The registration password would be prompted, which can be found in the Management Console. In the Console, select Administration -> Tools -> Display.
macOS:
For v6.0+, execute the command:
sudo /Applications/FortiEDR.app/Contents/MacOS/FortiEDRCollector.app/Contents/MacOS/FortiEDRCollector --support
If the script does not work, zip/tar the directory /Library/Application Support/FortiEDR/Logs/.
Linux: To gather support information, one of the following options may be used:
Option 1:
/opt/FortiEDRCollector/bin/FortiEDRCollector --support
Option 2:
tar -zcvf <archive>.tar.gz /opt/FortiEDRCollector/ |

