log-alert-show

This command displays information about the log alerts on the switch.

Syntax   log-alert-show [time date/time date/time: yyyy-mm-ddThh:mm:ss [start-time date/time: yyyy-mm-ddThh:mm:ss] [end-time date/time: yyyy-mm-ddThh:mm:ss][duration duration: #d#h#m#s][interval duration: #d#h#m#s] [since-start|no-since-start] [older-than duration: #d#h#m#s] [name name-string] [code code-number] [count number]

time date/time: yyyy-mm-ddThh:mm:ss]

Displays the timestamp for the log file.

start-time date/time: yyyy-mm-ddThh:mm:ss

Displays the start time for the log file.

end-time date/time: yyyy-mm-ddThh:mm:ss

Displays the end time for the log file.

duration duration: #d#h#m#s

Displays the duration of the log file.

interval duration: #d#h#m#s

Displays the intervals that alerts occurred in the duration.

since-start

Displays alerts collected from the start.

older-than duration: #d#h#m#s

Displays alerts older than the duration.

within-last duration: #d#h#m#s

Displays alerts collected within the last duration.

switch node name

Displays the name of the switch collecting the alert data.

code code-number

Displays the code number of the alert.

name name-string

Displays the program name.

Formatting Options

format fields-to-display

Display output using a specific parameter. Use all to display all possible output.

parsable-delim character

Display output formatted for machine parsing using a specified delimiter.

sort-asc

Display output in ascending order.

sort-desc

Display output in descending order.

show dups

Display duplicate entries in the output.

layout vertical|horizontal

Format the output in a vertical or horizontal layout.

show-interval seconds-interval

Repeat the show command at a specified interval.

show-headers|
no-show-headers

Display column headers or not.

limit-output number

Limit the display output to a specific number of entries.

count-output

Display the number of entries in the output. This is useful with vRouter show commands.

unscaled

Display full values in the output instead of scaled approximate values.

raw-int-values

Display integer values instead of mapped values

sum-by

Aggregate output by specific parameters. If sum-by fields are specified, records that have the same value in sum-by fields are combined and displayed as one aggregate record. NOTE: This option is only available for show commands that collect statistics such as connection-stats-show.

Defaults   None

Access   CLI

History   Command introduced in Version 2.0.

Usage   Use this command to display information about the alert log.

Examples  To display information about log alerts, use the following command:

CLI network-admin@switch > log-alert-show

No problems found

 

See Also   

log-audit-show

log-event-settings-modify

log-event-settings-show

log-system-counters-reset

log-system-counters-show

log-system-show