Product Documentation

Logging

Sep 07, 2012

show syslog

Syntax: show syslog

Displays the current syslog parameters.

set syslog

Syntax: set syslog
-ip “addr” 
[-port “port”]

Sets the IP address of the syslog server, and optionally the port number.

enable syslog

Syntax: enable syslog

Enables syslog logging.

disable syslog

Syntax: disable syslog

Disable syslog logging.

show log

Syntax: show log
[-stats] 
[-options]

Shows the current logfile configurations and disk usage statistics. With -stats, only the usage statistics are shown. With -options, only the configuration is shown. The information here is equivalent to the Log Configuration page in the Web UI.

set log

Syntax: set log
[-max-size “megabytes”] 
[-display-lines “lines”] 
[-max-export-lines “lines”] 
[-system {enable, disable}] 
[-adapter {enable, disable}] 
[-flow {enable, disable}] 
[-connection {enable, disable}] 
[-openclose {enable, disable}] 
[-text {enable, disable}] 
[-alert {enable, disable}]

Sets the display parameters for the View Logs page. The settings here correspond to those on the Configure Logs page.

extract log

Syntax: extract log
-by-record 
-from “number” 
-to “number” 
-records “number” 
-format {text, xml} 
-type {system, adapter, slow-flow, fast-flow, flow, connection, 
open, close, open-close, text, alert, all} 
-eol {lf, crlf, cr} 
[-file filename]
Syntax: extract log
-by-datetime 
-from “yyyy-mm-dd” [“hh:mm[:ss]”] 
-to “yyyy-mm-dd” [“hh:mm[:ss]”] 
-records “number” 
-format {text, xml} 
-type {system, adapter, slow-flow, fast-flow, flow, connection, 
open, close, open-close, text, alert, all} 
-eol {lf, crlf, cr} 
[-file “filename”]

Extracts the selected records to file “filename.” This command has the same parameters as that on the View Logs page on the Web UI.

clear logs

Syntax: clear logs

Removes all log records, similar to the “Remove All Log Records” button in the Web UI.

list log-extracted-files

Syntax: list log-extracted-files

Displays a list of log files saved by the “extract log” command.