Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Getting squid log files to another computer...

Hello all,

in the before ASL era, i had some fancy scripts to analyze my squid logs, and get statistics about who was browsing, what...

Since in ASL i cannot do this, i wanted to know..
1.Every when ASL rotates Squid's access.log
2.Can i use a script of my own to rotate access.log weekly (or monthly)
3.How can i scp it to the old proxy computer.. 

thank you very much in advance,


This thread was automatically locked due to age.
Parents
  • Hi Lewis,

    1. ASL rotates all logfiles @ 0:01

    2. you can: comment out all *squid* files in /etc/log-rotate.cfg; create a new script that does the rotating and add an entry to /etc/crontab

    3. add a line to your own rotate-script that does the transfer - or better: access the firewall from the old proxy-maschine

    - Michael
  • ok, thanks....

    any idea on how can i copy from another computer my firewall, using scp ?
    i tried using some examples i found here, but access was denied..
  • do not use the users admin and root for remote scp, remote access is denied for these users. you can use loginuser instead. if you need root-shell access use also user loginuser and change to user root by "su -" .

    bye
    Michael
Reply Children