-
Notifications
You must be signed in to change notification settings - Fork 0
Log data
Samuli edited this page Apr 1, 2016
·
2 revisions
The event dump outputs a CSV with the following columns:
- Timestamp
- Event type
- User
- Event target
- Event extra entity
- State
The event types and their arguments are documented in the top of log_event.rb.
Note: Events with state can mean the opposite! For example share_video
with state 0 means that a video was unshared.
Example output:
2016-02-16 14:52:13 UTC,publish_video,42,167,,1
2016-02-16 14:55:49 UTC,create_group,42,41,,
2016-02-16 14:59:51 UTC,share_video,42,166,41,1
Outputs names of entities used in the log dump in JSON format.
Example output:
{
"videos": { "123": "Some video", "151": "Other video" },
"users": { "15": "Urist McTest" },
"groups": { "3": "Sample group" },
}
The log data can be visualized with eventgraph.