Navigation

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

    How do I download the full system logs?

    2.0-RC Snapshot Feedback and Problems - RETIRED
    7
    10
    22766
    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.
    • luckman212
      luckman212 last edited by

      This may seem like a rather simplistic question but-
      I want to download the "full" system logs (the GUI only shows the last 50 lines). How do I do this?  I can log in via SSH but I'd like to get the actual file on my windows machine for easier viewing/searching/printing etc.

      v2.0rc3 nanobsd
      thanks

      1 Reply Last reply Reply Quote 0
      • N
        Nachtfalke last edited by

        First, under "settings" tab in systemlog you can change from 50 lines up to 2.000 lines.
        The other way is to send all you syslogs to an external syslog server. this can be configured under "settings" tab, too.

        1 Reply Last reply Reply Quote 0
        • luckman212
          luckman212 last edited by

          ok, but is there not a way to log in via console and "send" the /var/log/* files to an external host?  (after the fact)

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

            The logs are only held in ram so if you reboot you will lose them.
            The logs are also stored using a circular log format so you need to view them using the clog command:
            http://doc.pfsense.org/index.php/Why_can%27t_I_view_view_log_files_with_cat/grep/etc%3F_%28clog%29
            If you need to keep all your logs you will need so setup a syslog server:
            http://doc.pfsense.org/index.php/Copying_Logs_to_a_Remote_Host_with_Syslog

            Steve

            1 Reply Last reply Reply Quote 0
            • luckman212
              luckman212 last edited by

              great Steve, thank you  :)

              1 Reply Last reply Reply Quote 0
              • johnpoz
                johnpoz LAYER 8 Global Moderator last edited by

                Any linux box can be your syslog server, or if looking for one for windows - this great little tool also does syslog.

                http://tftpd32.jounin.net/
                Tftpd32 is a free, opensource IPv6 ready application which includes DHCP, TFTP, DNS, SNTP and Syslog servers as well as a TFTP client.

                Its a great tool to have in your tool box since it can do quite a few services you might need at on the fly for troubleshooting, etc.

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                2440 2.4.5p1 | 2x 3100 2.4.4p3 | 2x 3100 22.01 | 4860 22.01

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

                  @johnpoz:

                  this great little tool also does syslog. http://tftpd32.jounin.net/

                  That's a great tip.  :)
                  I've used that for a long time but only ever as a tftp server. I didn't even realise it could do so much more.  ::)

                  Steve

                  1 Reply Last reply Reply Quote 0
                  • jimp
                    jimp Rebel Alliance Developer Netgate last edited by

                    Good find. I added a link to that on our wiki page for syslog (linked above)

                    Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                    Need help fast? Netgate Global Support!

                    Do not Chat/PM for help!

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

                      Hi,

                      I been using Syslog Watcher for a while, the latest version 4.2.8 got a facelift and bugs fixed.
                      The Personal License is free and support 5 syslog sources (devices).

                      www.snmpsoft.com/downloads.html

                      Cheers Steen

                      1 Reply Last reply Reply Quote 0
                      • JSmorada
                        JSmorada last edited by

                        Do what Nachtfalke said, change the settings to 2000 lines, turn on logging to a syslog server and point it to the ip address of your pc, download and install syslog watcher on your pc and you're good to go.

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post