Druid Data Model - Telemetry Events


Data Model:


Dimension in Druid

Field in Telemetry

Description

Data Type

1etsetsEvent timestampLong
2

eid

eid

Event Id

String

3

syncts

syncts

Sync Timestamp

Long

4@timstamp@timstampSync Timestamp in StringString
5

actor_id

actor.id

Actor Id of the event

String

6

actor_type

actor.type

Type of the actor

String

7

context_channel

context.channel

Channel Id

String

8

context_pdata_id

context.pdata.id

Producer Id

String

9

context_pdata_pid

context.pdata.pid

Producer Process Id

String

10context_pdata_vercontext.pdata.verProducer version numberString
11

context_env

context.env

Context Environment

String

12

context_sid

context.sid

Session Id

String

13

context_did

context.did

Device Id

String

14

context_cdata_type

context.cdata.type

Correlation Data Type

Array[String]

15

context_cdata_id

context.cdata.id

Correlation Data Id

Array[String]

16context_rollup_l1context.rollup.l1Context level 1 rollupString
17context_rollup_l2context.rollup.l2Context level 2 rollupString
18context_rollup_l3context.rollup.l3Context level 3 rollupString
19context_rollup_l4context.rollup.l4Context level 4 rollupString
20

object_id

object.id

Content Id

String

21

object_type

object.type

Content Type

String

22

object_version

object.ver

Content Version

String

23object_rollup_l1object.rollup.l1Content level 1 rollupString
24object_rollup_l2object.rollup.l2Content level 2 rollupString
25object_rollup_l3object.rollup.l3Content level 3 rollupString
26object_rollup_l4object.rollup.l4Content level 4 rollupString
27

tags

tags

Tags

Array[String]

28

edata_type

edata.type

Event type

String

29

edata_subtype

edata.subtype

Event subtype

String

30

edata_mode

edata.mode

START event Mode of start

String

31

edata_pageid

edata.pageid

Unique pageid

String

32

edata_uri

edata.uri

IMPRESSION event Relative URI of the content

String

33

edata_id

edata.id

Event data Id

String

34

edata_duration

edata.duration

Duration of the event

Double

35

edata_index

edata.index

ASSESS event Index of the question within a content

Integer

36

edata_pass

edata.pass

ASSESS event Field to identify pass or fail for assessments

String

37

edata_score

edata.score

ASSESS event Assessment score

Double

38

edata_resvalues

edata.resvalues

ASSESS event Assessment results

Array[Object]

39

edata_item_id

edata.item.id

ASSESS event Assessment item id

String

40

edata_item_title

edata.item.title

ASSESS event Assessment item title

String

41

edata_item_maxscore

edata.item.maxscore

ASSESS event Assessment item max score

Double

42

edata_target_id

edata.target.id

ASSESS event Assessment item target id

String

43

edata_target_type

edata.target.type

ASSESS event Assessment item target type

String

44

edata_rating

edata.rating

FEEDBACK event Ratings

Integer

45

edata_comments

edata.comments

FEEDBACK event Comments

String

46

edata_dir

edata.dir

SHARE event direction

String

47

edata_items_id

edata.items.id

SHARE event shared item ids

Array[String]

48

edata_items_type

edata.items.type

SHARE item types

Array[String]

49

edata_items_origin_id

edata.items.origin.id

SHARE event source id

Array[String]

50

edata_items_origin_type

edata.items.origin.type

SHARE event source type

Array[String]

51

edata_items_to_id

edata.items.to.id

SHARE event destination id

Array[String]

52

edata_items_to_type

edata.items.to.type

SHARE event destination type

Array[String]

53edata_plugin_idedata.plugin.idINTERACT event plugin id on which the interaction has happened String
54edata_plugin_veredata.plugin.verINTERACT  event plugin versionString
55edata_plugin_categoryedata.plugin.categoryINTERACT  event plugin categoryString
56edata_propsedata.propsAUDIT event updated propertiesArray[String]
57

edata_state

edata.state

AUDIT event current state

String

58

edata_prevstate

edata.prevstate

AUDIT event previous state

String

59

edata_size

edata.size

SEARCH event result size

Integer

60

edata_filters_dialcodes

edata.filters.dialcodes

SEARCH event List of dialcodes

Array[String]

61edata_topn_identifieredata.topn.identifierSEARCH event topn resultsArray[String]
62edata_visits_objidedata.visits.objidIMPRESSION event unique id for object visitedArray[String]
63edata_visits_objtypeedata.visits.objtypeIMPRESSION event type of object visitedArray[String]
64edata_visits_objveredata.visits.objverIMPRESSION event version of object visitedArray[String]
65edata_visits_indexedata.visits.indexIMPRESSION event index of object within listArray[Integer]
66

device_loc_state

devicedata.state

State location information for the device

String

67

device_loc_state_code

devicedata.statecode

State ISO code information for the device

String

68

device_loc_iso_state_code

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

device_loc_city

devicedata.city

City location information for the device

String

70

device_loc_country_code

devicedata.countrycode

Country ISO code information for the device

String

71

device_loc_country

devicedata.country

Country location information for the device

String

