Observer Matrix : Matrix CLI : Matrix CLI : show log events
   
show log events
The show log events command shows log events with optional sort and filter options. If no options are specified, the log entries will be sorted by date in ascending order.
You can navigate the log file using keyboard commands shown after using the command.
 
Control Characters
There are a number of special control characters that serve special purposes in the CLI.
Ctrl-A Moves cursor to start of line.
Ctrl-B Moves cursor left one character (left-arrow).
Ctrl-C Kills the CLI session if it in unresponsive.
Ctrl-D Ends CLI session.
Ctrl-E Moves cursor to end of line.
Ctrl-F Moves cursor right one character (right-arrow).
Ctrl-H Deletes one character to the left of the cursor (Backspace).
Ctrl-K Deletes characters from cursor to end of line.
Ctrl-L Redraws line.
Ctrl-N Recalls next history line (down-arrow).
Ctrl-P Recalls previous history line (up-arrow).
Ctrl-U Clears line.
Ctrl-W Deletes left to the next word boundary.
Ctrl-X Cancels the current operation.
 
 
Usage
show log events [sort=(severity|category|source)] [order=(ascending|descending)] [date=(ascending|descending)] [filter=FilterString]
 
 
Parameters
Parameter
Description
sort=(severity|category|source)
severity
Choose to sort by severity (info, warn, error, fatal). This is the primary sort field. Default is none (sort by date only).
category
Choose to sort by classification ( Authentication, None, User).
source
Choose to sort by source (fcgi-api, hwcommd, nicli).
order=(ascending|descending)
ascending
Sort order of the primary sort field. Ignored when no sort field is specified. Default is ascending.
descending
Sort order of the primary sort field.
date=(ascending|descending
ascending
Sort by date with the oldest first. Default is ascending.
descending
Sort by date with the earliest first.
filter
FilterString
Filter log events by a string. If it contains a space character, the entire string must be enclosed in quotes.
 
 
Examples
matrix_host> show log events
matrix_host> show log events date=ascending
matrix_host> show log events sort=severity order=descending date=descending
matrix_host> show log events filter=nicli