Current User: Guest Login
Please consider registering


Lost Your Password?

Search Forums:


 






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

strange stats

Reply to Post Add a New Topic
UserPost

7:34 am
February 5, 2008


Rahul

Guest

Hi,

We are a youth debating website http://www.truetube.co.uk  who use Awstats.

We have noticed that the server page featuring the stats info is included in the pages viewed section even though results from our office proxy IP address should not be included.

Only three people have logins for the stats and none of us really view the pages outside of work so it is strange that these pages are being viewed in this way and are appearing in our stats.

Kind regards

7:46 am
February 5, 2008


Jean-Luc

Admin

posts 1125

Hi,

Hard to say with so little information…

How do you exclude the hits from your office proxy ? Are your stats password protected ?

Jean-Luc

11:50 am
February 5, 2008


Truetube.co.uk

Guest

I believe my IT manager did it through the config file. using something like Skiphosts="123.123.123.123" like in the FAQ on AWstats site.

Stats are password protected 

Sorry but I re-posted the comment again because I forgot

thanks for replying

 



 

 

1:00 pm
February 5, 2008


Jean-Luc

Admin

posts 1125

As your AWStats users must log in, you could check the "Authenticated users (Top 10)" in your AWStats report. Maybe you will find some interesting information there about who is looking at the stats.

You can also create an extra section that will log the IP addresses of the visitors of the AWStats report pages.

Jean-Luc

4:35 am
February 6, 2008


Truetube.co.uk

Guest

Can't seem to find this Report, perhaps we've not enabled it.

Is it in the left hand navigation?

thanks 

  

4:46 am
February 6, 2008


Jean-Luc

Admin

posts 1125

If it is not enabled, edit ShowAuthenticatedUsers  in your config file.

ShowAuthenticatedUsers=PHBL

Jean-Luc

5:47 am
February 6, 2008


Truetube.co.uk

Guest

How is it possible to edit the config file without the .NET environment

I can see the awstats.conf file in the local stats folder that can be opened in WordPad

Sorry I only have theoretical experince with config files 

 

6:36 am
February 6, 2008


Jean-Luc

Admin

posts 1125

Not sure I understand your question. You have to use a text editor that will not add any unwanted special character. Notepad that comes with Windows is fine to edit the AWStats config file.

Make a backup copy of your existing AWStats config file first. Open the config file with Notepad, make the desired changes and save the edited version of the file. Refresh your AWStats report. The section with the authenticated users should be there.

Jean-Luc

6:48 am
February 6, 2008


Truetube.co.uk

Guest

Ok – the awstats.conf that resides on the server does not contain actual code, merely an explanation of how to set up (see below)

# AWSTATS CONFIGURE FILE 6.3
#—————————————————————————–
# Copy this file into awstats.www.mydomain.conf and edit this new config file
# to setup AWStats (See documentation in docs/ directory).
# The config file must be in /etc/awstats, /usr/local/etc/awstats or /etc (for
# Unix/Linux) or same directory than awstats.pl (Windows, Mac, Unix/Linux…)
# To include an environment variable in any parameter (AWStats will replace
# it with its value when reading it), follow the example:
# Parameter="__ENVNAME__"
# Note that environment variable AWSTATS_CURRENT_CONFIG is always defined with
# the config value in an AWStats running session and can be used like others.
#—————————————————————————–
# $Revision: 8686 $ – $Author: r_svn $ – $Date: 2006-03-07 16:55:43 +0000 (Tue, 07 Mar 2006) $

#—————————————————————————–
# MAIN SETUP SECTION (Required to make AWStats work)
#—————————————————————————–

