Skip to content

Remote_syslog is not working as expected #59

@ACodingfreak

Description

@ACodingfreak

Hi All,

I am quite new to fluentd.

Currently I am using following fluentd configuration where I am redirecting my syslog messages to fluentd which is sharing the same to remote syslog server via remote_syslog and a local file. I can see the syslog messages successfully written into local file but not into remote syslog server.

I also tried using local syslog client to write the logs into remote syslog server and it works fine. Issue is only observed when using the fluentd. Any suggestions would be of great help

<source>
  @type syslog
  port 5140
  bind 0.0.0.0
  tag syslog
  <transport tcp>
  </transport>
  <parse>
    @type syslog
    with_priority true
    message_format rfc3164
  </parse>
</source>

<match syslog.**>
  @type file
  path /var/log/fluent/testlog/01
</match>

<match syslog.**>
  @type remote_syslog
  host 10.10.26.209
  port 514
  hostname "#{Socket.gethostname}"
  facility local0
  <buffer>
    @type file
    path /var/log/fluent/syslog_buffer
    flush_interval 10s
  </buffer>
</match>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions