Configuration Guide Configuring Syslog
This field indicates the name of the device that generates the log so that the log server can identify the host that sends the
log.
16. Module
This field indicates the name of the module that generates the log. The module name is an upper-case string of 2 to 20
characters, which contain upper-case letters, digits, or underscores. The module field is mandatory in the log-type
information, and optional in the debug-type information.
17. Level
Eight syslog levels from 0 to 7 are defined. The level of syslogs generated by each module is fixed and cannot be modified.
18. Mnemonic
This field indicates the brief information about the log. The mnemonic is an upper-case string of 4 to 32 characters, which
contain upper-case letters, digits, or underscores. The Mnemonic field is mandatory in the log-type information, and optional
in the debug-type information.
19. Structured-Data
Structured-data introduced in RFC5424 is parsed as a whole string containing parameter information. Each log may contain
0 or multiple parameters. If a parameter is null, replace this parameter with a placeholder (-). The format of this field is as
follows:
[SD_ID@enterpriseID PARAM-NAME=PARAM-VALUE]
The following table describes each parameter of the structured-data field.
Parameter in structured-data
Parameter
information name
The parameter information name is capitalized, and must be
unique in a log.
"@enterpriseID" is added only to the customized parameter
information, not to the parameter information defined in
RFC5424.
The enterprise ID is maintained by the Internet Assigned
Numbers Authority (IANA). Ruijie Networks’ enterprise ID is
4881. You can query the enterprise ID on the official website of
IANA.
http://www.iana.org/assignments/enterprise-numbers
The parameter name is capitalized, and must be unique in the
structured-data of a log.
The parameter value must be enclosed in double quotation
marks. Values of the IP address or MAC address must be
capitalized, and other types of values are capitalized as
required.
20. description
This field indicates the content of the syslog.