Logstore Standard Log Table Schema (logstore_standard_log)


Standard log table

logstore_standard_log table columns

Column Type Size Nulls Auto Default Children Parents Comments
id bigint 10 null
eventname varchar 255
component varchar 100
action varchar 100
target varchar 100
objecttable varchar 50 null
objectid bigint 10 null
crud varchar 1
edulevel BIT 1 null
contextid bigint 10 null
context.id logsstanlog_con2_fk R
contextlevel bigint 10 null
contextinstanceid bigint 10 null
context.id Implied Constraint R
userid bigint 10 null
user.id Implied Constraint R
courseid bigint 10 null
course.id Implied Constraint R
relateduserid bigint 10 null
anonymous BIT 1 0

Was this event anonymous at the time of triggering?

other longtext 2147483647 null
timecreated bigint 10 null
origin varchar 10 null

cli, cron, ws, etc.

ip varchar 45 null

IP address

realuserid bigint 10 null

real user id when logged-in-as

Table contained -1 rows

logstore_standard_log table indexes

Constraint Name Type Sort Column(s)
PRIMARY Primary key Asc id
logsstanlog_con_ix Performance Asc contextid
logsstanlog_couanotim_ix Performance Asc/Asc/Asc courseid + anonymous + timecreated
logsstanlog_tim_ix Performance Asc timecreated
logsstanlog_useconconcruedu_ix Performance Asc/Asc/Asc/Asc/Asc/Asc userid + contextlevel + contextinstanceid + crud + edulevel + timecreated

logstore_standard_log table relationships