You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
630 B
14 lines
630 B
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 != "local0" and $hostname startswith "amphora") then { |
|
action(type="omfile" FileCreateMode="0644" File="/var/log/octavia/octavia-amphora.log") |
|
stop |
|
}
|
|
|