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

Martin Braendle via Eprints-tech <[email protected]>
Newsgroups gmane.comp.web.eprints.devel
Message-ID <EMEW3|4017eabcfd57d8c5a2535b95ac4a0332v90DA614eprints-tech-bounces|ecs.soton.ac.uk|OF0DC45062.EFE2AE05-ONC1258486.0042C40D-C1258486.0042CFD4@lotus.uzh.ch>
Hi Yuri,

the IRStats2 counts do not count downloads by known webbots.

Best regards,

Martin





Von:	"Yuri via Eprints-tech" <[email protected]>
An:	"EPrints.org Technical List" <[email protected]>
Datum:	01.10.2019 13:31
Betreff:	[EP-tech] irstats2, logs and number of downloads
Gesendet von:	<[email protected]>



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: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C508a44c9dd6342b3a1f108d7466840f0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=kv5%2FjWLozzSaUFsOJpuYbo%2BLYvBOzMR5%2Fj1%2BKBrW8J8%3D&amp;reserved=0
*** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C508a44c9dd6342b3a1f108d7466840f0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=3zB7ILaPp14qyGWPm%2F9qV4COJD4K8qaor60Z7Wmi3%2BE%3D&amp;reserved=0
*** EPrints developers Forum: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fforum.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C508a44c9dd6342b3a1f108d7466840f0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=zyqykkC2ihgy2jLWk%2Fd1YwjZ3F16N40ju0Mlz3sEX3o%3D&amp;reserved=0

*** 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/
graycol.gif (image/gif, 105 B) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.