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.
odahy
Staff
Staff
Article Id 266906
Description This article describes how to display more log lines through CLI.
Scope FortiOS.
Solution

In order to view logs on CLI, run the following command:

 

execute log display

 

However, the logs shown are usually restricted to only 10 lines.

 

If it is needed to view more lines or query more lines on CLI the following command can be set:

 

execute log filter view-lines <number>  -> Number of lines to view (5 - 1000).

 

Choose the desired number between 5-1000 viewed lines.