Browse Source
This patch configures Octavia to enable amphora log offloading to the Octavia rsyslog container if the OctaviaOffloadAllLogs parameter is True. Depends-On: https://review.opendev.org/724187 Change-Id: Ic4ee6f4a150200531491cdd78ca3c4f66e5d1ffbchanges/90/724190/7
4 changed files with 71 additions and 0 deletions
@ -0,0 +1,14 @@
|
||||
module(load="imudp") |
||||
input(type="imudp" address="{{ mgmt_port_ip }}" port="514") |
||||
|
||||
# Output the amphora tenant traffic flow logs |
||||
if ($inputname == "imudp" and $syslogfacility-text == "local0" and $syslogseverity-text == "info" and $hostname startswith "amphora") then { |
||||
action(type="omfile" FileCreateMode="0644" File="/var/log/octavia/octavia-tenant-traffic.log") |
||||
stop |
||||
} |
||||
|
||||
# Output the amphora administrative logs |
||||
if ($inputname == "imudp" and $syslogfacility-text == "local1" and $hostname startswith "amphora") then { |
||||
action(type="omfile" FileCreateMode="0644" File="/var/log/octavia/octavia-amphora.log") |
||||
stop |
||||
} |
Loading…
Reference in new issue