# "LogFile" contains the web, ftp or mail server log file to analyze.
# Possible values: A full path, or a relative path from awstats.pl directory.
# Example: "/var/log/apache/access.log"
# Example: "../logs/mycombinedlog.log"
# You can also use tags in this filename if you need a dynamic file name
# depending on date or time (Replacement is made by AWStats at the beginning
# of its execution). This is available tags :
#   %YYYY-n  is replaced with 4 digits year we were n hours ago
#   %YY-n    is replaced with 2 digits year we were n hours ago
#   %MM-n    is replaced with 2 digits month we were n hours ago
#   %MO-n    is replaced with 3 letters month we were n hours ago
#   %DD-n    is replaced with day we were n hours ago
#   %HH-n    is replaced with hour we were n hours ago
#   %NS-n    is replaced with number of seconds at 00:00 since 1970
#   %WM-n    is replaced with the week number in month (1-5)
#   %Wm-n    is replaced with the week number in month (0-4)
#   %WY-n    is replaced with the week number in year (01-52)
#   %Wy-n    is replaced with the week number in year (00-51)
#   %DW-n    is replaced with the day number in week (1-7, 1=sunday)
#                              use n=24 if you need (1-7, 1=monday)
#   %Dw-n    is replaced with the day number in week (0-6, 0=sunday)
#                              use n=24 if you need (0-6, 0=monday)
#   Use 0 for n if you need current year, month, day, hour…
# Example: "/var/log/access_log.%YYYY-0%MM-0%DD-0.log"
# Example: "C:/WINNT/system32/LogFiles/W3SVC1/ex%YY-24%MM-24%DD-24.log"
# You can also use a pipe if log file come from a pipe :
# Example: "gzip -d </var/log/apache/access.log.gz |"
# If there is several log files from load balancing servers :
# Example: "/pathtotools/logresolvemerge.pl *.log |"
#
LogFile="zcat -f `find /home_____logs/ -name '*-access_log*' -newer dnscachelastupdate.txt | sort -r` |"

# Enter the log file type you want to analyze.
# Possible values:
#  W – For a web log file
#  S – For a streaming log file
#  M – For a mail log file
#  F – For a ftp log file
# Example: W
# Default: W
#
LogType=W

etc. etc. etc. etc. 

7:05 am
February 6, 2008


Jean-Luc

Admin

posts 1125

Your AWStats config file contains both, comments (starting with #) and commands. The comments are there to help you understand how the file works. In the part of the file you pasted here, you have two commands:

LogFile="zcat -f `find /home_____logs/ -name '*-access_log*' -newer dnscachelastupdate.txt | sort -r` |"

and

LogType=W

You have to search for the line starting with ShowAuthenticatedUsers. If this line does not exist, just copy the line I gave you at the end of the file.

Jean-Luc

8:45 am
February 6, 2008


Truetube.co.uk

Guest

Thank you – it's starting to make sense now

In the stats for Authenticated Users there is the administrator login but also thousands of "Other logins (and/or anonymous users)" accessing our stats

Any idea how this happens bearing in mind there are only 3 people with the administrator password protected logins

Also need to block an IP, What is the code

many thanks 

 

11:13 am
February 6, 2008


Jean-Luc

Admin

posts 1125

If your AWStats report is about your complete web site, the report about authenticated users is also about your complete web site. My understanding is that these not authenticated users are the people visiting the public part of your web site. This is probably not very helpful if no other information appears in the authenticated users section.

I would suggest that you give different user names and passwords to different people, even if they share the same rights. This is much easier to manage when a person leaves the department or the company.

With an extra section, you could log the IP addresses of the visitors of the AWStats report pages.

To hide an IP in the reports, use:

SkipHosts="12.34.56.78"

where 12.34.56.78 is the IP address.

Jean-Luc

Reply to Post

Reply to Topic:
strange stats

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:
2 + 4
   


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 302

Currently Online:
11 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 9
Topics: 638
Posts: 2709

Membership:

There are 257 Members
There have been 302 Guests

There is 1 Admin
There is 1 Moderator

Top Posters:

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

Recent New Members: raju, todd2taylor, sbdcunha, mansigill1987, ThomasDuh, ThomasKic

Administrators: Jean-Luc (1125 Posts)

Moderators: Jean-Luc (1125 Posts)