-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 19 August 2004 12:08, Anders Norrbring wrote:
Shortly put; Does Webalizer work with the vsftpd log files?
Yes, mine is working :). In your webalizer.conf file, you must define: LogFile /var/log/vsftpd.log LogType ftp In your vsftpd.conf: xferlog_enable=YES xferlog_file=/var/log/vsftpd.log Guillermo - -- Guillermo Ballester Valor gbv@oxixares.com Ogijares, Granada SPAIN Linux user #117181. See http://counter.li.org/ Public GPG KEY http://www.oxixares.com/~gbv/pubgpg.html -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux) iD8DBQFBJIFPOA2UfsyErNQRAmJuAKCap+xj03S44CAboW8UjJ/b8Pw7eQCgncC9 hClCXYRW0gVd8VRBi1vJ2yk= =SkDN -----END PGP SIGNATURE-----
Shortly put; Does Webalizer work with the vsftpd log files?
Yes, mine is working :).
In your webalizer.conf file, you must define:
LogFile /var/log/vsftpd.log LogType ftp
In your vsftpd.conf:
xferlog_enable=YES xferlog_file=/var/log/vsftpd.log
Thanks.. :) Then quickly on to the next question... Can Webalizer parse and use TWO log files for the same stats display? I'm thinking of the web server logs and ftp server logs represented in the same graph. Or do I need separate presentations? Anders
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 19 August 2004 12:36, Anders Norrbring wrote:
Shortly put; Does Webalizer work with the vsftpd log files?
Yes, mine is working :).
In your webalizer.conf file, you must define:
LogFile /var/log/vsftpd.log LogType ftp
In your vsftpd.conf:
xferlog_enable=YES xferlog_file=/var/log/vsftpd.log
Thanks.. :) Then quickly on to the next question... Can Webalizer parse and use TWO log files for the same stats display? I'm thinking of the web server logs and ftp server logs represented in the same graph. Or do I need separate presentations?
I don't know whether it works. I use two separate directories for web and ftp. And both uses different webalizer configuration files and log files. Guillermo - -- Guillermo Ballester Valor gbv@oxixares.com Ogijares, Granada SPAIN Linux user #117181. See http://counter.li.org/ Public GPG KEY http://www.oxixares.com/~gbv/pubgpg.html -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux) iD8DBQFBJIRmOA2UfsyErNQRAvilAKDBHHf/vDRwU6pNIZK/gNh1Bc1P0gCgkkCJ HnteKrUGKlBnjcbqC9HWerw= =Trbl -----END PGP SIGNATURE-----
Anders wrote regarding 'RE: [SLE] Webalizer and vsfptd?' on Thu, Aug 19 at 05:36: [...]
Then quickly on to the next question... Can Webalizer parse and use TWO log files for the same stats display? I'm thinking of the web server logs and ftp server logs represented in the same graph. Or do I need separate presentations?
You'll probably have to disable the history file to combine the stats. The webalizer normally keeps track of the last date so it can skip to the right place in a new log file. Alternatively, you could write a little script to generate a combined file with lines in order by date, and feed that to webalizer on stdin. I use that method for filtering virtual servers that are logged to one file - just open several webalizers with the command line options for each virt. server and print each line to the appropriate process. It works well (though, I should really update that old roxen server to some more modern Apache install - who needs RXML anyway?). :) --Danny, wishing Roxen had hung on a little better
Any one using Suse fire wall on cd-how do I get it to notify me by paging my cellphone number? Paul.
[8<]
You'll probably have to disable the history file to combine the stats. The webalizer normally keeps track of the last date so it can skip to the right place in a new log file. Alternatively, you could write a little script to generate a combined file with lines in order by date, and feed that to webalizer on stdin. I use that method for filtering virtual servers that are logged to one file - just open several webalizers with the command line options for each virt. server and print each line to the appropriate process.
Which in turn means USE TWO STATS... :) Thanks! Anders.
Anders wrote regarding 'RE: [SLE] Webalizer and vsfptd?' on Thu, Aug 19 at 08:53:
[8<]
You'll probably have to disable the history file to combine the stats. The webalizer normally keeps track of the last date so it can skip to the right place in a new log file. Alternatively, you could write a little script to generate a combined file with lines in order by date, and feed that to webalizer on stdin. I use that method for filtering virtual servers that are logged to one file - just open several webalizers with the command line options for each virt. server and print each line to the appropriate process.
Which in turn means USE TWO STATS... :)
Pretty much. Disabling the history would probably work, but it'd take a long time to run since it'd have to go through the whole log file every time. If you can spare the time, turing off the history (and there's some other thing that tracks out-of-order log files, IIRC), would likely do it. Also, since analog is so complicated, I'm sure it could do what you want. Complicated things are frequently the answer. ;) You might look into analog and maybe one of the nicer analog report parsers (there are several)... --Danny
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello again: I forgot to say I have two webalizer configuration files, one for httpd server (apache2) and the other for FTP (vsftpd). These are the lines in my crontab to run webalizer every few hours: 58 1-23/2 * * * /usr/bin/webalizer -p > /dev/null 58 3-23/4 * * * /usr/bin/webalizer -c /etc/webalizer_ftp.conf -p > /dev/null Guillermo On Thursday 19 August 2004 12:08, Anders Norrbring wrote:
Shortly put; Does Webalizer work with the vsftpd log files?
- -- Guillermo Ballester Valor gbv@oxixares.com Ogijares, Granada SPAIN Linux user #117181. See http://counter.li.org/ Public GPG KEY http://www.oxixares.com/~gbv/pubgpg.html -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux) iD8DBQFBJIM6OA2UfsyErNQRAo4aAJ9Dp/lUGN/32HzMxkEMM1UrsGWZYgCfR2Wf MvgV7ZPES+jAxLOdWa0Dmts= =WtRY -----END PGP SIGNATURE-----
participants (4)
-
Anders Norrbring
-
Danny Sauer
-
Guillermo Ballester Valor
-
Paul Ikanza