canvas_logs
Tables and types in canvas_logs namespace.
Last updated
Was this helpful?
Tables and types in canvas_logs namespace.
Last updated
Was this helpful?
Stores the Canvas web application server access/request logs.
Logs include all interactions made with your instance of Canvas, therefore some interactions are done by users that are not present in the users table (originated from another institution). Note: Logs older than the retention limit of 30 days are no longer available via DAP API.
Parameters:
id (UUID) – primary key
The unique identifier for a logged web request.
timestamp (datetime) – Timestamp when the request was made in UTC.
user_id ( | None) – The unique ID of the user that made the request.
real_user_id ( | None) – If the request was processed by one user masquerading as another, then this column contains the real user ID of the user.
course_id ( | None) – Course that owned the request.
quiz_id ( | None) – Identifies the quiz if the request is for a quiz.
discussion_id ( | None) – Identifies the discussion if the request is for a discussion.
conversation_id ( | None) – Identifies the conversation if the request is for a conversation.
assignment_id ( | None) – Identifies the assignment if the request is for an assignment.
url (str) – The path and the query string components of the requested URL.
http_method () – HTTP method/verb (GET, POST, PUT, etc.) that was sent with the request.
http_status () – HTTP status code of the request (e.g. 200 OK).
http_version () – HTTP protocol version (e.g. HTTP/2.0).
remote_ip (IPv4Address | IPv6Address) – IP (IPv4 or IPv6) address that was recorded for the request.
interaction_micros (int32) – Total time required to service the request in microseconds.
web_application_controller ( | str | None) – The controller that the Canvas web application used to service this request.
web_application_action ( | str | None) – The action in the Canvas web application used to service this request.
web_application_context_type ( | None) – Containing object type that the Canvas web application used to service this request.
web_application_context_id (int64 | None) – Containing object ID that the Canvas web application used to service this request.
session_id (UUID | None) – ID of the user’s session where this request was made.
developer_key_id ( | None) – ID of the developer who accessed this resource if the request was made by a developer.
participated (bool) – Shows whether the HTTP request is considered a participation for the user.
user_agent (Literal [ '_dap_oversized_truncated_' ] | Annotated *[*str , MaxLength *(*255 ) ] | None) – The user agent string sent by the HTTP client.
Bases: Enum
HTTP protocol version.
Bases: Enum
Web application context types.
Bases: Enum
Web application actions.
Bases: Enum
Web application controllers.
Bases: Enum
HTTP methods used in the Canvas API.
Bases: Enum