|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|
|||
merging log files
Hello i have several dansguardian and squid log files on different hosts.
Now i run on each host the sarg package to graph the usage of the servers. Can i somehow merge all the log files to one file, so that i can run sarg on one box and get 1 total picture of the usage. regards. Johan Last edited by Sylhouette; 8th August 2008 at 02:07 PM. |
|
|||
Is it really that simple?
My network consist of some remote sites which all have there own proxy/dansguardian server to give them access to the internet. now i run sarg to create web based stats to see where clients are going. So it would be nice if i can download all the log files after the log rotate and copy them to one machine, and the create on big file and run sarg on that file. But like you say it could be just that simple, i will try that on monday. thanks for the pointer. regards, Johan |
|
||||
Quote:
you need to add some lines that separate logs, and describe where they came from, but it;s easy with echo > |
|
|||
I use awstats for some of my sites to provide some logfile aggregation and I use logresolvemerge to parse my logs.
|
|
||||
If the stuff is logged with syslog, then you can just set up a syslog server and log everything to one file ... No need for any merging ...
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Cleaning Portsnap files in /var/db/portsnap/files | bram85 | FreeBSD Ports and Packages | 2 | 5th October 2009 09:54 AM |
finding files by uid | carpman | FreeBSD General | 3 | 5th February 2009 07:51 PM |
How to sync files over ftp | graudeejs | FreeBSD General | 4 | 4th August 2008 10:18 PM |
Moving files | Weaseal | Programming | 2 | 14th July 2008 07:30 AM |