Current User: Guest Login Register
Please consider registering


Register? | Lost Your Password?

Search Forums:


 






Minimum search word length is 3 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

MiscTracker will not work

Reply to Post Add a New Topic
UserPost

9:33 pm
December 16, 2008


Ray Parrish

Guest

Hello,

I'm trying to use the MiscTracker script. It is putting results into my log files, but the awstats.pl will not output them to the generated reports.

I've looked at a page that purports to tell me how to fix this, and it states -

Note: If you change directory where awstats_misc_tracker.js is stored (somewhere else than the /js directory), you must modify, according to your change:
- the html tags added
- the line: var awstatsmisctrackerurl=”/js/awstats_misc_tracker.js”; inside the awstats_misc_tracker.js script
- the parameter MiscTrackerUrl inside AWStats configuration file.

What html tags are they talking about? The html tags added to what? I have the path set to the root of my domain, and have made the other two changes shown above as stated.

Also, in some places in the documentation it tells me to set ShowMiscStats=anjdfrqwp and in other places it tells me to set ShowMiscStats=1

Which is correct?

Here is what the line looks like that is being put in my log files.

2008-12-14 17:59:10 W3SVC47909606 NTXPW
US59 74.208.21.208 GET /awstats_misc_tr
acker.js screen=1024×768&win=999×511&cd
i=24&java=true&shk=n&svg=n&fla=y&rp=y&m
ov=y&wma=y&pdf=n&uid=awsuser_id12286952
91948r4537&sid=awssession_id12292775500
76r5592 80 – 75.170.52.88 HTTP/1.1 Mozi
lla/5.0+(X11;+U;+Linux+i686;+en-US;+rv:
1.9.0.4)+Gecko/2008111317+Ubuntu/8.04+(
hardy)+Firefox/3.0.4 TextSize=x-large;+
StyleSet=greenmarble.css;+AWSUSER_ID=aw
suser_id1228695291948r4537;+AWSSESSION_
ID=awssession_id1229277550076r5592 http
://www.rayslinks.com/index.html www.ray
slinks.com 200 0 64 0 719 249

Thank you for any help you can be with this matter.

Later, Ray Parrish

1:38 am
December 17, 2008


Jean-Luc

Admin

posts 1063

Hi,

Here is what I would use.

HTML code ( = HTML tags) :

# <script language=javascript src="/awstats_misc_tracker.js"></script>
# <noscript><img src="/awstats_misc_tracker.js?nojs=y" height=0 width=0 border=0 style="display: none"></noscript>

MiscTrackerUrl:

MiscTrackerUrl="/awstats_misc_tracker.js"

The first executable line in the JavaScript file:

var awstatsmisctrackerurl = "/awstats_misc_tracker.js" ;

5:43 pm
December 21, 2008


Ray Parrish

Guest

Hello,

That's not the problem! I already have that set up that way, and I'm getting results in my server log files from the script.

The problem is that awstats will not extract the collected information from the server logs and put it into the reports it generates.

Later, Ray Parrish

3:14 am
December 22, 2008


Jean-Luc

Admin

posts 1063

A few questions:

  • What is the value of LogFormat  in your AWStats config file ?
  • Does /awstats_misc_tracker.js?screen=1024×768&…  appear (including the query string) in the "Pages-URL" section of the report ?
  • Do all the raws in the "Miscellaneous" section of the report show a value of 0 ?

4:03 pm
December 22, 2008


Ray Parrish

Guest

Hello,

Here is my Logformat

LogFormat=%time2 %other %other %other %method %url %query %other %logname %host %other %ua %other %referer %virtualname %code %other %other %bytesd %other %other

The pages url section does not show /awstats_misc_tracker.js?screen= etc…

The misc section shows no values [just a dash for each entry] other than Add to Favorites which is getting data.

Thanks, Ray Parrish

9:51 am
December 28, 2008


rayparrish

Member

posts 4

Hello again,

It's been days since I provided the previous information… Is someone going to tell me if I've got those set right to use MiscTracker?

Later, Ray Parrish

11:14 am
December 28, 2008


Jean-Luc

Admin

posts 1063

Hello Ray,

Send me an email ( awstats@internetofficer.com ) with 100 lines from your log file. I will try to parse them with AWStats and I will let you know what I get.

10:37 am
January 7, 2009


Jean-Luc

Admin

posts 1063

Hi,

Here is the Miscellaneous section I got with the log file you sent me:

   
Miscellaneous    
Hits on favicon.ico 5 / 6 Visitors 83.3 %
Javascript disabled - 0 %
Browsers with Java support - 100 %
Browsers with Macromedia Director Support - 50 %
Browsers with Flash Support - 50 %
Browsers with Real audio playing support - 100 %
Browsers with Quicktime audio playing support - 100 %
Browsers with Windows Media audio playing support - 100 %
Browsers with PDF support - 0 %

I do not know why the second column remains empty, but the last colum shows percentages that seems to be valid.

In my config file, I use:

ShowMiscStats=1
MiscTrackerUrl="/awstats_misc_tracker.js"

I tried with AWStats 6.7 and 6.9.

I don't see how you can get different results if you have exactly the same entries in the config file.

2:06 am
January 10, 2009


rayparrish

Member

posts 4

Hello,

