rsyslog

Function

ArgDescriptionType
portDestination port to connect to. If not specified we use 514uint64
protocolProtocol to use, default UDP but can be TCP or TLSstring
messageMessage to log.string (required)
facilityFacility of this messageint64
severitySeverity of this messageint64
timestampTimestamp of this message, if omitted we use the current time.time.Time
hostnameHostname associated with this message. If omitted we use the current hostname.string
app_nameApplication that generated the logstring
proc_idProcess ID that generated this logstring
sd_idWhen sending structured data, this is the Structured Data IDstring
argsA dict to be interpolated into the message as structured data, according to RFC5424.ordereddict.Dict
root_caAs a better alternative to disable_ssl_security, allows root ca certs to be added here.string

Description

Send an RFC5424 compliant remote syslog message.