script for per ip bandwith used and made avialble via .rsc

I was wondering if its possible to create a script or any means possible to do a per IP bandwidth usage and set it to automatically send data/logs to a .rsc file on the router-board for say monthly intervals which can be dropped into a file like excel and converted into logs with graphs?