Bug 1661343

Summary: [RFE] Support Sending Logs to an External Syslog Server Using UDP
Product: OpenShift Container Platform Reporter: Jack Ottofaro <jack.ottofaro>
Component: LoggingAssignee: Jeff Cantrill <jcantril>
Status: CLOSED DEFERRED QA Contact: Anping Li <anli>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.11.0CC: aos-bugs, rmeggins
Target Milestone: ---   
Target Release: 4.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-04-02 01:50:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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