Squid Log Rotation and Sarg

Posted by beakersoft on Server Fault See other posts from Server Fault or by beakersoft
Published on 2012-03-19T21:04:15Z Indexed on 2012/03/21 17:31 UTC
Read the original article Hit count: 264

Filed under:
|

We have just setup squid as our proxy, and i was going to use Sarg to analyze the log files. I had initially set the Squid logs to rotate everyday so they dont get huge. The problem is i cant see an option in the squid config to read a folder full of squid log files (say *.log).

Is there an easy way to do this or am i going to have to write a bash script or something to process them all into one before i get squid to read it?

Cheers Luke

© Server Fault or respective owner

Related posts about squid

Related posts about sarg

  • Sarg report error

    as seen on Server Fault - Search for 'Server Fault'
    I have a proxy server that runs Ubuntu Server 11.10, Squid 2.7.STABLE9. I installed sarg (version 2.3.1 Sep-18-2010) to generate reports using the ordinary apt-get install, and added a cron job to generate a report of the day every 5 minutes (that will overwrite the 5-minutes-older one): */5 * *… >>> More

  • Problem with squid log files

    as seen on Server Fault - Search for 'Server Fault'
    I am using SARG to get a report on the squid log files, I get this result /usr/local/Sarg/bin/sarg -l /usr/local/squid/var/logs/access.log SARG: Records in file: 0, reading: 0.00% SARG: Records in file: 0, reading: 0.00% SARG: Records in file: 0, reading: 0.00% SARG: Records in file: 0, reading:… >>> More

  • How to reload sarg configuration file

    as seen on Ask Ubuntu - Search for 'Ask Ubuntu'
    I have installed sarg for a while on ubuntu 12.04 and forgotten that I wanted it to generate reports inside /var/www/vhosts/reports.lan/htdocs. I have found out this morning and made the change in the /etc/sarg/sarg.conf. After I have manually run sarg with # sarg-reports today but it generated… >>> More

  • Squid Log Rotation and Sarg

    as seen on Server Fault - Search for 'Server Fault'
    We have just setup squid as our proxy, and i was going to use Sarg to analyze the log files. I had initially set the Squid logs to rotate everyday so they dont get huge. The problem is i cant see an option in the squid config to read a folder full of squid log files (say *.log). Is there an easy… >>> More

  • Sarg Daily Report not generated

    as seen on Ask Ubuntu - Search for 'Ask Ubuntu'
    Ubuntu 12.04 LTS Squid 3 Sarg 2.3.2 following is my crontab configuration # SHELL=/bin/sh PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin m h dom mon dow user command 25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily… >>> More