HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   Generating Web Site Statistics With AWStats & JAWStats On Debian Lenny (http://www.howtoforge.com/forums/showthread.php?t=47412)

robertlouwen 19th July 2010 03:21

Generating Web Site Statistics With AWStats & JAWStats On Debian Lenny
 
Hello all,

I have followed this tut. Generating Web Site Statistics With AWStats & JAWStats On Debian Lenny and I got it working for 98%

Awstats generates every hour an awstatsMMYYYY.www.domain.nu.txt file ( I can see this on the timestamp of the files )
The problem is that jawstats speaks a different language.

jawstats wants to read a file with the name awstatsYYYYM.www.domain.nu.txt to make jawstats speak the same language as awstats I added this: "statsname" => "awstats[MM][YYYY].www.domain.nu.txt", to the jawstats config.php file but it did not help.

What can I do to solve this ?

falko 19th July 2010 13:40

You must put the correct file name in the LogFile variable in that site's awstats configuration.

robertlouwen 19th July 2010 14:48

2 Attachment(s)
Hello Falko,

The LogFile variable is for the input file, isn't it ? ( for fedora 13 & ispconfig: /var/log/httpd/access_log )

My issue is with the output file:
awstats creates this file awstatsMMYYYY.www.domain.nu.txt
jawstats wants this file awstatsYYYYM.www.domain.nu.txt

Have a nice day

falko 20th July 2010 14:09

Maybe you can configure the name of the file that AWStats creates? Did you change anything else in the AWStats configuration than what is shown in the tutorial?

mrhhug 9th January 2011 03:35

change the way JAWStats interprets, not the AWStats writes
 
there is a stats name variable as of patched 0.7 of JAWStats. it looks like this :
$aConfig["site1"] = array(
"statspath" => "/path/to/data/",
"statsname" => "myformat[YYYY][MM].txt",
"updatepath" => "/path/to/awstats.pl/",
"siteurl" => "http://www.my-1st-domain.com",
"sitename" => "My 1st Domain",
"theme" => "default",
"fadespeed" => 250,
"password" => "my-1st-password",
"includes" => "",
"language" => "en-gb"
);

i copied this info from http://www.jawstats.com/documentation


All times are GMT +2. The time now is 09:05.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.