16 lines
463 B
Plaintext
16 lines
463 B
Plaintext
|
if $programname startswith 'oracle_bridge_' then {
|
||
|
action(
|
||
|
type="omfwd"
|
||
|
protocol="{{ syslog_server_port.split(":")[0] }}"
|
||
|
target="{{ (syslog_server_port.split(":")[1])[2:] }}"
|
||
|
port="{{ syslog_server_port.split(":")[2] }}"
|
||
|
template="RemoteForwardFormat"
|
||
|
queue.SpoolDirectory="/var/spool/rsyslog"
|
||
|
queue.FileName="remote"
|
||
|
queue.MaxDiskSpace="1g"
|
||
|
queue.SaveOnShutdown="on"
|
||
|
queue.Type="LinkedList"
|
||
|
ResendLastMSGOnReconnect="on"
|
||
|
)
|
||
|
}
|