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

    Pfsense Logging

    Scheduled Pinned Locked Moved General pfSense Questions
    6 Posts 2 Posters 1.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.
    • S
      saej
      last edited by

      Hi all
      I used pfsense 2.01, How to i can use pfsense log in database?
      Or can i save my client log for long time?

      Thanks …

      Open source is an open source…Please observe it...

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        Generally speaking if you need long term logging you should use a separate syslog server.
        https://doc.pfsense.org/index.php/Copying_Logs_to_a_Remote_Host_with_Syslog

        Which logs do you need? Which install type are you running?

        Steve

        1 Reply Last reply Reply Quote 0
        • S
          saej
          last edited by

          I need logs for squid proxy clients when squid joined to LDAP…

          Open source is an open source…Please observe it...

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            Then yes you should use a syslog server.

            Steve

            1 Reply Last reply Reply Quote 0
            • S
              saej
              last edited by

              Thanks Steve…
              can i install postgresql or Mysql on pfsense for save my logs?

              Open source is an open source…Please observe it...

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                You may be able to (it would no doubt require a lot of command line hackery) but I definitely recommend you don't.

                You should install a syslog server on another machine and configure pfSense to send it's logs there.

                If you really want to use only one machine there is a syslog-ng package for pfSense so you can store long term logs locally if you are running a full install. I've never tried that though.

                Steve

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