Skip to content

Commit

Permalink
fix missing directive introduced in #7
Browse files Browse the repository at this point in the history
  • Loading branch information
romain-dartigues committed Dec 11, 2023
1 parent 2409079 commit a232a0d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion jobs/loghost_concentrator/templates/rsyslog-loghost.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ DefaultNetstreamDriverKeyFile="/var/vcap/jobs/loghost_concentrator/config/ssl.ke
<% end -%>

<% if p('loghost_concentrator.syslog.relp.enabled') -%>
<%# module RELP is already loaded, with TLS support, in /etc/rsyslog.conf %>
<%# module omrelp is already loaded, with TLS support, in /etc/rsyslog.conf %>
module(
load="imrelp"
<% if_p('loghost_concentrator.syslog.tls.cert') do %>tls.tlslib="openssl"<% end -%>
)
input(type="imrelp" port="<%= p('loghost_concentrator.syslog.relp.port') %>"
maxDataSize="10k"
keepAlive="on"
Expand Down

0 comments on commit a232a0d

Please sign in to comment.