FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
kyozloveyou_FTNT
Article Id 370248
Description This article describes how to match the session ID from the 'diag sys session list' output with the traffic log in FortiGate.
Scope FortiGate.
Solution

The session ID can be checked in the Traffic Log -> Log Details:

 

traffic log.png

 

In the output of the 'diag sys session list', the session ID is the 'serial':

 

session list.png

 

To confirm both are the same session, a scientific calculator is required to do a hexa and dec conversion:

hexaconvert.png

Based on the calculator output above, 11c3ad7 and 18627287 matched. Therefore, there are the same sessions.