72device_loc_state_custom_codedevicedata.statecustomcodeState custom code information for the deviceString
73device_loc_state_custom_namedevicedata.statecustomnameState custom name information for the deviceString
74device_loc_districtdevicedata.districtcustomDistrict custom information for the deviceString
75user_declared_statedevicedata.userdeclared.stateState declared by the userString
76user_declared_districtdevicedata.userdeclared.districtDistrict declared by the userString
77device_osdevicedata.devicespec.osDevice OS nameString
78device_makedevicedata.devicespec.makeDevice make and modelString
79device_iddevicedata.devicespec.idPhysical device id if available from OSString
80device_memdevicedata.devicespec.memTotal memory in mbInteger
81device_idiskdevicedata.devicespec.idiskTotal interanl diskInteger
82device_ediskdevicedata.devicespec.ediskTotal external diskInteger
83device_scrndevicedata.devicespec.scrnScreen size in inchesInteger
84device_cameradevicedata.devicespec.cameraPrimary & secondary camera specString
85device_cpudevicedata.devicespec.cpuProcessor nameString
86device_simsdevicedata.devicespec.simsNumber of sim cardsInteger
87device_uaspec_agentdevicedata.uaspec.agentUser agent of the browserString
88device_uaspec_verdevicedata.uaspec.verUser agent version of the browserString
89device_uaspec_systemdevicedata.uaspec.systemUser agent system identification of the browserString
90device_uaspec_platformdevicedata.uaspec.platformUser agent client platform of the browserString
91device_uaspec_rawdevicedata.uaspec.rawRaw user agent of the browserString
92device_first_accessdevicedata.firstaccessFirst access of the deviceLong (Epoch)
93content_namecontentdata.nameName of the contentString
94content_object_typecontentdata.objecttypeType of the contentString
95content_typecontentdata.contenttypeType of the resourceString
96content_media_typecontentdata.mediatypeType of the media of the resourceString
97content_languagecontentdata.languageList of languages in the contentArray[String]
98content_mediumcontentdata.mediumLanguage medium of the boardArray[String]
99content_gradelevelcontentdata.gradelevelList of grade levels in the contentArray[String]
100content_subjectscontentdata.subjectList of subjects in the contentArray[String]
101content_mimetypecontentdata.mimetypeMimetype of the resource in the contentString
102content_created_bycontentdata.createdbyContent created byString
103content_created_forcontentdata.createdforList of orgs for whom the content is createdArray[String]
104content_frameworkcontentdata.framework
String
105content_boardcontentdata.boardBoard of affiliationString
106content_statuscontentdata.statusStatus of the content - Draft, Published etc.String
107content_versioncontentdata.pkgversionVersion of the contentDouble
108content_last_submitted_oncontentdata.lastsubmittedonLast submitted date of the contentLong (Epoch)
109content_last_published_oncontentdata.lastpublishedonLast published date of the contentLong (Epoch)
110content_last_updated_oncontentdata.lastupdatedonLast updated date of the contentLong (Epoch)
111user_grade_listuserdata.gradelistList of grades taughtArray[String]
112user_language_listuserdata.languagelistList of languages knownArray[String]
113user_subject_listuserdata.subjectlistList of subjects taughtArray[String]
114user_typeuserdata.typeType of userString
115user_loc_stateuserdata.stateState info of the userString
116user_loc_districtuserdata.districtDistrict info of the userString
117user_loc_blockuserdata.blockBlock info of the userString
118user_rolesuserdata.rolesList of user rolesArray[String]
119user_signin_typeuserdata.usersignintypeUser sign-in type infoString
120user_login_typeuserdata.userlogintypeUser login type infoString
121dialcode_channeldialcodedata.channelChannel for which dialcode is generatedString
122dialcode_batchcodedialcodedata.batchcodeBatch for which dialcode belongs toString
123dialcode_publisherdialcodedata.publisherPublisher of the dialcodeString
124dialcode_generated_ondialcodedata.generatedonDialcode generated onLong (Epoch)
125dialcode_published_ondialcodedata.publishedonDialcode published onLong (Epoch)
126dialcode_statusdialcodedata.statusStatus of the dialcodeString
127dialcode_object_typedialcodedata.objecttypeObject type - DialCode as a valueString
128collection_namecollectiondata.nameName of the collection (Denormalised for object.rollup.l1 field)String
129collection_object_typecollectiondata.objecttypeType of the collectionString
130collection_typecollectiondata.contenttypeType of the resourceString
131collection_media_typecollectiondata.mediatypeType of the media of resourceString
132collection_languagecollectiondata.languageList of languages in the collectionArray[String]
133collection_mediumcollectiondata.mediumLanguage medium of the boardArray[String]
134collection_gradelevelcollectiondata.gradelevelList of grade levels in the collectionArray[String]
135collection_subjectscollectiondata.subjectsList of subjects in the collectionArray[String]
136collection_mimetypecollectiondata.mimetypeMimetype of the resource in the collectionString
137collection_created_bycollectiondata.createdbyResourse created ByString
138collection_created_forcollectiondata.createdforList of orgs for whom the resource is createdArray[String]
139collection_frameworkcollectiondata.framework
String
140collection_boardcollectiondata.boardBoard of affiliationString
141collection_statuscollectiondata.statusStatus of the collection - Draft, Published etc.String
142collection_versioncollectiondata.pkgversionVersion of the collectionDouble
143collection_last_published_oncollectiondata.lastpublishedonLast published date of the collectionLong(Epoch)
144collection_last_updated_oncollectiondata.lastupdatedonLast updated date of the collectionLong(Epoch)
145collection_last_submitted_oncollectiondata.lastsubmittedonLast submitted date of the collectionLong(Epoch)
146derived_loc_statederivedlocationdata.stateDerived location state of the userString
147derived_loc_districtderivedlocationdata.districtDerived location district of the userString
148derived_loc_fromderivedlocationdata.fromDerived location String
149user_declared_stateuserdeclared.stateUser Declared StateString
150user_declared_districtuserdeclared.districtUser Declared DistrictString