show email-analysis log

Prev Next

Displays the email malware log messages. You can refine your query to display the following options:

  • continuous—Displays new email log messages as they arrive.

  • files — Displays selected archived mail-log files.

Syntax

show email-analysis log [continuous | files [fileName]] [matching <regExp> | not matching <regExp>

Parameters

continuous

Show log entries as the are added to the logs.

files [main | all | fileNumber]

When using the files parameter, the following variations can be used:

  • files — Lists the currently viewable email log files on the appliance.

  • files main — Searches the current log file.

  • files all — Searches the current and all archived log files.

  • files <fileNumber> — Searches the specified archived log file.

matching <regEx>

Show requested log entries that match the specified regular expression <regEx>.

not matching <regEx>

Show requested log entries that do not match the specified regular expression <regEx>.

Examples

The following example shows the current email analysis log file.

hostname # show email-analysis log

The following example shows the email analysis log entries as they are added to the log.

hostname # show email-analysis log continuous

The following example shows the names of the archived analysis log files on the appliance.

hostname # show email-analysis log

The following example shows the log entries within the archived log file 11.

hostname # show email-analysis log 11

The following example shows the current email analysis log file entries that match the regular expression error.

hostname # show email-analysis log matches "error"

The following example shows the current email analysis log file entries that do not incude the regular expression error.

hostname # show email-analysis log not matches "error"

User role

Admin, Operator, Monitor, or Analyst

Command mode

Enable

Supported appliances

This command is supported on the following appliances running the specified releases or later:

  • Email Security — Server: Before Release 6.4