Try to use default netowrk source for proxing syslogng
This commit is contained in:
parent
9fe5393a40
commit
5c3b60329d
@ -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"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user