Creating Statistics of users' usage

Hi everyone,

I need help on how to generate users’ statistics over a period of one month of all activities (up-time, cumulative bytes out, bytes in, site visited and etc) thereafter log it in a file.

Also, a script on automatic reset of all counters at specified time. I am using mikrotik routerboard as indicated below:

Product code CCR1009-7G-1C-1S+PC
Architecture TILE
CPU TLR4-00980CH-10CE-A3b

Thanks

You can use Ntop or any other tool that supports NetFlow:
https://wiki.mikrotik.com/wiki/Manual:IP/Traffic_Flow