diff --git a/services/grafana/default.nix b/services/grafana/default.nix index 509a4fc..abd9bf8 100644 --- a/services/grafana/default.nix +++ b/services/grafana/default.nix @@ -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 ]; }; }