diff --git a/content/posts/2018-10.md b/content/posts/2018-10.md index 01a96b169..e60d7ec58 100644 --- a/content/posts/2018-10.md +++ b/content/posts/2018-10.md @@ -115,4 +115,20 @@ dc.contributor.author,cg.creator.id "Thornton, Phillip K.",Philip Thornton: 0000-0002-1854-0182 ``` +## 2018-10-04 + +- Salem raised an issue that the dspace-statistics-api reports downloads for some items that have no bitstreams (like many limited access items) +- Every item has at least a `LICENSE` bundle, and some have a `THUMBNAIL` bundle, but the indexing code is specifically checking for downloads from the `ORIGINAL` bundle + - [10568/97460](https://cgspace.cgiar.org/handle/10568/97460) (100550): has a thumbnail bitstream + - [10568/96112](https://cgspace.cgiar.org/handle/10568/96112) (96736): has only a LICENSE bitstream +- I see there are other bundles we might need to pay attention to: `TEXT`, `@_LOGO-COLLECTION_@`, `@_LOGO-COMMUNITY_@`, etc... +- On a hunch I dropped the statistics table and re-indexed and now those two items above have no downloads +- So it's fixed, but I'm not sure why! +- Peter wants to know the number of API requests per month, which was about 250,000 in September (exluding statlet requests): + +``` +# zcat --force /var/log/nginx/{oai,rest}.log* | grep -E 'Sep/2018' | grep -c -v 'statlets' +251226 +``` + diff --git a/docs/2018-10/index.html b/docs/2018-10/index.html index b9fe26707..17b6bc55b 100644 --- a/docs/2018-10/index.html +++ b/docs/2018-10/index.html @@ -9,7 +9,7 @@ - + @@ -24,9 +24,9 @@ "@type": "BlogPosting", "headline": "October, 2018", "url": "https://alanorth.github.io/cgspace-notes/2018-10/", - "wordCount": "528", + "wordCount": "668", "datePublished": "2018-10-01T22:31:54+03:00", - "dateModified": "2018-10-03T21:52:12+03:00", + "dateModified": "2018-10-03T22:35:11+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -216,6 +216,26 @@ Given Names Deactivated Family Name Deactivated: 0000-0001-7930-5752 "Thornton, Phillip K.",Philip Thornton: 0000-0002-1854-0182 +

2018-10-04

+ + + +
# zcat --force /var/log/nginx/{oai,rest}.log* | grep -E 'Sep/2018' | grep -c -v 'statlets'
+251226
+
+ diff --git a/docs/sitemap.xml b/docs/sitemap.xml index 05f67c2a6..dc1e4e132 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -4,7 +4,7 @@ https://alanorth.github.io/cgspace-notes/2018-10/ - 2018-10-03T21:52:12+03:00 + 2018-10-03T22:35:11+03:00 @@ -189,7 +189,7 @@ https://alanorth.github.io/cgspace-notes/ - 2018-10-03T21:52:12+03:00 + 2018-10-03T22:35:11+03:00 0 @@ -200,7 +200,7 @@ https://alanorth.github.io/cgspace-notes/tags/notes/ - 2018-10-03T21:52:12+03:00 + 2018-10-03T22:35:11+03:00 0 @@ -212,13 +212,13 @@ https://alanorth.github.io/cgspace-notes/posts/ - 2018-10-03T21:52:12+03:00 + 2018-10-03T22:35:11+03:00 0 https://alanorth.github.io/cgspace-notes/tags/ - 2018-10-03T21:52:12+03:00 + 2018-10-03T22:35:11+03:00 0