Try to use default netowrk source for proxing syslogng

This commit is contained in:
IamTheFij 2022-09-04 14:07:04 -07:00
parent 9fe5393a40
commit 5c3b60329d

View File

@ -102,7 +102,7 @@ EOF
network {
mode = "bridge"
port "main" {
static = 1514
to = 514
}
}
@ -154,11 +154,12 @@ EOF
template {
data = <<EOF
@version: 3.22
@version: 3.37
@include "scl.conf"
source s_external {
syslog(ip(0.0.0.0) port(1514) transport("tcp"));
syslog(ip(0.0.0.0) port(1514) transport("udp"));
source s_network {
default-network-drivers(
);
};
source s_internal {
@ -171,7 +172,7 @@ destination d_loki {
};
log { source(s_internal); destination(d_loki); };
log { source(s_external); destination(d_loki); };
log { source(s_network); destination(d_loki); };
EOF
destination = "local/syslog-ng.conf"
}