log-audit-show

This command displays information about the log audit configuration.

Syntax   log-audit-show start-time date/time: yyyy-mm-ddThh:mm:ss end-time date/time: yyyy-mm-ddThh:mm:ss duration duration: #d#h#m#s [program program-string] [pid pid-number] [name name-string] [code code-number] [vnet vnet-name] [remote_switch node name] [user user-name][client-pid client-pid-number] [client-addr ip-address] [port port-number] [vlan vlan-id] [vxlan vxlan-name] [start-time date/time: yyyy-mm-ddThh:mm:ss] [end-time date/time: yyyy-mm-ddThh:mm:ss][duration duration: #d#h#m#s] [count number] starting-point starting-point-number length length-number reverse|no-reverse

Specify between 0 and 2 of the following options:

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

Specifies the start time for the audit log.

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

Specifies the end time for the audit log.

duration duration: #d#h#m#s

Specifies the duration of the audit log.

Specify any of the following options:

program program-string

Specifies the program type.

pid pid-number

Specifies the product indentifiier.

name name-string

Specifies the name to match.

code code-number

Specifies the code number.

vnet vnet-name

Specifies the name of the virtual network.

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 between 1 and 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 displayed in reverse or not.

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   

Version 1.2

Command introduced.

Version 2.2

The parameters, starting-point, length and reverse added.

Version 2.2.5

The IP address is logged as part of a user login event.

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

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

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

CLI (network-admin@pleiades25) > log-audit-show layout vertical

length:         1628527

category:       audit

time:           2015-04-22,07:59:08.947601-07:00

switch:         pubdev01

program:        nvOSd

pid:            1242

name:           xact_command

code:           11101

remote_switch:  pubdev03

user:           network-admin

client-addr:    10.9.10.24

message:        Transaction command "vlan-create id 25 scope fabric stats" result success

starting-point: 8324

length:         1628813

category:       audit

time:           2015-04-22,08:08:32.577538-07:00

switch:         pubdev01

program:        nvOSd

pid:            1242

name:           user_command

code:           11001

user:           network-admin

client-pid:     5446

client-addr:    10.9.10.24

message:        Command "vlan-port-add vlan-id 25 ports 55 untagged" result success

starting-point: 8324

length:         1629091

See Also   

log-event-show

log-event-settings-modify

log-event-settings-show

log-system-counters-reset

log-system-counters-show

log-system-show