Well, the problem is the comments in the configuration file talk about "possible column codes" to add to the ShowMiscStats parameter so I have it set to -

ShowMiscStats=anjdfrqwp

Which I assumed would show all available stats. I'll change it to "1" and see if that works. Here is what the comments in the configuration file say -

# Show misc chart
# Context: Web, Streaming
# Default: a (See also MiscTrackerUrl parameter), Possible column codes: anjdfrqwp

Note the quoted default value of "a", and no mention of setting it to "1" being possible.

Also, I have the other paramater set as follows -

MiscTrackerUrl="awstats_misc_tracker.js"

Which according to your example is missing a leading / character in the url. I'll make a change there as well.

Thanks for your help. I'll get back to you, and let you know if it works for me now.

Later, Ray Parrish

2:15 am
January 10, 2009


rayparrish

Member

posts 4

Hello again,

I was previously looking at the wrong configuration files. the actual files I have in use already had showMiscStats=1, but were missing the / in the url in the other paramater, so that must have been the problem. I'm going to give it a test run now to see if it works.

Later, Ray Parrish

3:33 am
January 10, 2009


Jean-Luc

Admin

posts 1063

ShowMiscStats=1

is supposed to be the same as

ShowMiscStats=anjdfrqwp

4:57 am
January 10, 2009


rayparrish

Member

posts 4

Hello again,

Yes! the missing / in the url was the problem, and I am now getting results from misctracker! It is only showing data in the percentage column, but that works for me. Here is it's output below.

Add to favorites (relative indicator) 890 / 1988 Visitors 44.7 %
Javascript disabled - 4.3 %
Browsers with Java support - 91.2 %
Browsers with Macromedia Director Support - 10.9 %
Browsers with Flash Support - 92.3 %
Browsers with Real audio playing support - 26.3 %
Browsers with Quicktime audio playing support - 45 %
Browsers with Windows Media audio playing support - 82.4 %
Browsers with PDF support -

80.2 %

I am also now getting results in the Screen Sizes section of the report so I am now happy with the results. Thank you very much for finding the error for me. Later, Ray Parrish

7:55 am
March 4, 2009


Evert

New Member

posts 2

I am experiencing similar problems here…

In the IIS logs cs-uri-stem & cs-uri-query are used for the full url. awstats.pl glues those 2 together before processing any awstats_misc_tracker results in its logs.

I guess this works for some/most/all other people, but it does not work for me…

Here is an example of logentries:

2009-03-03 09:06:54 W3SVC899315409 SZ01
-WEB-13 1.2.3.4 GET /Scripts/awstats_mi
sc_tracker.js – 80 – 2.3.4.5 HTTP/1.1 M
ozilla/4.0+(compatible;+MSIE+7.0;+Windo
ws+NT+5.2;+.NET+CLR+1.1.4322;+.NET+CLR+
2.0.50727) AWSUSER_ID=awsuser_id1234965
149707r8927;+ASPSESSIONIDCCRQCRQD=KPJLP
BNBGHGJGKJPKAPPMIGG http://www.domain.c
om/ http://www.domain.com 304 0 0 264 5
48 15

2009-03-03 09:06:55 W3SVC899315409 SZ01
-WEB-13 1.2.3.4 GET /Scripts/awstats_mi
sc_tracker.js screen=1137×858&win=1117×
698&cdi=24&java=true&shk=n&svg=n&fla=y&
rp=n&mov=n&wma=y&pdf=y&uid=awsuser_id12
34965149707r8927&sid=awssession_id12360
71223798r7828 80 – 2.3.4.5 HTTP/1.1 Moz
illa/4.0+(compatible;+MSIE+7.0;+Windows
+NT+5.2;+.NET+CLR+1.1.4322;+.NET+CLR+2.
0.50727) AWSUSER_ID=awsuser_id123496514
9707r8927;+AWSSESSION_ID=awssession_id1
236071223798r7828;+ASPSESSIONIDCCRQCRQD
=LPJLPBNBJCHBILIMNFHIBCFN http://www.do
main.com/ http://www.domain.com 200 0 0
 7982 665 93

And my logformat is defined as follows:

LogFormat=”%time2 %s-sitename %cluster %s-ip %cs-method %cs-uri-stem %cs-uri-query %s-port %cs-username %c-ip cs-version %cs(User-Agent) %cs(Cookie) %cs(Referer) %cs-host %sc-status %sc-substatus %sc-win32-status %sc-bytes %cs-bytes %time-taken

Why isn't this working…? 

Regards,
Evert

Reply to Post

Reply to Topic:
MiscTracker will not work

Guest Name (Required):

Guest Email (Required):

NOTE: New Posts are subject to administrator approval before being displayed

Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
3 + 1
   


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 201

Currently Online:
12 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 9
Topics: 513
Posts: 2447

Membership:

There are 4127 Members
There have been 254 Guests

There is 1 Admin
There is 1 Moderator

Top Posters:

cssfsu – 55
albert_newton – 30
deepakgupta – 28
cosminpana – 20
DTNMike – 19
ahtshun83 – 17

Recent New Members: eniko, leptserkhan, JohnnyB, dweb3d, buck, newtoawstat

Administrators: Jean-Luc (1063 Posts)

Moderators: Jean-Luc (1063 Posts)