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

Unique visitors

Reply to Post Add a New Topic
UserPost

8:04 am
June 12, 2014


Sweety

Guest

Hi,

 

Kindly assist me in solving the following 3 question

1) Can you please tell me how can I change the way unique visitor is calculated to generate report.? I mean I need to display the unique visitor count based on the no of authorised visitor and not based on the remot host IP address.

 

2) How can I display the no of occurences of an %extra field in the log format.If suppose I have an extra field that shows the type of user for my application , I need to display the count of each type of user. Will I be able to do it?? If so, Will I be able to display only in the extra section or can I do it the summary section of the report displaying each user type as one column.

 

3) Can I show the no of authenticated users count in the summary section of report. ? If yes, how will I be able to do it.

 

Waiting for your assistance.

 

Thanks in advance

Regards

Sweety

11:38 am
June 12, 2014


Sweety

Guest

can anyone help me in solving the above mentioned queries

11:47 am
June 12, 2014


Jean-Luc

Admin

posts 1125

Hi Sweety,

 

1) You need to use the ShowAuthenticatedUsers  directive to display the number of authorized visitors. With

ShowAuthenticatedUsers=PHBL

the main page of your AWStats reports will contain a section dedicated to the users who logged in. At the top of the section, you will see "Authenticated users :" followed by a number.

 

2) and 3) I don't see a way to achieve what you ask with extra sections. As AWStats is software under a GNU GPL license, one may be able to add some of the features you requested. If you want us to send you a quote or further discuss a special development, please send an email to awstats@internetofficer.com . Thanks.

 

Jean-Luc

4:22 am
June 13, 2014


Sweety

Guest

Thanks for the prompt response .

 

But can you please tel me how the authenticated users are calculated? I always get it as 1. and also how the PHBL values are calculated in the section.

 

I also need to calculate the unique visitors in the summary section based on the authenticated users count and not based on remote host ip address. Is there a way to acheive it?

 

Thanks in advance.

 

Regards,

Sweety

1:22 pm
June 13, 2014


Jean-Luc

Admin

posts 1125

AWStats simply counts the number of distinct entries in the %logname  field. The PHB values are the sum of the respective PHB values of a given %logname , while the L value is the latest date and time of each %logname .

Authenticated users have been counted from the time you enabled ShowAuthenticatedUsers . Hits from authenticated users that had already been imported in the AWStats data files before will not be counted as authenticated users.

Keep in mind that hits that do not return a 200 or 304 status code are not counted and that AWStats does not support authenticated user names containing spaces or some special characters.

I hope this helps.

4:29 am
June 14, 2014


Sweety

Guest

Hi,

 

Thanks. your answer helped me alot. 

 

Will i be able to achieve this?

 

I also need to calculate the unique visitors in the summary section based on the authenticated users count and not based on remote host ip address. Is there a way to acheive it?

 

And will "-" as a value for %logname also be counted as authenticated users.

 

Thanks in advance

2:11 pm
June 14, 2014


Jean-Luc

Admin

posts 1125

Hi Sweety,

 

The number of authenticated users is not shown in the summary section.

 

"-" is not counted as an authenticated user, but it is shown in the list.

 

Jean-Luc

7:20 pm
June 14, 2014


Sweety

Guest

Hi,

Thanks Jean-Luc.

In that case, how I can count the unique visitors count based on authenticated users count.

Is there a way to achieve it?

 

Sweety

8:47 pm
June 14, 2014


Jean-Luc

Admin

posts 1125

At the top of the "Authenticated users" section, you get this kind of text:

 

   Authenticated users (Top 10)   –   Full list   –   Last visit  
 Authenticated users : 3  Pages Hits Bandwidth Last visit

 

In this example, the number of unique visitors based on authenticated users is 3.

 

On the other hand, you can also use %host  for the log name field instead of %logname . You will then get the authenticated users in the reports where AWStats normally shows the unique users. At the same time, you will lose all information coming from the IP address (like geolocation).

9:11 am
June 16, 2014


Sweety

Guest

Thank you Jean-Luc for your help:):):)

It helped me alot.

9:43 am
June 16, 2014


Sweety

Guest

And can you please tell me will I be able to generate report for multiple log files at a time. In what format should the log files be , in compressed ?? what should be the path for the log file?? 

 

currently its like this..how should i change it to consider multiple log files at a time.

LogFile="\AwStats\awstats-6.2\logs\access.log"

 

Will be able to generate reports for log files that is stored in cloud storage automatically without manually downloading it and generating report from the command prompt.

 

Thanks in advance

10:02 am
June 16, 2014


Jean-Luc

Admin

posts 1125

Consider using logresolvemerge.pl . This is documented here: http://awstats.sourceforge.net/docs/awstats_tools.html#logresolvemerge

10:14 am
June 16, 2014


Sweety

Guest

I tried as you said in http://www.internetofficer.com/forum/awstats-iis-installation-and-configuration/how-to-analyze-multiple-logfiles/ . But when i opened the file from tools folder there is only one line 

"Error: No input log file found."
 
My files names were access1,access2…. 
this was my perl cmd perl logresolvemerge.pl -dnslookup exaccess*.log > all.log
logfile path LogFile="\AwStats\awstats-6.2\tools\all.log"
 
Can you please help me fix the issue
 
Thanks in advance

11:11 am
June 16, 2014


Sweety

Guest

I read the other question and answers in the forum and corrected it.

Anyways thanks Jean for all your help. I have learnt alot from you.

Will get back in case I need anything.

 

Thanks,

Sweety

Reply to Post

Reply to Topic:
Unique visitors

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:
6 + 7
   


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 302

Currently Online:
19 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

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

Membership:

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