Haproxy and logs
-
Hello!
i've juust install a two PfSense's with Haproxy package, working in higth-availability mode.Now i am configure the haproxy for 1 frontend and lots of backends and stuck on collecting web-access logs for my backends.
How can i configure PfSense server to collect logs?
-
Install a syslog server.
How can i format logs from haproxy now?
-
It should be possible to place the log-format directive in the advanced sections of your choice with frontend/backend and specify what exactly you would want to log.. Some info on its parameters here: http://cbonte.github.io/haproxy-dconv/1.7/snapshot/configuration.html#8.2.4
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.