Syslog Output 🔗︎

Overview 🔗︎

Fluentd output plugin for remote syslog with RFC5424 headers logs.

Configuration 🔗︎

SyslogOutputConfig 🔗︎

Variable Name Type Required Default Description
host string Yes - Destination host address
port int No “514” Destination host port
transport string No “tls” Transport Protocol
insecure *bool No false skip ssl validation
trusted_ca_path *secret.Secret No - file path to ca to trust
format *FormatRfc5424 No - Format
buffer *Buffer No - Buffer

Example File output configurations 🔗︎

apiVersion: logging.banzaicloud.io/v1beta1
kind: Output
metadata:
 name: demo-output
spec:
 syslog:
   host: SYSLOG-HOST
   port: 123
   format:
     app_name_field: example.custom_field_1
     proc_id_field: example.custom_field_2
   buffer:
     timekey: 1m
     timekey_wait: 10s
     timekey_use_utc: true

Fluentd Config Result 🔗︎

 <match **>
   @type syslog_rfc5424
   @id test_syslog
   host SYSLOG-HOST
   port 123
 <format>
   @type syslog_rfc5424
   app_name_field example.custom_field_1
   proc_id_field example.custom_field_2
 </format>
   <buffer tag,time>
     @type file
     path /buffers/test_file.*.buffer
     retry_forever true
     timekey 1m
     timekey_use_utc true
     timekey_wait 30s
   </buffer>
 </match>