fluent-bit: syslog output plugin doesn't send application logs as expected

ss

Bug Report

syslog output plugin sends null messages

To Reproduce

  • Rubular link if applicable:
  • Example log message if applicable:
Follow instructions in install.sh:
https://github.com/yukselao/fluent-bit


Screenshots

Your Environment

  • Version used: 16
  • Configuration:
  • Environment name and version (e.g. Kubernetes? What version?): 19.1
  • Server type and version: kind
  • Operating System and version:
  • Filters and plugins: syslog

Additional context

I am trying to send all applications log to an external syslog server.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 21 (6 by maintainers)

Commits related to this issue

Most upvoted comments

For the future readers, here is the config which worked for me with chart version 0.24.0:

    outputs: |
      [OUTPUT]
          Name syslog
          Match kube.*
          Host x.x.x.x
          Port 514
          Mode tcp
          syslog_format        rfc5424
          syslog_maxsize       2048
          syslog_hostname_key  host
          syslog_procid_key    procid
          syslog_msgid_key     msgid
          syslog_message_key   log
    filters: |
      [FILTER]
          Name kubernetes
          Match kube.*
          Merge_Log On
          Keep_Log Off
          K8S-Logging.Parser On
          K8S-Logging.Exclude On
      [FILTER]
          Name                nest
          Match               *
          Wildcard            pod_name
          Operation lift
          Nested_under kubernetes
          Add_prefix   kubernetes_
      [FILTER]
          Name                modify
          Match               *
          Copy     kubernetes_pod_name host