admin-syslog-show
This command is used to display parameters about a syslog file.
Syntax admin-syslog-show
name name-string |
Name of the syslog file. |
scope local|fabric |
Scope of the syslog file. |
host host-string |
Host for the syslog file. |
port port-number |
Port for the syslog file. |
transport tcp-tls|udp |
The type of transport for log events - tcp/tls or udp |
message-format structured|legacy |
The message format for the syslog file. |
status status-string |
The syslog export status. |
export-container-logs|no-export-container-logs |
Specifies to modify container log export functionality. |
export-os-logs|no-export-os-logs |
Specifies to modify operating system log export functionality. |
Defaults None
Access CLI
History
Version 1.2 |
Command introduced. |
Version 2.5 |
The parameter transport added. |
Usage Use this command to display information about a syslog file.
Examples Use this command to display administrative log information.
CLI (network-admin@switch) > admin-syslog-show layout vertical
switch: switch1
name: audit-logs
scope: local
host: 172.16.21.33
port: 10514
transport: tcp-tls
message-format: legacy
export-container-logs: off
export-os-logs: off