Fortinet How to Configure
How to send FortiGate logs to FortiSIEM and verify the first alert
Seeing packets arrive at a FortiSIEM Collector only proves that syslog reached the listener. Follow one approved FortiGate admin sign-in through Analytics and into Incidents to verify the rest of the pipeline.
QuantumCrafters Studio · Guide 3 of 12
Follow the log to the alert
- FortiGate Records the sign-in
- Collector Receives and parses syslog
- Analytics Shows the parsed event
- Streaming rule Matches the test sign-in
- Incidents Links the alert to the event
logid=0100032001 · srcip=10.42.10.25
What FortiSIEM does
FortiSIEM is Fortinet’s security information and event management platform. It collects and parses logs so a SOC can search across sources, evaluate detection rules and open incidents with the events that triggered them. Use this walkthrough when onboarding a firewall or checking whether a change to logging, routing or parsing broke a detection. It uses an existing FortiSIEM 7.5.1 enterprise deployment, FortiOS 7.6, and one registered Collector. FortiSIEM key concepts
The expected results follow Fortinet’s documentation. Validate the pipeline on your appliances before using the procedure in a production change.
Before the change
| Item | Isolated lab setup |
|---|---|
| Reporting FortiGate | 10.42.10.1, the verified Reporting IP for this device |
| Admin workstation | 10.42.10.25, the source of the approved HTTPS sign-in |
| FortiSIEM Collector | 10.42.20.10, registered with the Supervisor and able to upload events |
| Syslog transport | UDP 514 on a restricted management network |
| Test event | FortiOS message ID 32001, logged at Information severity |
| Expected result | A Low-severity incident from the scoped lab rule with the matching login as a triggering event |
Use an approved test account and keep FortiGate and FortiSIEM clocks synchronized. Save the current syslog destination and filter settings and choose a free slot if the primary destination already serves another system. Allow only the lab FortiGate’s syslog source to reach the Collector listener. UDP syslog is unencrypted and does not guarantee delivery. For production paths that require authentication or encryption, validate the supported TLS configuration on both ends. The Collector parses the logs and uploads compressed data to the Supervisor or Worker over HTTPS. Collector setup and upload path, FortiSIEM port usage, FortiOS event 32001
1. Point FortiGate at the Collector
The commands below assume the first syslog slot is free on a single-VDOM lab FortiGate. For a free alternate slot, use its matching settings and filter, such as syslogd2, and account for any VDOM override. Check that the route to the Collector uses the source IP allowed by the logging path.
config log syslogd setting
set status enable
set server "10.42.20.10"
set mode udp
set port 514
set format default
end
config log syslogd filter
set severity information
end
The default FortiGate format preserves the native fields consumed by the FortiSIEM parser. The Information threshold includes the successful admin sign-in. Confirm system events are enabled at the source and that an existing filter does not exclude this event. Record the resulting destination and filter settings. Fortinet’s FortiGate integration guide, FortiOS log settings and targets
2. Verify the parsed sign-in in Analytics
Sign in once over HTTPS from the approved workstation using a fresh session. Record the time and confirm the FortiGate system event at its available log destination. In FortiSIEM, open Analytics → Search and use a narrow time range around the sign-in. Begin with the verified Reporting IP or raw log text. Open the event and compare the raw log with its parsed attributes.
| Evidence | What to verify |
|---|---|
| Event Type | FortiGate-event-admin-login-success |
| Reporting IP | The FortiGate reporting address, 10.42.10.1 in this lab |
| Source IP | The workstation address in the sign-in event, 10.42.10.25 in this lab |
| Raw event | The sign-in time and user match the FortiGate record |
Use the actual parsed values from your deployment when configuring the rule. Reporting IP identifies the device that sent the log. Source IP describes the client in the event. A generic event or an empty field needed by the rule calls for a parser or source-format check before moving on. FortiGate event types, FortiSIEM Analytics search
3. Build and test a narrowly scoped rule
Under Resources → Rules, select the group for the lab rule and use + to create a user-defined rule. In General, enter QCS Lab – FortiGate Admin Login as the name and give it a unique rule type, such as QCSLabFortiGateAdminLogin. Select Streaming as the evaluation mode. In Define Condition, create one subpattern with these three filters joined by AND. Set the rule time window to 60 seconds for the lab.
| Condition | Lab value |
|---|---|
| Event Type | FortiGate-event-admin-login-success |
| Reporting IP | 10.42.10.1 |
| Source IP | 10.42.10.25 |
| Aggregation | COUNT(Matched Events) >= 1 |
Group by Reporting IP and Source IP so matches are tracked for each device and workstation pair. Keep the system-populated incident fields. In Define Action, set severity to Low and use the Action editor to enter the incident title Lab FortiGate Admin Login. The one-event threshold is a deliberate pipeline test. Tune a production detection to the behavior your team intends to investigate. Building and configuring rules
Save the rule inactive. Where you have super-global access, select Test for the inactive rule and use the matching raw log from Step 2 with its verified Reporting IP. Test a second fixture from a different approved lab workstation to confirm that the Source IP filter rejects it. An inactive rule test validates parsing and conditions. A fresh sign-in with the active rule verifies the entire delivery path. Activate the rule for the approved scope and complete the approval workflow if your installation requires it. Testing a rule, Activating a rule
4. Confirm the alert and its evidence
Start another approved sign-in from the same workstation and record the time. Under Incidents → List → By Rule, find the lab rule in the test window. Open Triggering Events and verify that the login that occurred after activation appears there. Record the incident ID, time, severity, Reporting IP and the matching event. If FortiSIEM groups another match into an existing incident, check Last Occurred and the triggering events for the new time. FortiSIEM incident list and details
The alert in this guide is the incident record in FortiSIEM. Email and webhook delivery are separate checks. If a notification is part of acceptance, use a designated test destination and a matching Automation Policy scoped to the lab rule. Verify receipt at that destination. FortiSIEM Automation Policy settings
Troubleshoot the stage that failed
| Observation | Check next |
|---|---|
| The sign-in is absent from FortiGate logs | Verify system-event logging, the sign-in time, and the log destination or retention settings. |
| FortiGate records it but no syslog reaches the Collector | Check the target, source and route, UDP 514 access, and the forwarding filter. Use an approved, tightly scoped capture if you need to confirm arrival. |
| Syslog arrives but Analytics shows nothing | Check Collector registration and upload health, the time range, and organization scope in a multi-tenant deployment. |
| Analytics shows a generic event or missing fields | Compare the raw event with the FortiGate parser expectations and confirm native format. Check whether a relay changed the message or reporting address. |
| Analytics shows the matching event but there is no incident | Check rule activation and scope, filter values, the evaluation window, exceptions and device maintenance or approval settings. Search both new and grouped incidents for the event time. |
| The incident opens but the message never arrives | Check that the Automation Policy is enabled, matches the rule and severity, and can reach the designated destination. |
See Fortinet’s incident troubleshooting guide for additional checks when events arrive late or workers cannot pass rule results upstream.
Roll back and hand over
Deactivate the lab rule and any test-only notification after verification. If the lab destination was temporary, restore the captured syslog settings and filters on that slot. Verify that the original log receiver still receives events. Keep a redacted source event, its parsed Analytics row, the lab rule scope, and the incident ID with the triggering event. These records show which parts of the pipeline the test verified.
