Results 1 to 3 of 3
Hi friends....i have a proxy server (IPCOP 1.4.21) in which Urlfilter addon were installed. The logs of urlfilter are storing at /var/log/squidGuard/urlfilter.log file. Now we want to transfer these log ...
- 07-06-2010 #1Just Joined!
- Join Date
- Jun 2010
- Posts
- 3
syslog server
Hi friends....i have a proxy server (IPCOP 1.4.21) in which Urlfilter addon were installed. The logs of urlfilter are storing at /var/log/squidGuard/urlfilter.log file. Now we want to transfer these log automatically to our centralize log server. Pls help to write the script for the same...
Thanks in advance...
- 07-07-2010 #2
How is your "centralized log server" configured? Do you just store logs as files there or do you have a special protocol by which a machine can do remote logging on the server?
If your purpose is just transferring the log file to the server, then you should consider using scp(1): secure copy - Linux man page or rsync MAN Page , if your log file is really large and you don't rotate it sufficiently often. If you want the transfers to be done automatically, you may find using a cron daemon useful (Fcron : a periodical command scheduler for Unix and Linux systems and Anacron -- anac(h)ronistic cron -- a random choice).Last edited by unlimitedscolobb; 07-07-2010 at 10:53 AM. Reason: you -> your
- 07-07-2010 #3


Reply With Quote
