Is there any script to do accounting for the proftpd's xferlog?
Posted
by
Aseques
on Server Fault
See other posts from Server Fault
or by Aseques
Published on 2013-10-17T13:36:13Z
Indexed on
2013/10/18
15:57 UTC
Read the original article
Hit count: 171
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
© Server Fault or respective owner