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