Viewing Log Events

For information about specific log events and their meaning, see the Log Message Reference Guide.

A log message consists of common parameters separated by spaces and a colon (:), and optional parameters such as key and value pairs, another colon, and then the log-specific message.

To view event logs using the CLI, enter the following command:

CLI network-admin@@Leaf1>log-event-show

category:      event

time:          2014-07-17,07:37:17.466173-07:00

switch:        pleiades24

program:       nvOSd

pid:           6344

name:          mac_ip_changed

code:          11023

event-type:    port

:          global-default

port:          65

vlan:          200

message:       ip address change: mac=50:33:a5:e0:7f:fd ip=172.16.23.7

category:      event

time:          2014-07-17,07:37:50.109133-07:00

switch:        pleiades24

program:       nvOSd

pid:           6344

name:          mac_ip_changed

code:          11023

event-type:    port

:          vlb-web-svr

port:          65

vlan:          200

message:       ip address change: mac=50:33:a5:e0:7f:fd ip=172.16.23.1

category:      event

time:          2017-05-05,07:42:17.418349-07:00...

 

To view audit log entries, enter the following command:

CLI network-admin@@Leaf1>log-audit-show layout vertical

category:      audit

time:          2017-04-01,14:56:40.763626-07:00

name:          user_command

code:          11001

user:          network-admin

message:       Command "vlan-create id 25

category:      audit

time:          2017-04-01,14:56:40.765839-07:00

name:          logout

code:          11100

user:          network-admin

message:       logout

category:      audit

time:          2017-04-01,14:56:40.847912-07:00

name:          login

code:          11099

user:          network-admin

message:       login

category:      audit

time:          2017-04-01,14:56:40.888363-07:00

name:          logout

code:          11100

...

To view system log entries, use the following command:

CLI network-admin@@Leaf1>log-system-show

time:           2013-09-17, 06:28:09.351514-07:00

name:           11006

level:          warn

time:           2013-09-17, 11:28:09.351514-07:00

name:           11006

level:          warn

time:           2013-09-17, 13:28:09.351514-07:00

name:           11006

level:          warn