Atlantiraptor Docs

rsyslog

Type: Function

Send an RFC5424 compliant remote syslog message.

Argument Type Description
hostname string (required) Destination host to connect to.
port uint64 Destination port to connect to. If not specified we use 514
protocol string Protocol to use, default UDP but can be TCP or TLS
message string (required) Message to log.
facility int64 Facility of this message
severity int64 Severity of this message
timestamp time.Time Timestamp of this message, if omitted we use the current time.
source_hostname string Hostname associated with this message. If omitted we use the current hostname.
app_name string Application that generated the log
proc_id string Process ID that generated this log
sd_id string When sending structured data, this is the Structured Data ID
args ordereddict.Dict A dict to be interpolated into the message as structured data, according to RFC5424.
root_ca string As a better alternative to disable_ssl_security, allows root ca certs to be added here.

Required permissions: NETWORK

Platforms: Linux, Windows

Source: vql/tools/rsyslog/rsyslog.go