Technical Tip: Troubleshooting FortiAnalyzer Event Handler Not Triggering Automation Stitch on FortiGate
| Description | This article describes a solution for the error 'Administrator does not have permission to generate this log: security-event API error 403' and the troubleshooting steps involved. |
| Scope | FortiGate, FortiAnalyzer. |
| Solution | FortiAnalyzer Event Handler has an option to send an alert to trigger an automation stitch on FortiGate.
diag debug app oftpd 255 <FortiGate_Name> FortiGate Commands:
diagnose debug reset By reviewing the HTTPS Debug output on FortiGate, the following error can be observed: [httpsd 20951 - 1713376416 error] generate_event[893] -- Administrator does not have permission to generate this log: security-event The reason for this error is that FortiOS no longer supports username/password authentication to FortiAnalyzer.
To enable it via the CLI, run the following configuration:
diagnose test app oftpd 99
fnsysctl killall httpsd If both of these commands do not work, reboot both FortiAnalyzer and FortiGate with the following command on each:
Important: On FortiGate devices running FortiOS versions 7.6.5 or 7.6.6, the same error message 'Administrator does not have permission to generate this log: security-event API error 403' can be observed when FortiAnalyzer event handler attempts to trigger an automation stitch on the FortiGate. This is a known issue (ID 1239953), and a fix is scheduled for FortiOS versions 7.6.7 and 8.0.0. |


