log-system-show

This command displays information about the log system configuration.

Syntax   log-system-show

Specify between 0 and 2 of the following options:

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

Specify the start time for the log file.

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

Specify the end time for the log file.

duration duration: #d#h#m#s

Specify the duration of the log file.

Specify any of the following options:

program program-string

Specifies the program type.

pid pid-number

Specifies the program identifiier.

name name-string

Specifies the program name.

code code-number

Specifies the code number.

level critical|error|warn|

note

Specifies the type of event.

vnet vnet-name

Specifies the VNET name.

remote_switch node name

Specifies the name of the remote switch.

user user-name

Spcifies the username.

client-pid client-pid-number

Specifies the client program identifier.

client-addr ip-address

Specifies the client IP address.

port port-number

Specifies the port number.

vlan vlan-id

Specifies the VLAN identifier.

vxlan vxlan-name

Specifies the VXLAN identifier.

count number

Displays the count from 1 to 50000.

starting-point starting-point-number

Specifies the starting point of the log audit.

length length-number

Specifies the length of the log audit.

reverse|
no-reverse

Specifies if the log is reverse or not reverse.

 

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 1.2.

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

Examples  To display information about system logging, use the following command:

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

CLI (network-admin@pleiades25) > log-system-show format all layout vertical

category:      system

time:          2014-06-16,10:33:54.425701-07:00

switch:        pleiades25

program:       nvOSd

pid:           1431

name:          fan_initial_status

code:          11303

level:         warn

message:       Fan 4 initial status ok

category:      system

time:          2014-06-16,10:33:54.425839-07:00

switch:        pleiades25

program:       nvOSd

pid:           1431

name:          ps_initial_status

code:          11302

level:         warn

message:       Power supply 1 initial status ok

category:      system

time:          2014-06-16,10:34:51.479611-07:00

switch:        pleiades25

program:       sh

pid:           3873

name:          smf_nvOSd_stop

code:          30108

level:         note

message:       SMF Service stopping nvOSd

category:      system

time:          2014-06-16,10:36:57.144770-07:00

switch:        pleiades25

program:       sh

pid:           871

name:          smf_nvOSd_start

code:          30107

level:         note

message:       SMF Service starting nvOSd

category:      system

time:          2014-06-16,10:36:58.543972-07:00

switch:        pleiades25

program:       nvOSd

pid:           1014

name:          nvOSd_start

code:          11008

level:         note

message:       ===== nvOSd start: version=2.1.201005777,pn-ONVL-2.0.2-2000212193 changeset=ceb01f7ff168 branch=default

category:      system

time:          2014-06-16,10:37:07.796715-07:00

switch:        pleiades25

program:       perl

pid:           1506

name:          fanmon_fan_status

code:          30100

level:         note

message:       Controller 1 fan 1 speed 7050 RPM

See Also   

log-system-counters-reset

log-system-counters-show