Druid Data Model - Summary Events


Data Model:



Dimension in Druid

Field in Summary event

Description

Data Type

1etsetsEvent timestampLong
2

eid

eid

Event Id

String

3

ver

ver

Version

String

4

syncts

syncts

Sync timestamp

Long

5

uid

uid

User Id

String

6

context_date_range_from

context.date_range.from

Start Date for the summary

Long (Epoch)

7

context_date_range_to

context.date_range.to

End Date for the summary

Long (Epoch)

8

context_rollup_l1

context.rollup.l1

Context level1 rollup

String

9

context_rollup_l2

context.rollup.l2

Context level2 rollup

String

10

context_rollup_l3

context.rollup.l3

Context level3 rollup

String

11

context_rollup_l4

context.rollup.l4

Context level4 rollup

String

12

dimension_channel

dimensions.channel

Channel Id as dimension from raw telemetry

String

13

dimensions_did

dimensions.did

Device Id as dimension from raw telemetry

String

14

dimensions_pdata_id

dimensions.pdata.id

Producer Id as dimension from raw telemetry

String

15

dimensions_pdata_pid

dimensions.pdata.pid

Producer Process Id as dimension from raw telemetry

String

16dimensions_pdata_verdimensions.pdata.verProducer Process Ver as dimension from raw telemetryString
17

dimensions_sid

dimensions.sid

Session Id as dimension

String

18

dimensions_type

dimensions.type

Type of summary

String

19

dimensions_mode

dimensions.mode

Mode of action in the session

String

20

object_id

object.id

Content Id

String

21

object_type

object.type

Content Type

String

22

object_version

object.ver

Content version

String

23

object_rollup_l1

object.rollup.l1

Object level1 rollup

String

24

object_rollup_l2

object.rollup.l2

Object level2 rollup

String

25

object_rollup_l3

object.rollup.l3

Object level3 rollup

String

26

object_rollup_l4

object.rollup.l4

Object level4 rollup

String

27

tags

tags

Tags attached to a summary event

Array[String]

28

edata_time_spent

edata.eks.time_spent

Time spent in the session excluding idle time

Double

29

edata_time_difference

edata.eks.time_diff

Total time in a session including idle time

Double

30

edata_interaction_count

edata.eks.interact_events_count

Total count of interact events in a session

Long

31

edata_env_summary_env

edata.eks.env_summary.env

High level env within the app

(content, domain, resources, community)

Array[String]

32

edata_env_summary_count

edata.eks.env_summary.count

Count of times the environment has been visited

Array[Integer]

33

edata_env_summary_time_spent

edata.eks.env_summary.time_spent

Time spent per env

Array[Double]

34

edata_page_summary_id

edata.eks.page_summary.id

Page id

Array[String]

35

edata_page_summary_type

edata.eks.page_summary.type

Type of page e.g. view/edit

Array[String]

36edata_page_summary_envedata.eks.page_summary.envEnv of pageArray[String]
37

edata_page_summary_visit_count

edata.eks.page_summary.visit_count

Number of times each page was visited

Array[Integer]

38

edata_page_summary_time_spent

edata.eks.page_summary.time_spent

Time taken per page

Array[Double]

39

edata_item_responses_item_id

edata.eks.item_responses.itemId

Question Id passed in the ASSESS event

Array[String]

40

edata_item_responses_time_spent

edata.eks.item_responses.timeSpent

Time spent in seconds from ASSESS event

Array[Double]

41

edata_item_responses_pass

edata.eks.item_responses.pass

Pass response for a question from ASSESS event

Array[String]

42

edata_item_responses_score

edata.eks.item_responses.score

Score from ASSESS event

Array[Integer]

43

edata_item_responses_max_score

edata.eks.item_responses.maxScore

Max Score from ASSESS event

Array[Integer]

44

edata_item_responses_timestamp

edata.eks.item_responses.time_stamp

Timestamp for each response from ASSESS event

Array[Long (Epoch)]

45

device_loc_state

devicedata.state

State location information for the device

String

46

device_loc_state_code

devicedata.statecode

State ISO code information for the device

String

47

device_loc_iso_state_code

devicedata.iso3166statecodeState ISO-3166 code information for the deviceString
48

device_loc_city

devicedata.city

City location information for the device

String

49

device_loc_country_code

devicedata.countrycode

Country ISO code information for the device

String

50

device_loc_country

devicedata.country

Country location information for the device

String

