Is there any script to do accounting for the proftpd's xferlog?
- by Aseques
I would like to convert from the xferlog format that proftpd uses into per user in/out bytes, to have a summary on how much traffic does each user use per month.
The exact format is this:
Thu Oct 17 12:47:05 2013 1 123.123.123.123 74852 /home/vftp/doc1.txt b _ i r user ftp 0 * c
Thu Oct 17 12:47:06 2013 2 123.123.123.123 86321 /home/vftp/doc2.txt b _ i r user ftp 0 * c
So far I only found a script that makes a nice report but not exactly what I needed, that one can be found here
I might create a fork of this one and place it somewhere but it probably has been done a lot of times already.
Just found a well hidden page in proftpd site with some more examples here