我的Docker syslog标签被截断为32个字符。当我看RFC 5424时,我不确定它是哪个字段。有人知道吗?我正在尝试验证标签可以使用的长度。Docker标签在RFC 5424中涉及到什么字段
Apr 19 06:43:05 ord-nodecore-prd-01 docker/core_sql_event_processor_ha[1207]: 2016-04-19T06:43:05.265Z [sqlEventHandler] Event '3c5e1a15-f8a1-4bfa-b2fa-2e54b2a5fbaa' resulted in 0 relevant application events
变为:
<30>Apr 19 06:43:05 ord-nodecore-prd-01 docker/core_sql_event_processor_ 2016-04-19T06:43:05.265Z [sqlEventHandler] Event '3c5e1a15-f8a1-4bfa-b2fa-2e54b2a5fbaa' resulted in 0 relevant application events
注意标签,泊坞窗/ core_sql_event_processor_ha [1207]:
这里是RFC链接:https://tools.ietf.org/html/rfc5424#page-9
我想这是“SD -Name“,但它可能是'APP-Name'。不知道。
这似乎表明它的APP名称,https://blog.logentries.com/wp-content/uploads/2014/08/Untitled.png – DDDD