Fix rsyslog / promtail log relay
This commit is contained in:
parent
1f3ca329a1
commit
efc0378ca9
1 changed files with 4 additions and 2 deletions
|
@ -190,10 +190,11 @@ in
|
|||
{
|
||||
job_name = "syslog";
|
||||
syslog = {
|
||||
listen_address = "0.0.0.0:1514";
|
||||
listen_address = "0.0.0.0:1514";
|
||||
listen_protocol = "tcp";
|
||||
idle_timeout = "60s";
|
||||
labels = {
|
||||
job = "syslog";
|
||||
host = "localhost";
|
||||
};
|
||||
};
|
||||
relabel_configs = [
|
||||
|
@ -229,5 +230,6 @@ in
|
|||
|
||||
# Open ports in the firewall.
|
||||
networking.firewall.allowedTCPPorts = [ 3000 3100 3101 8086 9001 1514 514 ];
|
||||
networking.firewall.allowedUDPPorts = [ 514 ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue