| User | Post |
|
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 220 |
|
|
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 220 |
|
|
Thanks, but you make me .
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
| | | |
|
| |
|
|
|
7:50 am November 5, 2007
| Jean-Luc
Admin
| | | |
|
| posts 220 |
|
|
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 220 |
|
|
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 ?
|
|