log-audit-show
This command displays information about the log audit configuration.
Syntax log-audit-show
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. |
level critical|error|warn|note|info |
Specifies the severity level. |
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-id |
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. |
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. |
Version 6.0.0 |
The keyword, info, added to the parameter level. |
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@switch1) > log-audit-show layout vertical
category: audit
time: 2015-04-22,07:59:08.947601-07:00
switch: switch1
program: nvOSd
pid: 1242
name: xact_command
code: 11101
level: info
remote_switch: switch2
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: switch1
program: nvOSd
pid: 1242
name: user_command
code: 11001
level: info
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