ESXi 8.0 asigna el formato a los mensajes de Syslog de acuerdo con RFC 3164 o RFC 5424.
La definición de los formatos de transmisión para RFC 3164 y RFC 5424 se encuentra en Augmented Backus-Naur Form (ABNF).
Formato de mensaje de transmisión RFC 3164
Parámetro | Valor |
SYSLOG-MSG | HEADER SP MSG |
HEADER | PRI TIMESTAMP SP HOSTNAME SP APP-NAME [PROC-IDENTIFIER] ":" |
PRI | "<" PRIVAL ">" |
PRIVAL | 1*3DIGIT ; rango 0 .. 191 (MSG PRI; contiene los valores de gravedad y de instalación, ORed juntos) |
APP-NAME | 1*32PRINTUSASCII |
HOSTNAME | 1*255PRINTUSASCII |
PROC-IDENTIFIER | "[" *DIGITS "]" ; el PID asociado con APP-NAME |
TIMESTAMP | FULL-DATE "T" UTC-TIME (No establecer nunca un TIME-OFFSET) |
FULL-DATE | DATE-FULLYEAR "-" DATE-MONTH "-" DATE-MDAY |
DATE-FULLYEAR | 4DIGIT |
DATE-MONTH | 2DIGIT ; 01-12 |
DATE-MDAY | 2DIGIT ; 01-28, 01-29, 01-30, 01-31 basado en mes/año |
UTC-TIME | TIME-HOUR ":" TIME-MINUTE ":" TIME-SECOND [TIME-SECFRAC] "Z" |
TIME-HOUR | 2DIGIT ; 00-23 |
TIME-MINUTE | 2DIGIT ; 00-59 |
TIME-SECOND | 2DIGIT ; 00-59 |
TIME-SECFRAC | "." 1*6DIGIT |
STRUCTURED-DATA | 1*SD-ELEMENT |
SD-ELEMENT | "[" SD-ID *(SP SD-PARAM) "]" |
SD-PARAM | PARAM-NAME "%d34 PARAM-VALUE %d34 |
SD-ID | SD-NAME |
PARAM-NAME | SD-NAME |
PARAM-VALUE | UTF-8-STRING ; Los caracteres '"', ''' y ']' DEBEN tener caracteres de escape. |
SD-NAME | 1*32PRINTUSASCII ; excepto '', SP, ']', %d34 (") |
MSG | [STRUCTURED-DATA SP] UTF-8-STRING |
Formato de mensaje de transmisión RFC 5424
Parámetro | Valor |
SYSLOG-MSG | HEADER SP STRUCTURED-DATA [SP MSG] |
HEADER | PRI VERSION SP TIMESTAMP SP HOSTNAME SP APP-NAME SP PROCID SP MSGID |
PRI | "<" PRIVAL ">" |
PRIVAL | 1*3DIGIT ; rango 0 .. 191; contiene datos de gravedad y funcionalidad |
VERSION | NONZERO-DIGIT 0*2DIGIT |
HOSTNAME | 1*255PRINTUSASCII |
APP-NAME | 1*48PRINTUSASCII |
NILVALUE | '-' |
PROCID | NILVALUE | *DIGITS ; el PID asociado con APP-NAME |
MSGID | NILVALUE |
TIMESTAMP | FULL-DATE "T" UTC-TIME |
FULL-DATE | DATE-FULLYEAR "-" DATE-MONTH "-" DATE-MDAY |
DATE-FULLYEAR | 4DIGIT |
DATE-MONTH | 2DIGIT ; 01-12 |
DATE-MDAY | 2DIGIT ; 01-28, 01-29, 01-30, 01-31 basado en mes/año |
UTC-TIME | TIME-HOUR ":" TIME-MINUTE ":" TIME-SECOND [TIME-SECFRAC] "Z" |
TIME-HOUR | 2DIGIT ; 00-23 |
TIME-MINUTE | 2DIGIT ; 00-59 |
TIME-SECOND | 2DIGIT ; 00-59 |
TIME-SECFRAC | "." 1*6DIGIT |
STRUCTURED-DATA | NILVALUE / 1*SD-ELEMENT |
SD-ELEMENT | "[" SD-ID *(SP SD-PARAM) "]" |
SD-PARAM | PARAM-NAME " %d34 PARAM-VALUE %d34 |
SD-ID | SD-NAME |
PARAM-NAME | SD-NAME |
PARAM-VALUE | UTF-8-STRING ; Los caracteres '"', ''' y ']' DEBEN tener caracteres de escape. |
SD-NAME | 1*32PRINTUSASCII ; excepto '', SP, ']', %d34 (") |
MSG | MSG-UTF8 |
MSG-UTF8 | BOM UTF-8-STRING |
BOM | %xEF.BB.BF |