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

Reply to Post Add a New Topic
UserPost

8:50 am
October 31, 2007


Nico

Guest

HI, I am trying to count my mp3 downloads from my page.

Jean-Luc told me to add this line to the conf file:

URLWithQuery=1
because my log in my apache looks like this:

"GET /download.php?archivo=file.mp3

Now, I am trying to add an extra section with this filter:

^\\/download\\.php\\?archivo\\=\\w+\\.mp3$

but I cant.

How can I add this extra section that count my mp3 downloads and with a column with the origin IP?

Well really thanks.

nico

9:10 am
October 31, 2007


Jean-Luc

Admin

posts 1125

Hi Nico,

I guess you have seen my answer to your comment under Hits on Images (extra section).

You cannot have both a URL column and a host/IP column in an extra section. Let say that you do not need the URL column and that you want the host/IP column in your mp3 download site. I would use this:

ExtraSectionName1="Top Downloads"
ExtraSectionCodeFilter1="200"
ExtraSectionCondition1="URLWITHQUERY,^\\
/download\\.php\\?archivo\\=\\w+\\.mp3$"
ExtraSectionFirstColumnTitle1="Host/IP"
ExtraSectionFirstColumnValues1="HOST,^(
.+)$"
ExtraSectionFirstColumnFormat1="%s"
ExtraSectionStatTypes1=PBL
MaxNbOfExtra1=100
MinHitExtra1=1

This extra section should do the job.

Jean-Luc

11:52 am
October 31, 2007


Nico

Guest

Jean-Luc, u r a Genius!!! that works great. Now, where can I read more about this REGEX, because i dont understand some parameters like

\\w+ in the line

 "URLWITHQUERY,^\\
/download\\.php\\?archivo\\=\\w+\\.mp3$"

Really THANKSSSSSS

12:04 pm
October 31, 2007


Jean-Luc

Admin

posts 1125

More information about regular expressions: Regular Expression Basic Syntax Reference

And don't forget our tool to check a regex.

Jean-Luc

5:59 am
November 5, 2007


Nico

Guest

Jean,  The extrasection works great!! but now I have a question.

I have created one conf file just only to count my mp3 downloads, but now i have the total mp3 downloads but the number of this doesnt  match the numbers of visits, look:

/download.php?archivo=7ps.mp3 199 53.43 MB 16 17


/download.php?archivo=str.mp3 16 55.29 MB 9 11


/download.php?archivo=extra.mp3 16 55.97 MB 11 11


/download.php?archivo=7pes.mp3 10 55.31 MB 6 5


/download.php?archivo=7pmes.mp3 8 52.43 MB 6 5


/download.php?archivo=7pmnes.mp3 8 53.43 MB 6 5


/download.php?archivo=7pmtes.mp3 5 53.51 MB 3 3


 The sum of this is: 262 and if you look at the number of visits doesnt match:

01 Nov 2007 13 769.40 MB
02 Nov 2007 21 11.04 GB
03 Nov 2007 13 863.37 MB
04 Nov 2007 10 1.11 GB

SUM: 57

In my conf file i have configure this:

OnlyFiles="REGEX[^\\/download\\.php\\?archivo\\=\\w+\\.mp3$]"

Is that Ok?

 

Thanks 

7:50 am
November 5, 2007


Jean-Luc

Admin

posts 1125

Two things:

1. Some people may download more than one mp3  file. In this case, the visitor will be counted as one visit and several donwloads.

2. Files downloaded by web robots are counted as well in the extra section, but robots are not counted as visitors.

To get an idea of the number of downloads by robots, you can check the user agent of the visitors downloading the mp3  files. You can do that with another extra section.

Jean-Luc

8:53 am
November 5, 2007


Nico

Guest

Great, so, how can I graph my daily downloads? is there any way?

Thanks 

1:18 pm
November 5, 2007


Jean-Luc

Admin

posts 1125

Nico,

I read your previous message too quickly. I thought you were giving the results of an extra section. Now I understand the graph is the regular graph for "Pages-URL (Top 10)". This graph DOES NOT include web robots.

At this point, my conclusion is that some people repeatedly download some files. Weird.

Jean-Luc

1:40 pm
January 22, 2008


Joinup

Guest

How can i got the robots visits?in extrasection i got #   code letters (P for pages,H for hits,B for bandwidth,L for last access). so can i get V=visits? not last visits.

i need to count robots visits, iam freaking out, i have tried a lot of things :/

Can i Get your help ?

Best regards

admin : this message is off-topic. Please continue discussion about it at AWStats Forum – How can I count robots visits ?

Reply to Post

Reply to Topic:
Count mp3

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:
11 + 1
   


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 302

Currently Online:
8 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)