@Cornelp:
@tim.mcmanus:
@Cornelp:
@tim.mcmanus:
You can ssh from your Ubuntu box to your pfSense box and then pull the log files down from there. Not too tough to do.
Is there a way to do this automatically?
Thanks…
Sure, write a shell script in Ubuntu and add it as a cron job. You alluded to this in your initial post, I merely provided one method to connect to the box.
Could you possibly either point me to how I can accomplish this, or maybe you know how to create such a script? I cannot use logrotate as others have stated, because im trying to copy syslog files, and how logrotate works does not do the job properly.
Does anyone copy their syslog-ng log files from their PfSense firewall to another server, for safe-keeping, and how do you accomplish such task?
Thanks…
I'm not going to write a script for you, but I can offer another suggestion: Set up another server as a syslog server and point pfSense's logs at that. They shouldn't rotate and can be kept into perpetuity (disk space pending).
I purposely do not keep any logs longer than I have to because it can be a liability (adjusts tinfoil hat).