Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Haproxy and logs

    Scheduled Pinned Locked Moved pfSense Packages
    3 Posts 2 Posters 6.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • X Offline
      x0139
      last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • X Offline
        x0139
        last edited by

        Install a syslog server.

        How can i format logs from haproxy now?

        1 Reply Last reply Reply Quote 0
        • P Offline
          PiBa
          last edited by

          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

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.