Skip to main content
jdelafuente_FTNT
Staff & Editor
Staff & Editor
October 4, 2024

Technical Tip: How to know which policy ID is used in FortiGate session table

  • October 4, 2024
  • 0 replies
  • 1878 views
Description This article describes how to find out which policy IDs are being used for troubleshooting purposes.
Scope FortiGate.
Solution

In FortiOS GUI, access to Dashboard -> Fortiview Sessions. Place the mouse over the title of the first column, commonly 'source', and a gear icon will appear, select it, enable the Policy option, and select Apply.

 

Session_Monitor.png

 

The GUI will reload and a new column called Policy will appear on the right side of the table. Place the mouse over the title and drag it to the position that best suits the reading. Repeat this procedure for all the parameters.

  

Session_Monitor2.png

 

It is now possible to apply any type of filter and know which policy is currently used. Same as following in the forward logs to check policy ID and policy name information.

It is also possible to see this information when viewing the session table via the CLI. The policy ID is specified under 'policy_id=' as seen below.

 

cli session.PNG