Skip to content

This PHP script, from the Apache access log, you can aggregate the network transfer amount for each file type.

Notifications You must be signed in to change notification settings

sizaki30/ApacheTrafficMeasurement

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

ApacheTrafficMeasurement

This PHP script, from the Apache access log, you can aggregate the network transfer amount for each file type.

##Requirements Format of the access log must be combinedio.

https://httpd.apache.org/docs/2.4/en/mod/mod_logio.html

combinedio log format

LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
CustomLog logs/access_log combinedio

Usage

php ApacheTrafficMeasurement.php /var/log/httpd/access_log

About

This PHP script, from the Apache access log, you can aggregate the network transfer amount for each file type.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages