Reading the log tables

Reading the log tables

by Kieran Briggs -
Number of replies: 0

Hi all, 

I'm starting to create a dashboard for our moodle and I need to understand how the logs are written.  I've got most of the fields sorted, but i'm unsure what the Objected, context and contextinstanceid fields are and what they link to.  Does any documentation list what they mean and how I can link them to things.

For example I know what I have a log record of a .doc uploaded and it creates the following entry (some columns excluded)


example log entry
Eventname component action target objectid crud context contextinstanceid
\core\event\course_module_created core created course_module 73 c 147 73
Average of ratings: -