Chapter 13 Logging and Reporting : Advanced logging : Viewing logs from the CLI
  
Viewing logs from the CLI
You can easily view log messages from within the CLI. In this example, we are viewing DLP log messages.
1. Log in to the CLI and then enter the following to configure the display of the DLP log messages.
execute log filter category 9
execute log filter start-line 1
execute log filter view-lines 20
The customized display of log messages in the CLI is similar to how you customize the display of log messages in the web-based manager. For example, category 9 is the DLP log messages, and the start-line is the first line in the log database table for DLP log messages, and there will be 20 lines (view-lines 20) that will display.
2. Enter the following to view the log messages:
execute log display
The following appears below execute log display:
600 logs found
20 logs returned
along with the 20 DLP log messages.