On 08/09/10 00:29, Kaiwang Chen wrote:
See inline.
Thanks,
kc
2010/9/7 Amos Jeffriessqu...@treenet.co.nz:
On Tue, 7 Sep 2010 01:45:46 +0800, Kaiwang Chenkaiwang.c...@gmail.com
wrote:
Hello,
Looks like awstats.pl cannot recognize squid logformat from
squid3.1.6, as pointed out by LogFormat
See inline.
Thanks,
kc
2010/9/7 Amos Jeffries squ...@treenet.co.nz:
On Tue, 7 Sep 2010 01:45:46 +0800, Kaiwang Chen kaiwang.c...@gmail.com
wrote:
Hello,
Looks like awstats.pl cannot recognize squid logformat from
squid3.1.6, as pointed out by LogFormat in awstats.mysite.conf
# Possible
use the following command line to convert squid format to LogFormat
4 in awstats:
perl -MPOSIX -anle '$F[3]=~s/[^0-9]//g; print $F[2] - - [,
POSIX::strftime(%d/%b/%Y:%T %z,localtime($F[0])), ] \$F[5] $F[6]\
$F[3] $F[1]'
Thanks,
kc
2010/9/7 Kaiwang Chen kaiwang.c...@gmail.com:
See inline.
Hello,
Looks like awstats.pl cannot recognize squid logformat from
squid3.1.6, as pointed out by LogFormat in awstats.mysite.conf
# Possible values: 1,2,3,4 or your_own_personalized_log_format
# 1 - Apache or Lotus Notes/Domino native combined log format (NCSA
combined/XLF/ELF log format)
# 2 -
On Tue, 7 Sep 2010 01:45:46 +0800, Kaiwang Chen kaiwang.c...@gmail.com
wrote:
Hello,
Looks like awstats.pl cannot recognize squid logformat from
squid3.1.6, as pointed out by LogFormat in awstats.mysite.conf
# Possible values: 1,2,3,4 or your_own_personalized_log_format
# 1 - Apache or