You can write a log parser to calculate the bandwidth used. Here is an example router log message
2013-03-27T04:02:21+00:00 heroku[router]: at=info method=GET path=/
host=somehost.herokuapp.com fwd="1.1.1.1" dyno=web.1 connect=1ms
service=35ms status=200 bytes=49
analyze the section for each line of the router "bytes="and add bytes.
source
share