Fortigate: List the last SSL user login logs via CLI (Command Line Interface)

Fortigate: List the last SSL user login logs via CLI (Command Line Interface)
Photo by Corinne Kutz / Unsplash

List the log of user logins' last 100 via the command line.

  1. Log in to the web console. Go to CLI Console.
  1. Configure the following filter via CLI:

execute log filter reset
execute log filter category 1
execute log filter field user <Username> <- User to query.
execute log filter view-lines 100

  1. Run the following command to display logs:

execut log display

Ref: https://systemsupport.synergiaone.com/ghost/#/editor/post/683419698cb521000162a404