Export All Logs
-
I need to do a one time export of all logs, as far back as they exist. I have setup a SysLog server but so far it appears that I'm only receiving new logs.
I can ssh in but I don't know how to copy the logs after that. I am looking for a step by step "how to copy logs for dummies".
v2.4.4-p2
Thank you.
-
@pfnewb2016 Use "scp" to copy the logs to another system.
-
Yup connect with SCP (e.g. WinSCP) and copy everything from /var/log.
-
WinSCP worked great, thank you both.
I copied all of the logs from /var/log, however filter.log contains 3312 lines, less than 1 full day.
Checking the log settings:
-
Log Size: Bytes (default). "Disk space currently used by log files is: 9.6M Remaining disk space for log files: 5.4G"
-
Local Logging: "Disable writing log files to the local disk" is not checked.
-
Uptime is 84 days.
-
Model: SG-1100, running v2.4.4-release-p2. It says it's on the latest version, which is a separate problem.
Is this a settings issue, bug, old firmware issue or ?
Thank you.
-
-
Back in 2.4.4 the default settings would have been to use circular logs with a size of 512k. Depending on how busy your firewall is that may only be 1 day.
You can increase the log size for the firewall log. Or for all logs.
-
I understand, thank you for the details and fast reply.