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

Hits per directory or per instead of the just whole site

Reply to Post Add a New Topic

11:12 am
October 6, 2008



Hi , I am  looking for  some help on how to collect hits for  few particular directory if i have logs for a big site which has lot of directories and pages. If I run awstats on site logs it give me hits for for over all site and not per directory based nor per page based. If any body have similar problem then please mention your insight.

Thanks for ur help in advance.

11:20 am
October 6, 2008



posts 1125

Have a look at our extra section called Hits by Directory. It should help.

4:59 pm
October 6, 2008



So that mean I have to process my logs again with extra section. I alreay did my processing running almost 12 hours for 2 years of data on monhtly basis.      Is it possible to get the per directory and per page info from  my already processed logs ?

Thanks for ur help.

3:46 am
October 7, 2008



posts 1125

With already processed logs, you can go to "Navigation: Viewed – Full list" report (Pages-URL – Full list) and apply a filter. This is a way to get a list of pages within a directory and, for each page in the directory, you get "viewed pages", "average size", "entry" and "exit".

10:37 am
October 10, 2008



I don't know if it sounds  rigth to you but I tried other way round.

I updated the stats by using

perl -config=${DOMAIN} -updatewhich created stats for last 3 years and months respectively.

I generated the report with

./ -month=${MONTH} -year=${YEAR} -config=${DOMAIN} -staticlinks -configdir=${CONFIGDIR} -output=urldetail:/${DIRECTORY} > ${OUTPUTDIR}/report-${DIRECTORY}-${MONTH}.htm

But I dont think this thing gives me a valid report because it gives statistics about  “viewed pages”, “average size”, “entry” and “exit”  for particulardirectory  which are not the hits or visits and  unique vistors.

What you think about using 'OnlyFiles' directive at config  before running updates.

10:50 am
October 10, 2008



posts 1125

Well, you got a valid report, but it does not include what you are looking for.

You are right about "OnlyFiles": if you want to see "hits", "visits" and "unique visitors" per directory as if a directory would be a different site, you need to use "OnlyFiles" and you need to run the update as many times as you have directories that you want to monitor (with a different value of "OnlyFiles" for each directory).

10:57 am
October 10, 2008



Thanks for the  clarification.  Do u have some document which  explain awstats report ?? ie .. difference between 'viewed' and 'hits' or 'vists'  and what is there significance.  I know "viewed" is  different from hits/visits but wanted to be sure . I checked on awstats site and it does talk about how to generate report but no explaination of what you got. 

11:01 am
October 10, 2008



posts 1125

You will find the definitions of these terms in the AWStats Glossary.

Reply to Post

Reply to Topic:
Hits per directory or per instead of the just whole site

Guest Name (Required):

Guest Email (Required):

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

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

Guest URL (required)

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

About the Forum

Forum Timezone: UTC 1

Most Users Ever Online: 302

Currently Online:
10 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 9
Topics: 639
Posts: 2710


There are 257 Members
There have been 304 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)