[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[EP-tech] Add User Data in IRStats2
- Subject: [EP-tech] Add User Data in IRStats2
- From: drn at ecs.soton.ac.uk (David R Newman)
- Date: Thu, 20 Jan 2022 09:38:17 +0000
- In-reply-to: <EMEW3|0abc396a44c0feea58963372d5227695y0J91714eprints-tech-bounces|ecs.soton.ac.uk|CAANJ=pjhv5QN8mPmSt2x7CE4cWc=epwOxgTtDZheDA6EKXkV1g@mail.gmail.com>
- References: <CAANJ=pjhv5QN8mPmSt2x7CE4cWc=epwOxgTtDZheDA6EKXkV1g@mail.gmail.com> <CAANJ=pjhv5QN8mPmSt2x7CE4cWc=epwOxgTtDZheDA6EKXkV1g@mail.gmail.com> <EMEW3|0abc396a44c0feea58963372d5227695y0J91714eprints-tech-bounces|ecs.soton.ac.uk|CAANJ=pjhv5QN8mPmSt2x7CE4cWc=epwOxgTtDZheDA6EKXkV1g@mail.gmail.com> <a53b8950-3a61-cb76-a852-85baf5e27284@ecs.soton.ac.uk>
Hi Izwan,
I am not sure if you need instructions of how to install IRStats 2 or
just advice with configuration.? If you do need the former, you can
install IRStats2 from the EPrints Bazaar.? This can be accessed through
your repository by going to the Admin menu and going to the System Tools
tab and clicking on the EPrints Bazaar button.? Once there under the
Available tab scroll down to find the IRStats2 plugin or type IRStats2
into the search box at the top and then click the Install button next to it.
Once installed, you are best working from your server's command line.?
First to install some dependencies you may need before the IRStats2 can
start being used:
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FIRStats2%23Dependencies&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C3ad4f88c264e4572271108d9dbf898af%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637782683018521867%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=ojyNmpzIXFJ%2BMbNAavfLF6nVDMpq5okUghiZiBAwc9U%3D&reserved=0
Then to start the initial processing and setting a cron job so
statistics are updated each night:
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FIRStats2%23Processing&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C3ad4f88c264e4572271108d9dbf898af%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637782683018521867%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=pkViASCH6cYaCNCtinHqolHrs6h1ABskbkYW4xtKgoI%3D&reserved=0
What you want to do is something slightly bespoke and group statistics
based on the specific logged in users who is downloading items.? The
data that generates IRStats2 statistics does not include that, as
typically most repositories care about downloads from users whether they
are logged in or not and the vast majority will not be.? Other
information about the user who has downloaded an item is recorded (IP
address, user agent string, referrer, etc.) but not anything that would
reliably tell you who the logged in user was.
If you need this requirement, it may be worth requesting this on the
IRStats2 GitHub issues page:
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprints%2Firstats2%2Fissues&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C3ad4f88c264e4572271108d9dbf898af%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637782683018521867%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=dSIqGRCsgEhiBkRnhaDh91Wo%2FBB8zJUAEBKLYzuqxFU%3D&reserved=0
Regards
David Newman
On 20/01/2022 08:58, MOHD.IZWAN SALIM via Eprints-tech wrote:
> *CAUTION:* This e-mail originated outside the University of Southampton.
> Dear all
>
> I've just created an internal repo that required users to login 1st as
> this site - https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FLogin-Only_Repository&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C3ad4f88c264e4572271108d9dbf898af%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637782683018521867%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=28QFLY7UhGNJnFweDE50cc5UXaHBffprVOwF5wqczro%3D&reserved=0
> <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FLogin-Only_Repository&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C3ad4f88c264e4572271108d9dbf898af%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637782683018521867%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=28QFLY7UhGNJnFweDE50cc5UXaHBffprVOwF5wqczro%3D&reserved=0>
>
> I'm thinking to generate download data *by the user login.*
>
> As I read here https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Feprints.github.io%2Firstats2%2Fconfig.html&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C3ad4f88c264e4572271108d9dbf898af%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637782683018521867%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=b49Jcw9LEruyLYurOhg86SkwCnjKDO6ufaYZzqW%2FoVU%3D&reserved=0
> <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Feprints.github.io%2Firstats2%2Fconfig.html&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C3ad4f88c264e4572271108d9dbf898af%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637782683018521867%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=b49Jcw9LEruyLYurOhg86SkwCnjKDO6ufaYZzqW%2FoVU%3D&reserved=0>,
> it required Stats::Processor module that associates with those data.
>
> Can someone guide / share the required code.
>
> *Izwan*
> Librarian
> UiTM Digital Library
>
> *PENAFIAN: *E-mel ini dan apa-apa fail yang dihantar bersama-samanya
> ("Mesej") adalah dihasratkan hanya untuk kegunaan penerima yang
> dinyatakan di atas dan mungkin mengandungi maklumat yang tidak umum,
> bermilik, istimewa, sulit dan dikecualikan dari penzahiran di bawah
> undang-undang yang terpakai termasuklah Akta Rahsia Rasmi 1972. BACA
> SELANJUTNYA...
> <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.uitm.edu.my%2Findex.php%2Fcomponent%2Fcontent%2Farticle%3Fid%3D2%26Itemid%3D103&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C3ad4f88c264e4572271108d9dbf898af%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637782683018521867%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3Vkokm3RoP0VVHyp%2BxIp6clpdcvBUp%2FKsPvp6xZv6IA%3D&reserved=0>
>
> ------------------------------------------------------------------------
> *DISCLAIMER :*/This e-mail and any files transmitted with it
> ("Message") is intended only for the use of the recipient(s) named
> above and may contain information that is non-public, proprietary,?
> privileged,? confidential? and? exempt? from disclosure under
> applicable law including the Official Secrets Act 1972. /READ MORE...
> <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.uitm.edu.my%2Findex.php%2Fcomponent%2Fcontent%2Farticle%3Fid%3D2%26Itemid%3D103&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C3ad4f88c264e4572271108d9dbf898af%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637782683018521867%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3Vkokm3RoP0VVHyp%2BxIp6clpdcvBUp%2FKsPvp6xZv6IA%3D&reserved=0>
>
> *** 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&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C3ad4f88c264e4572271108d9dbf898af%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637782683018521867%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=hjCdpQvObq5isI3Nrnc6wLxaN9IbwCpE7lvjs1Vzq7s%3D&reserved=0
> *** EPrints community wiki:https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C3ad4f88c264e4572271108d9dbf898af%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637782683018521867%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=23%2BSPqh8HJ9035a%2BygZQzqOd8LfIi7daZOMmp6XYC%2BA%3D&reserved=0
--
This email has been checked for viruses by AVG.
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.avg.com%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C3ad4f88c264e4572271108d9dbf898af%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637782683018521867%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=e%2BSYPzJgKWV1hWxLr9tWyuobb9JzYtabMiOq7xVsvgY%3D&reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20220120/bed6938c/attachment-0001.html