51device_loc_state_custom_codedevicedata.statecustomcodeState custom code information for the deviceString
52device_loc_state_custom_namedevicedata.statecustomnameState custom name information for the deviceString
53device_loc_districtdevicedata.districtcustomDistrict custom information for the deviceString
54device_osdevicedata.devicespec.osDevice OS nameString
55device_makedevicedata.devicespec.makeDevice make and modelString
56device_iddevicedata.devicespec.idPhysical device id if available from OSString
57device_memdevicedata.devicespec.memTotal memory in mbInteger
58device_idiskdevicedata.devicespec.idiskTotal interanl diskInteger
59device_ediskdevicedata.devicespec.ediskTotal external diskInteger
60device_scrndevicedata.devicespec.scrnScreen size in inchesInteger
61device_cameradevicedata.devicespec.cameraPrimary & secondary camera specString
62device_cpudevicedata.devicespec.cpuProcessor nameString
63device_simsdevicedata.devicespec.simsNumber of sim cardsInteger
64device_uaspec_agentdevicedata.uaspec.agentUser agent of the browserString
65device_uaspec_verdevicedata.uaspec.verUser agent version of the browserString
66device_uaspec_systemdevicedata.uaspec.systemUser agent system identification of the browserString
67device_uaspec_platformdevicedata.uaspec.platformUser agent client platform of the browserString
68device_uaspec_rawdevicedata.uaspec.rawRaw user agent of the browserString
69device_first_accessdevicedata.firstaccessFirst access of the deviceLong (Epoch)
70content_namecontentdata.nameName of the contentString
71content_object_typecontentdata.objecttypeType of the contentString
72content_typecontentdata.contenttypeType of the resourceString
73content_media_typecontentdata.mediatypeType of the media of the resourceString
74content_languagecontentdata.languageList of languages in the contentArray[String]
75content_mediumcontentdata.mediumLanguage medium of the boardArray[String]
76content_gradelevelcontentdata.gradelevelList of grade levels in the contentArray[String]
77content_subjectscontentdata.subjectList of subjects in the contentArray[String]
78content_mimetypecontentdata.mimetypeMimetype of the resource in the contentString
79content_created_bycontentdata.createdbyContent created byString
80content_created_forcontentdata.createdforList of orgs for whom the content is createdArray[String]
81content_frameworkcontentdata.framework
String
82content_boardcontentdata.boardBoard of affiliationString
83content_statuscontentdata.statusStatus of the content - Draft, Published etc.String
84content_versioncontentdata.pkgversionVersion of the contentDouble
85content_last_submitted_oncontentdata.lastsubmittedonLast submitted date of the contentLong (Epoch)
86content_last_published_oncontentdata.lastpublishedonLast submitted date of the contentLong (Epoch)
87content_last_updated_oncontentdata.lastupdatedonLast updated date of the contentLong (Epoch)
88user_grade_listuserdata.gradelistList of grades taughtArray[String]
89user_language_listuserdata.languagelistList of languages knownArray[String]
90user_subject_listuserdata.subjectlistList of subjects taughtArray[String]
91user_typeuserdata.typeType of userString
92user_loc_stateuserdata.stateState info of the userString
93user_loc_districtuserdata.districtDistrict info of the userString
94user_loc_blockuserdata.blockBlock info of the userString
95user_rolesuserdata.rolesList of user rolesArray[String]
96user_signin_typeuserdata.usersignintypeUser sign-in type infoString
97user_login_typeuserdata.userlogintypeUser login type infoString
98collection_namecollectiondata.nameName of the collection (Denormalised for object.rollup.l1 field)String
99collection_object_typecollectiondata.objecttypeType of the collectionString
100collection_typecollectiondata.contenttypeType of the resourceString
101collection_media_typecollectiondata.mediatypeType of the media of resourceString
102collection_languagecollectiondata.languageList of languages in the collectionArray[String]
103collection_mediumcollectiondata.mediumLanguage medium of the boardArray[String]
104collection_gradelevelcollectiondata.gradelevelList of grade levels in the collectionArray[String]
105collection_subjectscollectiondata.subjectsList of subjects in the collectionArray[String]
106collection_mimetypecollectiondata.mimetypeMimetype of the resource in the collectionString
107collection_created_bycollectiondata.createdbyResourse created ByString
108collection_created_forcollectiondata.createdforList of orgs for whom the resource is createdArray[String]
109collection_frameworkcollectiondata.framework
String
110collection_boardcollectiondata.boardBoard of affiliationString
111collection_statuscollectiondata.statusStatus of the collection - Draft, Published etc.String
112collection_versioncollectiondata.pkgversionVersion of the collectionDouble
113collection_last_published_oncollectiondata.lastpublishedonLast published date of the collectionLong(Epoch)
114collection_last_updated_oncollectiondata.lastupdatedonLast updated date of the collectionLong(Epoch)
115collection_last_submitted_oncollectiondata.lastsubmittedonLast submitted date of the collectionLong(Epoch)