admin-syslog-modify
This command is used to modify the scope and other parameters of syslog event collection.
Syntax admin-syslog-modify
name name-string |
Specify the name of the syslog file to modify. |
Specify one or more of the following options: |
|
scope local|fabric |
Specify the scope of the syslog to modify |
host host-string |
Specify the host to modify. |
port port-number |
Specify the port you want to modify. |
transport tcp-tls|udp |
The type of transport for log events - tcp/tls or udp |
message-format structured|legacy |
Specify the message format you want to modify. |
Defaults None
Access CLI
History
Version 1.2 |
Command introduced. |
Version 2.5 |
The parameter, transport, added. |
Usage Used to modify an existing syslog file.
Examples To modify the port from port 24 to port 83 for syslog file, engoct12, use the following command:
CLI network-admin@switch > admin-syslog-modify name engoct12 port 83