EPrints Technical Mailing List Archive

Message: #07983


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Antwort: irstats2, logs and number of downloads


Hi Yuri,

the IRStats2 counts do not count downloads by known webbots.

Best regards,

Martin



Inactive hide details for "Yuri via Eprints-tech" ---01.10.2019 13:31:57---Hi!   from logs, I can count the number of dowloads "Yuri via Eprints-tech" ---01.10.2019 13:31:57---Hi!   from logs, I can count the number of dowloads in this way:

Von: "Yuri via Eprints-tech" <eprints-tech@ecs.soton.ac.uk>
An: "EPrints.org Technical List" <eprints-tech@ecs.soton.ac.uk>
Datum: 01.10.2019 13:31
Betreff: [EP-tech] irstats2, logs and number of downloads
Gesendet von: <eprints-tech-bounces@ecs.soton.ac.uk>





Hi!

 from logs, I can count the number of dowloads in this way:

for every useful log cat it | grep pdf | grep "GET /" | grep -v 206 |
grep -v 404 | grep -v 304 | grep -v png | grep -v favicon.ico  | wc (ad
sum all it up)

In this way, I get 800k downloads from january to now. With Irstats2
(all from january to now, DownloadCountHTML) I get 450k. Can someone
explain this difference? I know the grep is not perfect but seems it
catch all the downloads correctly (GET /path to/apdf.pdf)


*** Options:
http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive:
http://www.eprints.org/tech.php/
*** EPrints community wiki:
http://wiki.eprints.org/
*** EPrints developers Forum:
http://forum.eprints.org/