Fix rsyslog / promtail log relay

This commit is contained in:
Théo Barnouin 2024-10-07 16:55:05 +02:00
parent 1f3ca329a1
commit efc0378ca9

View file

@ -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 ];
};
}