Skip to content

Latest commit

 

History

History
35 lines (30 loc) · 1.13 KB

logger_syslog.md

File metadata and controls

35 lines (30 loc) · 1.13 KB

Logger: Syslog

Syslog logger to local syslog system or remote one.

  • local or remote server
  • custom text format
  • supported format: text, json
  • tls support

Options:

  • facility: (string) Set the syslog logging facility
  • transport: (string) Transport to use to a remote log daemon or local one. local|tcp|udp|unix
  • remote-address: (string) Remote address host:port
  • mode: (string) output format: text, json, or flat-json
  • text-format: (string) output text format, please refer to the default text format to see all available directives, use this parameter if you want a specific format
  • tls-support: (boolean) enable tls
  • tls-insecure: (boolean) insecure skip verify
  • tls-min-version: (string) min tls version, default to 1.2
  • format: (string) Set syslog formatter between unix (default), rfc3164rfc3164 ) or rfc5424

Default values:

syslog:
  severity: INFO
  facility: DAEMON
  transport: local
  remote-address: ""
  text-format: ""
  mode: text
  tls-support: false
  tls-insecure: false
  tls-min-version: 1.2
  format: ""