Bug 1661343 - [RFE] Support Sending Logs to an External Syslog Server Using UDP
Summary: [RFE] Support Sending Logs to an External Syslog Server Using UDP
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Logging
Version: 3.11.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 4.2.0
Assignee: Jeff Cantrill
QA Contact: Anping Li
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-12-20 22:21 UTC by Jack Ottofaro
Modified: 2022-03-13 16:35 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-04-02 01:50:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jack Ottofaro 2018-12-20 22:21:08 UTC
Description of problem:

The fluent-plugin-remote-syslog delivered with OCP only supports TCP. If you rsh into one of the fluentd pods you can see it here /etc/fluent/configs.d/dynamic/output-remote-syslog.conf:

## This file was generated by generate-syslog-config.rb
<store>
@type syslog_buffered
remote_syslog node-0.ottogeneric.lab.rdu2.cee.redhat.com
port 514
hostname logging-fluentd-k5j46
facility local0
severity debug
</store>

The fluent-plugin-remote-syslog itself supports TCP and UDP (see https://github.com/docebo/fluent-plugin-remote-syslog) however the fluentd configuration does not expose an environment variable to set @type in the plugin:

@type syslog_buffered - TCP
@type syslog - UDP

Comment 1 Jeff Cantrill 2019-04-02 01:50:15 UTC
Closing in favor of https://jira.coreos.com/browse/LOG-398


Note You need to log in before you can comment on or make changes to this bug.