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

    Where are log files system / openvpn / firewall saved?

    Scheduled Pinned Locked Moved General pfSense Questions
    7 Posts 3 Posters 793 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.
    • R
      ramses.sevilla
      last edited by

      Hi everyone,

      I am trinking to configure a log server and send to it system / openvpn / firewall logs. Can I do this configuring pfSense?

      If not, can someboy tell me where are saved these log files to extract the info that I need via console?

      Best regards

      1 Reply Last reply Reply Quote 0
      • kiokomanK
        kiokoman LAYER 8
        last edited by kiokoman

        Status / system logs / settings
        you can send the logs to a remote server
        you need to enable firewall events and VPN events if you need them
        all the firewall logs are under status / system logs / firewall
        you can filter by interface for example

        ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
        Please do not use chat/PM to ask for help
        we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
        Don't forget to Upvote with the 👍 button for any post you find to be helpful.

        R 2 Replies Last reply Reply Quote 0
        • R
          ramses.sevilla @kiokoman
          last edited by

          Hi @kiokoman

          If I send the logs to e remote server I can show the logs in pfsense too?

          The remote server must be a syslog server, isn't it?

          Best regards

          1 Reply Last reply Reply Quote 0
          • kiokomanK
            kiokoman LAYER 8
            last edited by kiokoman

            yes,
            yes, or anything that can understand syslog like logstash for example

            ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
            Please do not use chat/PM to ask for help
            we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
            Don't forget to Upvote with the 👍 button for any post you find to be helpful.

            1 Reply Last reply Reply Quote 0
            • R
              ramses.sevilla @kiokoman
              last edited by

              @kiokoman said in Where are log files system / openvpn / firewall saved?:

              Status / system logs / settings
              you can send the logs to a remote server
              you need to enable firewall events and VPN events if you need them
              all the firewall logs are under status / system logs / firewall
              you can filter by interface for example

              Hi @kiokoman

              Do you know where are saved all log files?

              Regards,

              GertjanG 1 Reply Last reply Reply Quote 0
              • kiokomanK
                kiokoman LAYER 8
                last edited by kiokoman

                https://docs.netgate.com/pfsense/en/latest/monitoring/logs/manage.html#viewing-log-contents-2-5-0-clog

                2.4.5 use a binary circular log format known as clog to maintain a constant log size without the need for rotation

                ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                Please do not use chat/PM to ask for help
                we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                1 Reply Last reply Reply Quote 0
                • GertjanG
                  Gertjan @ramses.sevilla
                  last edited by

                  @ramses-sevilla said in Where are log files system / openvpn / firewall saved?:

                  Do you know where are saved all log files?

                  Here :

                  4adabe7f-662f-4121-a70f-79ea8df481e5-image.png

                  Or here :

                  /var/log/
                  

                  ( as any othor unix/linix/freebsd/openbsd/etc OS)

                  Note that :

                  @kiokoman said in Where are log files system / openvpn / firewall saved?:

                  2.4.5 use a binary circular log format known as clog to maintain a constant log size without the need for rotation

                  is a silent hint that explains the need of a quick Google lookup.
                  Or reading the pfSense manual. As https://docs.netgate.com/pfsense/en/latest/monitoring/logs/manage.html or https://docs.netgate.com/manuals/pfsense/en/latest/the-pfsense-documentation.pdf page 139

                  No "help me" PM's please. Use the forum, the community will thank you.
                  Edit : and where are the logs ??

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