Grafana Alloy loki.source.syslog getting EOF error

Moved to Grafana Alloy from Agent Flow, and have a syslog source sending logs to Loki
I can see logs working properly for some of the applications, but getting errors on another apps

Error: unexpected EOF
Error: expecting a priority value within angle brackets [col 0]

Is there a way to enable debugging or how to display the actual message being received to troubleshoot further?


Hello! Are you sure that the incoming logs are RFC5424 compliant? This is one of the requirements of loki.source.syslog, and probably the main cause for issues with that component.

For debugging, you could try to enable debug logging. You could also try using loki.echo, but I’m not sure if I’d help in your case because it’s not clear if the logs are dropped.