Logstore xAPI

Log storage ::: logstore_xapi
Maintained by David Pesce
Logstore_xapi is a logstore plugin that emits xAPI statements to a Learning Record Store (LRS). Please post all questions, comments, and issues to Github (https://github.com/xAPI-vle/moodle-logstore_xapi).
Latest release:
822 sites
469 downloads
50 fans
Current versions available: 2

What does it do?

As stated on the Github repository, the plugin “emits events from the Moodle Logstore as xAPI statements.” For those that don’t know, the Moodle Logstore is a log of activities within Moodle. When you view a course, complete a quiz, or grade a student, a log of that activity is recorded in the Logstore. The plugin uses these logs to produce xAPI statements and then sends (emits) them to an LRS (Learning Record Store).

How does it work?

The plugin is made up of three parts, an Expander, a Translator, and an Emitter. Every log entry goes through each of these parts in a six-step process before finally reaching the LRS (see below).

  1. The plugin passes the log entry from the logstore_standard_log to the Expander.
  2. The Expander expands the log entry with data from your Moodle database.
  3. The plugin passes the expanded event from step 2 to the Translator.
  4. The Translator translates the expanded event to xAPI/TinCan recipe options.
  5. The plugin passes the translated event from step 4 to the Emitter.
  6. The Emitter constructs the translated event as an xAPI/TinCan statement and emits it to the LRS.

Potential privacy issues

This system sends logging information over the internet. This would include information about the user, links to their profile, and information of courses completed. It would be recommended to have a secure connection between your website and LRS if they are not within a private network.

Screenshots

Screenshot #0

Contributors

David Pesce (Lead maintainer): Developer
jerrett fowler: Developer
Ryan Smith: Developer
Please login to view contributors details and/or to contact them

Comments RSS

Comments

  • Dan Marsden
    Fri, 17 July 2015, 3:34 AM
    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?
  • David Mudrák
    Fri, 17 July 2015, 5:50 PM

    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).

  • David Mudrák
    Fri, 17 July 2015, 6:12 PM

    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.

  • jerrett fowler
    Sat, 18 July 2015, 2:18 AM
    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?
  • jerrett fowler
    Sat, 18 July 2015, 2:19 AM
    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?
  • David Mudrák
    Wed, 22 July 2015, 4:29 PM

    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!

  • jerrett fowler
    Wed, 22 July 2015, 9:21 PM
    This is awesome! Thank you.
  • Michael Aherne
    Wed, 9 Sept 2015, 6:52 PM
    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!
  • Artem Nychyporchuk
    Thu, 1 Oct 2015, 1:25 AM
    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?
  • jerrett fowler
    Thu, 1 Oct 2015, 4:40 PM
    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.
  • lee kirkland
    Fri, 9 Oct 2015, 4:06 AM
    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.
Please login to post comments