Showing results for 
Search instead for 
Did you mean: 
Create Post
Level 7

HAProxy Logs not gettting picked up by loggly

We are using Haproxy HA-Proxy version 1.6.3 2015/12/25 and are trying to send all our logs to loggly. We are using rsyslog and haproxy is logging but the /var/logs/haproxy.log isn't getting sent to loggly.

in /etc/rsyslog.d/22-filemoitor.conf that is configured to look at /var/log/haproxy.log, I've tagged the messages with "tomtest" and I don't see them. Just the other system logs. HAProxy never gets there.

I can send test events "logger troubleshootingevent" and that shows up in the console. I have also set up a file monitor to look at a dummy log file and when I update that file, those entries appear in the loggly console. Very strange behavior.

Tags (2)
0 Kudos
1 Reply
Level 7

The interesting thing is that if I

     $ echo "HelloWorld" >> /var/log/haproxy.log

it shows up in Loggly.

0 Kudos