Hi John,
how should that logfile look like? One big file for each day for all users?
Why do you generate a logfile for each user? Or didn't I understand that right? That would reduce the configuration issue and the amount of programming you have to do to get all files together.
If you need a separate log for a user just use "grep" to get all lines of the big file(s).
To put all files together you should write a short script to transfer them (e.g. by scp) to one server. There you can merge them and if needed sort them for a cronological file.
10 lines of code should do that.
If you want to use e.g. calamaris to generate reports you should take care that the logs are in a cronological way. Otherwise calamaris will report a lot of bugs.
There are technics to transfer the stream - but I'm not really happy with them as they usually cause problems after reboot.
Maybe that helps - I don't think someone has an "out of the box" solution,
Regards
-----Ursprüngliche Nachricht-----
Von: John Doe [mailto:jdmls_at_yahoo.com]
Gesendet: Freitag, 8. Oktober 2010 14:42
An: squid-users_at_squid-cache.org
Betreff: Re: [squid-users] access.log
From: viswa <waytoviswa_at_gmail.com>
> I am running four squid servers and using own user based reports(access.log),
>now i need consolidated report, for that all four server's access.log should be
>at one server.
> how can i make it ?
Two ideas:
Merge the log files...
Use syslog to send all your logs to one server.
JD
Received on Fri Oct 08 2010 - 13:21:21 MDT
This archive was generated by hypermail 2.2.0 : Fri Oct 08 2010 - 12:00:03 MDT