Logstore xAPI

Maintained by David Pesce
Logstore xAPI captures Moodle activity and sends it to a Learning Record Store (LRS) as xAPI (Tin Can) statements. Once configured, events like course views, quiz attempts, assignment submissions, and forum posts are automatically recorded in your LRS — no changes to your courses required.
Price option: Free

Supports Moodle 4.1-5.2 See all versions
Latest release: 2 days ago
Installations: 904
Downloads (last 90 days): 413

Frankenstyle name: logstore_xapi
Log storage

Comments

Comments are no longer open for new posts. Existing comments remain available to read.

Thanks bud! I'll look into doing a pull request. We are also demoing this with watershed, so I'll try and upload anything useful I notice between that LRS and Moodle. I'm also having to program a block, so kinda jammed up right now. But thanks for getting back with me!
You can basically see what is being sent over via the standard logstore database table. It only associates a userid with the event data. You may grab additional user data by running a query and pulling all data pertaining to that user id. This is already been done for the most part for you. If you look in the github repo, you will find some instructions on contributing to this project. There's 3 libraries you'll need to modify to get the info you're looking for. We've pulled a lot of user data back as a "context" of the event, so if you wanna associate an email with mbox, you should look into doing a pull request. Please take a look at the repos and contribute by doing a pull request.
https://github.com/jlowe64/moodle-logstore_xapi
https://github.com/LearningLocker/Moodle-Log-Expander
https://github.com/LearningLocker/Moodle-xAPI-Translator
https://github.com/LearningLocker/xAPI-Recipe-Emitter
Never mind I used file_put_contents('php://stderr', print_r($opts, TRUE)); and it dumped the entire thing to the error log for apache. It would be nice to know what sets it though, still hazy on that, is there a place to look that up?
I have a question that may be a little dumb so I apologize. but where is the array for $opts coming from in events.php of the xapi-translator? I'm trying to add additional details in accounts, like a user's email for the mbox or something along those lines so I can make the records a bit more usable for what we want here.
Hello Artem, could you please log any issues at: https://github.com/jlowe64/moodle-logstore_xapi
Also, you will need to provide more information about your setup. Such as, what LRS are you using, what did you put into the fields for setup? Just anything that'll help.
Hi. I've installed this plugin, entered endpoint, username and password of demo learninglocker. Then I enabled plugin, logged on website and tried to do some events in moodle(log in, log out, etc.), but there was nothing on the Statement page. What can i do to fix this?
Really cool plugin, guys! Do you know of anyone who is using it in production? I must admit I'd be a little worried about installing it on a production service since it's making blocking HTTP requests on key pages like course view and login, so the performance and stability of the Moodle service would be tied to that of the LRS. Would be really interested to hear how people are dealing with that!
This is awesome! Thank you.

Thanks guys. I am glad to see we finally sorted the things out in your tracker. I've been able to test the basic functionality of the log store and reported some tiny issues spotted while scanning the code. I believe this is good to go now. You are cleared to land. welcome to the Plugins directory!

As far as xapi images, about the only thing you can show is the end result of it in the repo.. otherwise there's only a settings page, what should I do in that case?
There's a file in the repo, if you download the raw xapi.zip file in the root, it will allow you to drag and drop, otherwise the repo is meant to be used by developers, so it has the developer instructions in it. This is not intended for the end user. Is there any way to link to a raw file to download, but still link back to the repo for advanced users?

Additionally to what Dan reported above, I put some issues spotted during the functionality testing into your tracker. Can we please have them sorted out before we proceed to the coding review stage of the approval process? Thanks in advance. For now, I am marking this as needing more work.

Thanks Dan for the first look at this plugin. I agree it definitely sounds promising and I am looking forward to see this approved and published here.

It seems to me that some of the contents of the http://learninglocker.net/2015/07/15/say-hello-to-our-little-plugin/ blog post could be put here as the description of the plugin, if possible (in terms of copyright etc).

I am also pretty sure that you can come with couple of screenshots that illustrate the logstore's functionality (again, similar to the screenshot in the blog post).

Hi Jerrett,
thanks for sharing it here, it's really great to see this plugin being worked on!
It looks like your git repo (and the uploaded zip) contain a few files that probably don't need to be in the git repo - particularly an "xapi.zip" file which includes the .git folder inside it and some editor specific files.
I'd also be keen for you to expand your description a bit - particularly to include the key terms that might be used to find this plugin - Tin Can, Learning locker, Experience API etc.
Usually we like to have a screenshot added to the plugin as well but I'm not sure what you would use in this instance? - perhaps a general xAPI image?