Expect the syslog keyword misc.loglevel renders, beside the RFC severity
This commit is contained in:
+2
-1
@@ -119,8 +119,9 @@ func TestShippedMiscReferenceData(t *testing.T) {
|
||||
"protocol": regexp.MustCompile(`^\S+( \S+)*$`),
|
||||
"protocol.name": regexp.MustCompile(`\S`),
|
||||
"protocol.number": regexp.MustCompile(`^\d{1,3}$`),
|
||||
"loglevel": regexp.MustCompile(`^(Alert|Critical|Debug|Emergency|Error|Informational|Notice|Warning)$`),
|
||||
"loglevel": regexp.MustCompile(`^(alert|crit|debug|emerg|err|info|notice|warning)$`),
|
||||
"loglevel.code": regexp.MustCompile(`^[0-7]$`),
|
||||
"loglevel.severity": regexp.MustCompile(`^(Alert|Critical|Debug|Emergency|Error|Informational|Notice|Warning)$`),
|
||||
"tld": regexp.MustCompile(`^\.[a-z0-9]([a-z0-9-]*[a-z0-9])?$`),
|
||||
"tld.type": regexp.MustCompile(`^(country-code|generic|generic-restricted|infrastructure|sponsored)$`),
|
||||
"tld.unicode": regexp.MustCompile(`^\.\S+$`),
|
||||
|
||||
Reference in New Issue
Block a user