Rfc5424Layout incorrectly implements the Enterprise Number as a simple integer value for StructuredDataId types that are not assigned by IANA.
This is incorrect according to RFC5424. The implementation should allow for this to be an OID fragment representing the private enterprise subtree which is interpreted as the suffix to the IANA SMI Network Management Private Enterprise Code prefix 220.127.116.11.4.1. Refer to RFC5424, section 7.2.2.
For example, GE Healthcare IT has IANA private enterprise number 22005 and there are several other systems we support that are hierarchically assigned subtree OID fragments. Ordinarily, these codes would have the following form: 18.104.22.168.4.1.22005.<subtree-oid>. RFC5424 allows for truncating the SMI prefix and leaving the private enterprise number subtree in the message. So they would appear as 22005.<subtree-oid> (e.g., 22005.42.1.21).
- relates to
LOG4J2-3587 Cannot create Rfc5424Layout without enterpriseNumber after upgrading to 2.18.0
- links to