Skip to main content
vraev
Staff
Staff
November 1, 2024

Technical Tip: FortiSwitch logs present under FortiAnalyzer

  • November 1, 2024
  • 0 replies
  • 3399 views
Description

 

This article describes the steps to review the FortiSwitch logs under FortiAnalyzer.

 

Scope

 

FortiAnalyzer 7.4.2 and above.

 

Solution

 

Prerequisite:

FortiGate 7.4.2 and above.
FortiSwitch connected to the FortiGate through the FortiLink.

On the FortiGate side:

config log fortianalyzer filter

set severity information

set forti-switch enable <----

end

On FortiAnalyzer, the FortiSwitch logs can be found under LogView -> FortiGate -> Event -> Switch Controller.


faz_event_logs.png

 

Example log:

 

date=2023-12-19 time=09:42:49 eventtime=1703007768578137210 tz="-0800" logid="2300056001" type="fsw" subtype="fsw-flow" level="information" vd="vdom1" switchid="S224DF3xxx" ftlkintf="fortilink" srcip=198.162.199.186 dstip=2.2.2.2 proto=6 rcvdpkt=30 rcvdbyte=40201 duration=33


Troubleshooting:

Troubleshooting Tip: FortiGate to FortiAnalyzer connectivity  

 


FortiGate:

FGT-A-LOG (vdom1) # execute log filter category 23
FGT-A-LOG (vdom1) # execute log filter dump
category: forti-switch <-----------------------
device: disk
start-line: 1
view-lines: 10
max-checklines: 0
HA member:
log search mode: on-demand
pre-fetch-pages: 2
Oftp search string:

FGT-A-LOG (vdom1) (Interim)# execute log display
1 logs found.
1 logs returned.

Related articles:

Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT