Complex Apache Logging
        Posted  
        
            by Shishant
        on Server Fault
        
        See other posts from Server Fault
        
            or by Shishant
        
        
        
        Published on 2010-03-18T20:25:44Z
        Indexed on 
            2010/03/18
            20:31 UTC
        
        
        Read the original article
        Hit count: 278
        
Hello,
I have a file hosting site and I want to know what should be the apache log format/code to log records for only filesizes above 5mb that were served as download/output bandwidth
So log looks like this visitors_ip filepath(or filename) output bandwidth
One more thing data should be recorded ONLY FOR COMPLETED DOWNLOADS which I believe is checked through %X
I think output bandwidth is same as the filesize that was served as download if whole file is downloaded.
Thank You
© Server Fault or respective owner