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

Howto export HTTP Proxy usage log ?

Hi all,
I shall like to be able to export the logs of the HTTP PROXY USAGE for a treatment statistics under Excel for example.

How have to I take myself there?

Exist it tools to automate this spot?
The East what I can use a waiter syslog for exporte this logs?

Thank you very much

Ignacio CASA  


This thread was automatically locked due to age.
  • Hi Ignacio,
       I found the solution to export this logs to external server using ftp connection to ftp server.

    First, i put the ftp binary file on ASL box, it is not so secure for firewall, but my customer accept the risks.

    After I make the perl script to convert the time stamp from logs to understanding time and date from log lines because squid uses timestamp as default. the script is called scriptc.pl.

    --->begin file
    #!/usr/bin/perl

    open (INP,"/var/chroot-squid/logs/access.log");
    while (not eof(INP)) {
        ($logtime,$otherinfo)=split(/ /,,2);
        ($sec,$min,$hour,$day,$mon,$year,$tmp,$tmp,$tmp) =localtime($logtime);
        $mon+=1; $year+=1900;
        print"$year/$mon/$day $hour:$min:$sec $otherinfo";
    }
     Begin of file
    cp /var/chroot-squid/logs/access.log /userdir
    /userdir/scriptc.pl > /userdir/access.log.tmp
    ftp -n 192.168.60.100  Begin of file
    user ftpuser ftppassword
    prompt
    put access.log.tmp 
    bye
  • Hi Ignacio,

    the 'HTTP Proxy Usage' is created by SARG, which is a freeware tool for Linux.
    If you download your HTPP logs in WebAdmin under \Log Files\HTTP Proxy you can create your own reports.

    Your Firewall brings only 'Standard reports'  *)  because of performance issues.
    So if you want to have your own reports and build statistics go this way.

    If you are only Windows User, you could also have a look at 'WebTrends Firewall Suite' which can read teh log files generated under \Log Files\WELF

    Godd luck and don't waste time being    !!
     

    Regards,
    Karsten

     [ QUOTE ]
     
     *) 
    Dear ASL developers don't understand me wrong, the reporting of the ASL is very well.
    I was just wondering all the time why it is not possible to see a whole months Proxy Usage overview.
    Meanwhile i had to gerate one for a customer with SARG using over 300MB log files (for one month).
    After hours of waiting (PIII, 1.2GHz, 512MB) i understand now why  this  is not possible in ASL .........
     

    Have a nice weekend and greetings to Karlsruhe, Karsten
     

    [/ QUOTE ]