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

How do I download the full system logs?

Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
10 Posts 7 Posters 26.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.
  • L Offline
    luckman212 LAYER 8
    last edited by Aug 2, 2011, 1:55 PM

    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 Offline
      Nachtfalke
      last edited by Aug 2, 2011, 3:01 PM

      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
      • L Offline
        luckman212 LAYER 8
        last edited by Aug 2, 2011, 3:02 PM

        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
        • S Offline
          stephenw10 Netgate Administrator
          last edited by Aug 2, 2011, 5:12 PM

          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
          • L Offline
            luckman212 LAYER 8
            last edited by Aug 2, 2011, 5:35 PM

            great Steve, thank you  :)

            1 Reply Last reply Reply Quote 0
            • J Offline
              johnpoz LAYER 8 Global Moderator
              last edited by Aug 2, 2011, 7:48 PM

              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
              SG-4860 25.07.1 | Lab VMs 2.8.1, 25.07.1

              1 Reply Last reply Reply Quote 0
              • S Offline
                stephenw10 Netgate Administrator
                last edited by Aug 2, 2011, 8:11 PM

                @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
                • J Offline
                  jimp Rebel Alliance Developer Netgate
                  last edited by Aug 8, 2011, 1:57 PM

                  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 Offline
                    seh2000
                    last edited by Aug 9, 2011, 11:26 AM

                    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
                    • J Offline
                      JSmorada
                      last edited by Aug 9, 2011, 12:38 PM

                      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
                      10 out of 10
                      • First post
                        10/10
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                        This community forum collects and processes your personal information.
                        consent.not_received