Graylog content pack for ingesting Moodle logs and using it with lookup tables & pipelines for statistical usage
-
First put this great plugin in your moodle: https://moodle.org/plugins/logstore_graylog
-
Find a webserver with php and drop the lookup-scripts folder in it
-
Configure in the conf folder the parameters for LDAP & Moodle BDD
-
Access the moodle-user.php with the URL
-
Validate that data folder is populated with 3 JSON files: ldapuserdata.json, moodleuserdata.json & globaluserdata.json
-
Create the lookup tables and pipelines in Graylog
-
Enjoy !
NOTE:
- The moodle-user.php lookup an user based on its moodle user ID
- The ldap-user.php lookup an user based on its ldap user ID