diff --git a/collection/opendb-stat-active-users/collection.json b/collection/opendb-stat-active-users/collection.json index 61c8464..e5a418e 100644 --- a/collection/opendb-stat-active-users/collection.json +++ b/collection/opendb-stat-active-users/collection.json @@ -1 +1 @@ -{"schema":{"bsonType":"object","required":[],"permission":{"read":false,"create":false,"update":false,"delete":false},"properties":{"_id":{"description":"ID,系统自动生成"},"appid":{"bsonType":"string","description":"应用ID"},"platform_id":{"bsonType":"string","description":"应用平台ID,对应opendb-stat-app-platforms._id","foreignKey":"opendb-stat-app-platforms._id"},"channel_id":{"bsonType":"string","description":"渠道/场景值ID,对应opendb-stat-app-channels._id","foreignKey":"opendb-stat-app-channels._id"},"version_id":{"bsonType":"string","description":"应用版本ID,对应opendb-stat-app-versions._id","foreignKey":"opendb-stat-app-versions._id"},"uuid":{"bsonType":"string","description":"客户端上报的用户标志"},"is_new":{"bsonType":"int","description":"是否为新用户","defaultValue":0,"enum":[{"text":"否","value":0},{"text":"是","value":1}]},"dimension":{"bsonType":"string","description":"时间范围 week:周,month:月","enum":[{"text":"月","value":"month"},{"text":"周","value":"week"}]},"create_time":{"bsonType":"timestamp","description":"创建时间"}}},"index":[{"IndexName":"index_search_time","MgoKeySchema":{"MgoIndexKeys":[{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_normal","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version_id","Direction":"1"},{"Name":"platform_id","Direction":"1"},{"Name":"channel_id","Direction":"1"},{"Name":"dimension","Direction":"1"},{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_user","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version_id","Direction":"1"},{"Name":"platform_id","Direction":"1"},{"Name":"channel_id","Direction":"1"},{"Name":"uuid","Direction":"1"},{"Name":"dimension","Direction":"1"},{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_new","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version_id","Direction":"1"},{"Name":"platform_id","Direction":"1"},{"Name":"channel_id","Direction":"1"},{"Name":"is_new","Direction":"1"},{"Name":"dimension","Direction":"1"},{"Name":"create_time","Direction":"1"},{"Name":"uuid","Direction":"1"}],"MgoIsUnique":false}}]} \ No newline at end of file +{"schema":{"bsonType":"object","required":[],"permission":{"read":false,"create":false,"update":false,"delete":false},"properties":{"_id":{"description":"ID,系统自动生成"},"appid":{"bsonType":"string","description":"应用ID"},"platform_id":{"bsonType":"string","description":"应用平台ID,对应opendb-app-platforms._id","foreignKey":"opendb-app-platforms._id"},"channel_id":{"bsonType":"string","description":"渠道/场景值ID,对应opendb-app-channels._id","foreignKey":"opendb-app-channels._id"},"version_id":{"bsonType":"string","description":"应用版本ID,对应opendb-stat-app-versions._id","foreignKey":"opendb-stat-app-versions._id"},"uuid":{"bsonType":"string","description":"客户端上报的用户标志"},"is_new":{"bsonType":"int","description":"是否为新用户","defaultValue":0,"enum":[{"text":"否","value":0},{"text":"是","value":1}]},"dimension":{"bsonType":"string","description":"时间范围 week:周,month:月","enum":[{"text":"月","value":"month"},{"text":"周","value":"week"}]},"create_time":{"bsonType":"timestamp","description":"创建时间"}}},"index":[{"IndexName":"index_search_time","MgoKeySchema":{"MgoIndexKeys":[{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_normal","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version_id","Direction":"1"},{"Name":"platform_id","Direction":"1"},{"Name":"channel_id","Direction":"1"},{"Name":"dimension","Direction":"1"},{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_user","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version_id","Direction":"1"},{"Name":"platform_id","Direction":"1"},{"Name":"channel_id","Direction":"1"},{"Name":"uuid","Direction":"1"},{"Name":"dimension","Direction":"1"},{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_new","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version_id","Direction":"1"},{"Name":"platform_id","Direction":"1"},{"Name":"channel_id","Direction":"1"},{"Name":"is_new","Direction":"1"},{"Name":"dimension","Direction":"1"},{"Name":"create_time","Direction":"1"},{"Name":"uuid","Direction":"1"}],"MgoIsUnique":false}}]} \ No newline at end of file diff --git a/collection/opendb-stat-error-result/collection.json b/collection/opendb-stat-error-result/collection.json index 52a3e95..57500c6 100644 --- a/collection/opendb-stat-error-result/collection.json +++ b/collection/opendb-stat-error-result/collection.json @@ -1 +1 @@ -{"schema":{"bsonType":"object","required":[],"permission":{"read":false,"create":false,"update":false,"delete":false},"properties":{"_id":{"description":"ID,系统自动生成"},"appid":{"bsonType":"string","description":"应用ID"},"platform_id":{"bsonType":"string","description":"应用平台ID,对应opendb-stat-app-platforms._id","foreignKey":"opendb-stat-app-platforms._id"},"channel_id":{"bsonType":"string","description":"渠道/场景值ID,对应opendb-stat-app-channels._id","foreignKey":"opendb-stat-app-channels._id"},"version_id":{"bsonType":"string","description":"应用版本ID,对应opendb-stat-app-versions._id","foreignKey":"opendb-stat-app-versions._id"},"hash":{"bsonType":"string","description":"错误hash码"},"count":{"bsonType":"int","description":"报错次数"},"last_time":{"bsonType":"timestamp","description":"最近一次报错事件"},"dimension":{"bsonType":"string","description":"统计范围 day:按天统计,hour:按小时统计","enum":[{"text":"月","value":"month"},{"text":"周","value":"week"},{"text":"天","value":"day"},{"text":"小时","value":"hour"}]},"stat_date":{"bsonType":"int","description":"统计日期,格式yyyymmdd,例:20211201"},"start_time":{"bsonType":"timestamp","description":"开始时间"},"end_time":{"bsonType":"timestamp","description":"结束时间"}}},"index":[{"IndexName":"index_search_time","MgoKeySchema":{"MgoIndexKeys":[{"Name":"start_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_normal","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version_id","Direction":"1"},{"Name":"platform_id","Direction":"1"},{"Name":"channel_id","Direction":"1"},{"Name":"dimension","Direction":"1"},{"Name":"start_time","Direction":"1"}],"MgoIsUnique":false}}]} \ No newline at end of file +{"schema":{"bsonType":"object","required":[],"permission":{"read":false,"create":false,"update":false,"delete":false},"properties":{"_id":{"description":"ID,系统自动生成"},"appid":{"bsonType":"string","description":"应用ID"},"platform_id":{"bsonType":"string","description":"应用平台ID,对应opendb-app-platforms._id","foreignKey":"opendb-app-platforms._id"},"channel_id":{"bsonType":"string","description":"渠道/场景值ID,对应opendb-app-channels._id","foreignKey":"opendb-app-channels._id"},"version_id":{"bsonType":"string","description":"应用版本ID,对应opendb-stat-app-versions._id","foreignKey":"opendb-stat-app-versions._id"},"hash":{"bsonType":"string","description":"错误hash码"},"count":{"bsonType":"int","description":"报错次数"},"last_time":{"bsonType":"timestamp","description":"最近一次报错事件"},"dimension":{"bsonType":"string","description":"统计范围 day:按天统计,hour:按小时统计","enum":[{"text":"月","value":"month"},{"text":"周","value":"week"},{"text":"天","value":"day"},{"text":"小时","value":"hour"}]},"stat_date":{"bsonType":"int","description":"统计日期,格式yyyymmdd,例:20211201"},"start_time":{"bsonType":"timestamp","description":"开始时间"},"end_time":{"bsonType":"timestamp","description":"结束时间"}}},"index":[{"IndexName":"index_search_time","MgoKeySchema":{"MgoIndexKeys":[{"Name":"start_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_normal","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version_id","Direction":"1"},{"Name":"platform_id","Direction":"1"},{"Name":"channel_id","Direction":"1"},{"Name":"dimension","Direction":"1"},{"Name":"start_time","Direction":"1"}],"MgoIsUnique":false}}]} \ No newline at end of file diff --git a/collection/opendb-stat-event-logs/collection.json b/collection/opendb-stat-event-logs/collection.json index 50132e3..18b1ddb 100644 --- a/collection/opendb-stat-event-logs/collection.json +++ b/collection/opendb-stat-event-logs/collection.json @@ -1 +1 @@ -{"schema":{"bsonType":"object","required":[],"permission":{"read":false,"create":false,"update":false,"delete":false},"properties":{"_id":{"description":"ID,系统自动生成"},"appid":{"bsonType":"string","description":"客户端上报的应用ID"},"version":{"bsonType":"string","description":"客户端上报的应用版本号"},"platform":{"bsonType":"string","description":"客户端上报的平台code"},"channel":{"bsonType":"string","description":"客户端上报的渠道code/场景值"},"uuid":{"bsonType":"string","description":"客户端上报的用户标志"},"session_id":{"bsonType":"string","description":"访问会话日志ID,对应opendb-stat-app-session-logs._id","foreignKey":"opendb-stat-app-session-logs._id"},"page_id":{"bsonType":"string","description":"页面ID,对应opendb-stat-app-pages._id","foreignKey":"opendb-stat-app-pages._id"},"event_key":{"bsonType":"string","description":"客户端上报的key"},"param":{"bsonType":"string","description":"事件参数"},"create_time":{"bsonType":"timestamp","description":"创建时间"}}},"index":[{"IndexName":"index_search_time","MgoKeySchema":{"MgoIndexKeys":[{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_normal","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version","Direction":"1"},{"Name":"platform","Direction":"1"},{"Name":"channel","Direction":"1"},{"Name":"event_key","Direction":"1"},{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}}]} \ No newline at end of file +{"schema":{"bsonType":"object","required":[],"permission":{"read":false,"create":false,"update":false,"delete":false},"properties":{"_id":{"description":"ID,系统自动生成"},"appid":{"bsonType":"string","description":"客户端上报的应用ID"},"version":{"bsonType":"string","description":"客户端上报的应用版本号"},"platform":{"bsonType":"string","description":"客户端上报的平台code"},"channel":{"bsonType":"string","description":"客户端上报的渠道code/场景值"},"uuid":{"bsonType":"string","description":"客户端上报的用户标志"},"session_id":{"bsonType":"string","description":"访问会话日志ID,对应opendb-stat-session-logs._id","foreignKey":"opendb-stat-session-logs._id"},"page_id":{"bsonType":"string","description":"页面ID,对应opendb-stat-pages._id","foreignKey":"opendb-stat-pages._id"},"event_key":{"bsonType":"string","description":"客户端上报的key"},"param":{"bsonType":"string","description":"事件参数"},"create_time":{"bsonType":"timestamp","description":"创建时间"}}},"index":[{"IndexName":"index_search_time","MgoKeySchema":{"MgoIndexKeys":[{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_normal","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version","Direction":"1"},{"Name":"platform","Direction":"1"},{"Name":"channel","Direction":"1"},{"Name":"event_key","Direction":"1"},{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}}]} \ No newline at end of file diff --git a/collection/opendb-stat-event-result/collection.json b/collection/opendb-stat-event-result/collection.json index 975651c..2ed1ca6 100644 --- a/collection/opendb-stat-event-result/collection.json +++ b/collection/opendb-stat-event-result/collection.json @@ -1 +1 @@ -{"schema":{"bsonType":"object","required":[],"permission":{"read":false,"create":false,"update":false,"delete":false},"properties":{"_id":{"description":"ID,系统自动生成"},"appid":{"bsonType":"string","description":"应用ID"},"platform_id":{"bsonType":"string","description":"应用平台ID,对应opendb-stat-app-platforms._id","foreignKey":"opendb-stat-app-platforms._id"},"channel_id":{"bsonType":"string","description":"渠道/场景值ID,对应opendb-stat-app-channels._id","foreignKey":"opendb-stat-app-channels._id"},"version_id":{"bsonType":"string","description":"应用版本ID,对应opendb-stat-app-versions._id","foreignKey":"opendb-stat-app-versions._id"},"event_key":{"bsonType":"string","description":"事件key,对应opendb-stat-events.event_key","foreignKey":"opendb-stat-events.event_key"},"event_count":{"bsonType":"int","description":"触发次数"},"user_count":{"bsonType":"int","description":"触发该事件的用户数"},"dimension":{"bsonType":"string","description":"统计范围 day:按天统计,hour:按小时统计","enum":[{"text":"月","value":"month"},{"text":"周","value":"week"},{"text":"天","value":"day"},{"text":"小时","value":"hour"}]},"stat_date":{"bsonType":"int","description":"统计日期,格式yyyymmdd,例:20211201"},"start_time":{"bsonType":"timestamp","description":"开始时间"},"end_time":{"bsonType":"timestamp","description":"结束时间"}}},"index":[{"IndexName":"index_search_time","MgoKeySchema":{"MgoIndexKeys":[{"Name":"start_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_normal","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version_id","Direction":"1"},{"Name":"platform_id","Direction":"1"},{"Name":"channel_id","Direction":"1"},{"Name":"dimension","Direction":"1"},{"Name":"start_time","Direction":"1"}],"MgoIsUnique":false}}]} \ No newline at end of file +{"schema":{"bsonType":"object","required":[],"permission":{"read":false,"create":false,"update":false,"delete":false},"properties":{"_id":{"description":"ID,系统自动生成"},"appid":{"bsonType":"string","description":"应用ID"},"platform_id":{"bsonType":"string","description":"应用平台ID,对应opendb-app-platforms._id","foreignKey":"opendb-app-platforms._id"},"channel_id":{"bsonType":"string","description":"渠道/场景值ID,对应opendb-app-channels._id","foreignKey":"opendb-app-channels._id"},"version_id":{"bsonType":"string","description":"应用版本ID,对应opendb-stat-app-versions._id","foreignKey":"opendb-stat-app-versions._id"},"event_key":{"bsonType":"string","description":"事件key,对应opendb-stat-events.event_key","foreignKey":"opendb-stat-events.event_key"},"event_count":{"bsonType":"int","description":"触发次数"},"user_count":{"bsonType":"int","description":"触发该事件的用户数"},"dimension":{"bsonType":"string","description":"统计范围 day:按天统计,hour:按小时统计","enum":[{"text":"月","value":"month"},{"text":"周","value":"week"},{"text":"天","value":"day"},{"text":"小时","value":"hour"}]},"stat_date":{"bsonType":"int","description":"统计日期,格式yyyymmdd,例:20211201"},"start_time":{"bsonType":"timestamp","description":"开始时间"},"end_time":{"bsonType":"timestamp","description":"结束时间"}}},"index":[{"IndexName":"index_search_time","MgoKeySchema":{"MgoIndexKeys":[{"Name":"start_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_normal","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version_id","Direction":"1"},{"Name":"platform_id","Direction":"1"},{"Name":"channel_id","Direction":"1"},{"Name":"dimension","Direction":"1"},{"Name":"start_time","Direction":"1"}],"MgoIsUnique":false}}]} \ No newline at end of file diff --git a/collection/opendb-stat-events/collection.json b/collection/opendb-stat-events/collection.json index ada02c1..fc7a80d 100644 --- a/collection/opendb-stat-events/collection.json +++ b/collection/opendb-stat-events/collection.json @@ -1 +1 @@ -{"schema":{"bsonType":"object","required":[],"permission":{"read":false,"create":false,"update":false,"delete":false},"properties":{"_id":{"description":"ID,系统自动生成"},"appid":{"bsonType":"string","description":"统计应用ID,对应opendb-app-list.appid","foreignKey":"opendb-app-list.appid"},"event_key":{"bsonType":"string","description":"事件键值"},"event_name":{"bsonType":"string","description":"事件名称"},"create_time":{"bsonType":"timestamp","description":"创建时间"},"update_time":{"bsonType":"timestamp","description":"last_modify_time"}}},"index":[{"IndexName":"index_search_event","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"event_key","Direction":"1"}],"MgoIsUnique":true}}]} \ No newline at end of file +{"schema":{"bsonType":"object","required":[],"permission":{"read":false,"create":false,"update":false,"delete":false},"properties":{"_id":{"description":"ID,系统自动生成"},"appid":{"bsonType":"string","description":"统计应用ID"},"event_key":{"bsonType":"string","description":"事件键值"},"event_name":{"bsonType":"string","description":"事件名称"},"create_time":{"bsonType":"timestamp","description":"创建时间"},"update_time":{"bsonType":"timestamp","description":"last_modify_time"}}},"index":[{"IndexName":"index_search_event","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"event_key","Direction":"1"}],"MgoIsUnique":true}}]} \ No newline at end of file diff --git a/collection/opendb-stat-page-logs/collection.json b/collection/opendb-stat-page-logs/collection.json index 9bcdeb4..28aa592 100644 --- a/collection/opendb-stat-page-logs/collection.json +++ b/collection/opendb-stat-page-logs/collection.json @@ -1 +1 @@ -{"schema":{"bsonType":"object","required":[],"permission":{"read":false,"create":false,"update":false,"delete":false},"properties":{"_id":{"description":"ID,系统自动生成"},"appid":{"bsonType":"string","description":"应用ID"},"version":{"bsonType":"string","description":"用户端上报的应用版本号"},"platform":{"bsonType":"string","description":"用户端上报的平台code"},"channel":{"bsonType":"string","description":"用户端上报的渠道code/场景值"},"uuid":{"bsonType":"string","description":"用户端上报的用户标志"},"session_id":{"bsonType":"string","description":"访问会话日志ID,对应opendb-stat-app-session-logs._id","foreignKey":"opendb-stat-app-session-logs._id"},"current_page_id":{"bsonType":"string","description":"当前页面ID,对应opendb-stat-app-pages._id","foreignKey":"opendb-stat-app-pages._id"},"previous_page_id":{"bsonType":"string","description":"上级页面ID,为空表示第一个页面, 对应opendb-stat-app-pages._id"},"previous_page_duration":{"bsonType":"int","description":"上级页面停留时间,单位秒,前端上报"},"previous_page_is_entry":{"bsonType":"int","defaultValue":0,"description":" 上级页面是否为入口页, 0否 1是","enum":[{"text":"否","value":0},{"text":"是","value":1}]},"create_time":{"bsonType":"timestamp","description":"创建时间"}}},"index":[{"IndexName":"index_search_time","MgoKeySchema":{"MgoIndexKeys":[{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_base","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version","Direction":"1"},{"Name":"platform","Direction":"1"},{"Name":"channel","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_auto","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version","Direction":"1"},{"Name":"platform","Direction":"1"},{"Name":"channel","Direction":"1"},{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_more","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version","Direction":"1"},{"Name":"platform","Direction":"1"},{"Name":"channel","Direction":"1"},{"Name":"current_page_id","Direction":"1"},{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}}]} \ No newline at end of file +{"schema":{"bsonType":"object","required":[],"permission":{"read":false,"create":false,"update":false,"delete":false},"properties":{"_id":{"description":"ID,系统自动生成"},"appid":{"bsonType":"string","description":"应用ID"},"version":{"bsonType":"string","description":"用户端上报的应用版本号"},"platform":{"bsonType":"string","description":"用户端上报的平台code"},"channel":{"bsonType":"string","description":"用户端上报的渠道code/场景值"},"uuid":{"bsonType":"string","description":"用户端上报的用户标志"},"session_id":{"bsonType":"string","description":"访问会话日志ID,对应opendb-stat-session-logs._id","foreignKey":"opendb-stat-session-logs._id"},"current_page_id":{"bsonType":"string","description":"当前页面ID,对应opendb-stat-pages._id","foreignKey":"opendb-stat-pages._id"},"previous_page_id":{"bsonType":"string","description":"上级页面ID,为空表示第一个页面, 对应opendb-stat-pages._id"},"previous_page_duration":{"bsonType":"int","description":"上级页面停留时间,单位秒,前端上报"},"previous_page_is_entry":{"bsonType":"int","defaultValue":0,"description":" 上级页面是否为入口页, 0否 1是","enum":[{"text":"否","value":0},{"text":"是","value":1}]},"create_time":{"bsonType":"timestamp","description":"创建时间"}}},"index":[{"IndexName":"index_search_time","MgoKeySchema":{"MgoIndexKeys":[{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_base","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version","Direction":"1"},{"Name":"platform","Direction":"1"},{"Name":"channel","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_auto","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version","Direction":"1"},{"Name":"platform","Direction":"1"},{"Name":"channel","Direction":"1"},{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_more","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version","Direction":"1"},{"Name":"platform","Direction":"1"},{"Name":"channel","Direction":"1"},{"Name":"current_page_id","Direction":"1"},{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}}]} \ No newline at end of file diff --git a/collection/opendb-stat-page-result/collection.json b/collection/opendb-stat-page-result/collection.json index 6a55c52..7cb0426 100644 --- a/collection/opendb-stat-page-result/collection.json +++ b/collection/opendb-stat-page-result/collection.json @@ -1 +1 @@ -{"schema":{"bsonType":"object","required":[],"permission":{"read":false,"create":false,"update":false,"delete":false},"properties":{"_id":{"description":"ID,系统自动生成"},"appid":{"bsonType":"string","description":"应用ID"},"platform_id":{"bsonType":"string","description":"应用平台ID,对应opendb-app-plat forms._id","foreignKey":"opendb-app-platforms._id"},"channel_id":{"bsonType":"string","description":"渠道/场景值ID,对应opendb-app-channels._id","foreignKey":"opendb-app-channels._id"},"version_id":{"bsonType":"string","description":"应用版本ID,对应opendb-stat-app-versions._id","foreignKey":"opendb-stat-app-versions._id"},"page_id":{"bsonType":"string","description":"页面表ID,对应页面表ID,对应pendb-stat-pages._id","foreignKey":"opendb-stat-pages._id"},"visit_times":{"bsonType":"int","description":"访问次数"},"visit_users":{"bsonType":"int","description":"访问用户数"},"exit_times":{"bsonType":"int","description":"退出次数"},"duration":{"bsonType":"int","description":"访问总时长,单位秒"},"share_count":{"bsonType":"int","description":"分享次数"},"entry_users":{"bsonType":"int","description":"当前页作为入口页的人数"},"entry_count":{"bsonType":"int","description":"当前页作为入口页的总次数"},"entry_duration":{"bsonType":"int","description":"当前页作为入口时,本页面的总访问时长,单位秒"},"bounce_rate":{"bsonType":"double","description":"跳出率"},"dimension":{"bsonType":"string","description":"统计范围 day:按天统计,hour:按小时统计","enum":[{"text":"月","value":"month"},{"text":"周","value":"week"},{"text":"天","value":"day"},{"text":"小时","value":"hour"}]},"stat_date":{"bsonType":"int","description":"统计日期,格式yyyymmdd,例:20211201"},"start_time":{"bsonType":"timestamp","description":"开始时间"},"end_time":{"bsonType":"timestamp","description":"结束时间"}}},"index":[{"IndexName":"index_search_time","MgoKeySchema":{"MgoIndexKeys":[{"Name":"start_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_normal","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version_id","Direction":"1"},{"Name":"platform_id","Direction":"1"},{"Name":"channel_id","Direction":"1"},{"Name":"dimension","Direction":"1"},{"Name":"start_time","Direction":"1"}],"MgoIsUnique":false}}]} \ No newline at end of file +{"schema":{"bsonType":"object","required":[],"permission":{"read":false,"create":false,"update":false,"delete":false},"properties":{"_id":{"description":"ID,系统自动生成"},"appid":{"bsonType":"string","description":"应用ID"},"platform_id":{"bsonType":"string","description":"应用平台ID,对应opendb-app-platforms._id","foreignKey":"opendb-app-platforms._id"},"channel_id":{"bsonType":"string","description":"渠道/场景值ID,对应opendb-app-channels._id","foreignKey":"opendb-app-channels._id"},"version_id":{"bsonType":"string","description":"应用版本ID,对应opendb-stat-app-versions._id","foreignKey":"opendb-stat-app-versions._id"},"page_id":{"bsonType":"string","description":"页面表ID,对应页面表ID,对应opendb-stat-pages._id","foreignKey":"opendb-stat-pages._id"},"visit_times":{"bsonType":"int","description":"访问次数"},"visit_users":{"bsonType":"int","description":"访问用户数"},"exit_times":{"bsonType":"int","description":"退出次数"},"duration":{"bsonType":"int","description":"访问总时长,单位秒"},"share_count":{"bsonType":"int","description":"分享次数"},"entry_users":{"bsonType":"int","description":"当前页作为入口页的人数"},"entry_count":{"bsonType":"int","description":"当前页作为入口页的总次数"},"entry_duration":{"bsonType":"int","description":"当前页作为入口时,本页面的总访问时长,单位秒"},"bounce_rate":{"bsonType":"double","description":"跳出率"},"dimension":{"bsonType":"string","description":"统计范围 day:按天统计,hour:按小时统计","enum":[{"text":"月","value":"month"},{"text":"周","value":"week"},{"text":"天","value":"day"},{"text":"小时","value":"hour"}]},"stat_date":{"bsonType":"int","description":"统计日期,格式yyyymmdd,例:20211201"},"start_time":{"bsonType":"timestamp","description":"开始时间"},"end_time":{"bsonType":"timestamp","description":"结束时间"}}},"index":[{"IndexName":"index_search_time","MgoKeySchema":{"MgoIndexKeys":[{"Name":"start_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_normal","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version_id","Direction":"1"},{"Name":"platform_id","Direction":"1"},{"Name":"channel_id","Direction":"1"},{"Name":"dimension","Direction":"1"},{"Name":"start_time","Direction":"1"}],"MgoIsUnique":false}}]} \ No newline at end of file diff --git a/collection/opendb-stat-pages/collection.json b/collection/opendb-stat-pages/collection.json index 8f01426..97138c8 100644 --- a/collection/opendb-stat-pages/collection.json +++ b/collection/opendb-stat-pages/collection.json @@ -1 +1 @@ -{"schema":{"bsonType":"object","required":[],"permission":{"read":false,"create":false,"update":false,"delete":false},"properties":{"_id":{"description":"ID,系统自动生成"},"appid":{"bsonType":"string","description":"统计应用ID,对应opendb-app-list.appid","foreignKey":"opendb-app-list.appid"},"path":{"bsonType":"string","description":"页面路径,如`/pages/index/index`"},"title":{"bsonType":"string","description":"页面标题"},"create_time":{"bsonType":"timestamp","description":"创建时间"}}},"index":[{"IndexName":"index_search_page","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"path","Direction":"1"}],"MgoIsUnique":true}}]} \ No newline at end of file +{"schema":{"bsonType":"object","required":[],"permission":{"read":false,"create":false,"update":false,"delete":false},"properties":{"_id":{"description":"ID,系统自动生成"},"appid":{"bsonType":"string","description":"统计应用ID"},"path":{"bsonType":"string","description":"页面路径,如`/pages/index/index`"},"title":{"bsonType":"string","description":"页面标题"},"create_time":{"bsonType":"timestamp","description":"创建时间"}}},"index":[{"IndexName":"index_search_page","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"path","Direction":"1"}],"MgoIsUnique":true}}]} \ No newline at end of file diff --git a/collection/opendb-stat-result/collection.json b/collection/opendb-stat-result/collection.json index 5accc84..5cdf6e7 100644 --- a/collection/opendb-stat-result/collection.json +++ b/collection/opendb-stat-result/collection.json @@ -1 +1 @@ -{"schema":{"bsonType":"object","required":[],"permission":{"read":false,"create":false,"update":false,"delete":false},"properties":{"_id":{"description":"ID,系统自动生成"},"appid":{"bsonType":"string","description":"统计应用ID,对应opendb-app-list.appid","foreignKey":"opendb-app-list.appid"},"platform_id":{"bsonType":"string","description":"应用平台ID,对应opendb-app-platforms._id","foreignKey":"opendb-app-platforms._id"},"channel_id":{"bsonType":"string","description":"渠道/场景值ID,对应opendb-app-channels._id","foreignKey":"opendb-app-channels._id"},"version_id":{"bsonType":"string","description":"应用版本ID,对应opendb-stat-app-versions._id","foreignKey":"opendb-stat-app-versions._id"},"total_users":{"bsonType":"int","description":"历史累计总用户数"},"new_user_count":{"bsonType":"int","description":"本时间段新增用户数"},"active_user_count":{"bsonType":"int","description":"本时间段活跃用户数"},"app_launch_count":{"bsonType":"int","description":"本时间段App启动或从后台切到前台的次数"},"error_count":{"bsonType":"int","description":"本时间段报错次数"},"duration":{"bsonType":"int","description":"时间段内,所有用户访问总时长,单位秒"},"avg_session_time":{"bsonType":"int","description":"次均停留时长,单位秒"},"avg_user_time":{"bsonType":"int","defaultValue":"人均停留时长,单位秒"},"visitor_avg_time":{"bsonType":"int","description":"人均停留时长"},"bounce_times":{"bsonType":"int","description":"跳出次数"},"bounce_rate":{"bsonType":"double","description":"跳出率"},"retention":{"bsonType":"object","description":"用户留存信息"},"dimension":{"bsonType":"string","description":"统计范围 day:按天统计,hour:按小时统计","enum":[{"text":"月","value":"month"},{"text":"周","value":"week"},{"text":"天","value":"day"},{"text":"小时","value":"hour"}]},"stat_date":{"bsonType":"int","description":"统计日期,格式yyyymmdd,例:20211201"},"start_time":{"bsonType":"timestamp","description":"开始时间"},"end_time":{"bsonType":"timestamp","description":"结束时间"}}},"index":[{"IndexName":"index_search_time","MgoKeySchema":{"MgoIndexKeys":[{"Name":"start_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_normal","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version_id","Direction":"1"},{"Name":"platform_id","Direction":"1"},{"Name":"channel_id","Direction":"1"},{"Name":"dimension","Direction":"1"},{"Name":"start_time","Direction":"1"}],"MgoIsUnique":false}}]} \ No newline at end of file +{"schema":{"bsonType":"object","required":[],"permission":{"read":false,"create":false,"update":false,"delete":false},"properties":{"_id":{"description":"ID,系统自动生成"},"appid":{"bsonType":"string","description":"应用ID,对应opendb-app-list.appid"},"platform_id":{"bsonType":"string","description":"应用平台ID,对应opendb-app-platforms._id","foreignKey":"opendb-app-platforms._id"},"channel_id":{"bsonType":"string","description":"渠道/场景值ID,对应opendb-app-channels._id","foreignKey":"opendb-app-channels._id"},"version_id":{"bsonType":"string","description":"应用版本ID,对应opendb-stat-app-versions._id","foreignKey":"opendb-stat-app-versions._id"},"total_users":{"bsonType":"int","description":"历史累计总用户数"},"new_user_count":{"bsonType":"int","description":"本时间段新增用户数"},"active_user_count":{"bsonType":"int","description":"本时间段活跃用户数"},"app_launch_count":{"bsonType":"int","description":"本时间段App启动或从后台切到前台的次数"},"error_count":{"bsonType":"int","description":"本时间段报错次数"},"duration":{"bsonType":"int","description":"时间段内,所有用户访问总时长,单位秒"},"avg_session_time":{"bsonType":"int","description":"次均停留时长,单位秒"},"avg_user_time":{"bsonType":"int","defaultValue":"人均停留时长,单位秒"},"visitor_avg_time":{"bsonType":"int","description":"人均停留时长"},"bounce_times":{"bsonType":"int","description":"跳出次数"},"bounce_rate":{"bsonType":"double","description":"跳出率"},"retention":{"bsonType":"object","description":"用户留存信息"},"dimension":{"bsonType":"string","description":"统计范围 day:按天统计,hour:按小时统计","enum":[{"text":"月","value":"month"},{"text":"周","value":"week"},{"text":"天","value":"day"},{"text":"小时","value":"hour"}]},"stat_date":{"bsonType":"int","description":"统计日期,格式yyyymmdd,例:20211201"},"start_time":{"bsonType":"timestamp","description":"开始时间"},"end_time":{"bsonType":"timestamp","description":"结束时间"}}},"index":[{"IndexName":"index_search_time","MgoKeySchema":{"MgoIndexKeys":[{"Name":"start_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_normal","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version_id","Direction":"1"},{"Name":"platform_id","Direction":"1"},{"Name":"channel_id","Direction":"1"},{"Name":"dimension","Direction":"1"},{"Name":"start_time","Direction":"1"}],"MgoIsUnique":false}}]} \ No newline at end of file diff --git a/collection/opendb-stat-session-logs/collection.json b/collection/opendb-stat-session-logs/collection.json index 3c1c2bc..ec9c079 100644 --- a/collection/opendb-stat-session-logs/collection.json +++ b/collection/opendb-stat-session-logs/collection.json @@ -1 +1 @@ -{"schema":{"bsonType":"object","required":[],"permission":{"read":false,"create":false,"update":false,"delete":false},"properties":{"_id":{"description":"ID,系统自动生成"},"appid":{"bsonType":"string","description":"客户端上报的应用ID"},"version":{"bsonType":"string","description":"客户端上报的应用版本号"},"platform":{"bsonType":"string","description":"客户端上报的平台code"},"channel":{"bsonType":"string","description":"客户端上报的渠道code/场景值"},"uuid":{"bsonType":"string","description":"客户端上报的用户标志"},"is_first_visit":{"bsonType":"int","description":"是否为首次访问","defaultValue":0,"enum":[{"text":"否","value":0},{"text":"是","value":1}]},"first_visit_time":{"bsonType":"timestamp","description":"用户首次访问时间"},"last_visit_time":{"bsonType":"timestamp","description":"用户最后一次访问时间"},"total_visit_count":{"bsonType":"int","description":"用户累计访问次数,客户端上报"},"entry_page_id":{"bsonType":"string","description":"本次会话入口页面ID, 同opendb-stat-app-pages._id"},"exit_page_id":{"bsonType":"string","description":"本次会话退出页面ID, 同opendb-stat-app-pages._id"},"page_count":{"bsonType":"int","description":"本次会话浏览的页面数"},"event_count":{"bsonType":"int","description":"本次会话产生的事件数"},"duration":{"bsonType":"int","description":"本次会话时长,单位为秒,服务端计算"},"sdk_version":{"bsonType":"string","description":"基础库版本号"},"platform_version":{"bsonType":"string","description":"平台版本,如微信、支付宝宿主App版本号"},"device_os":{"bsonType":"int","description":"设备系统编号"},"device_os_version":{"bsonType":"string","description":"设备系统版本"},"device_net":{"bsonType":"int","description":"设备网"},"device_vendor":{"bsonType":"string","description":"设备供应商 "},"device_model":{"bsonType":"string","description":"设备型号"},"device_language":{"bsonType":"string","description":"设备语言包"},"device_pixel_ratio":{"bsonType":"string","description":"设备像素比 "},"device_window_width":{"bsonType":"string","description":"设备窗口宽度 "},"device_window_height":{"bsonType":"string","description":"设备窗口高度"},"device_screen_width":{"bsonType":"string","description":"设备屏幕宽度"},"device_screen_height":{"bsonType":"string","description":"设备屏幕高度"},"location_ip":{"bsonType":"string","description":"ip"},"location_latitude":{"bsonType":"double","description":"纬度"},"location_longitude":{"bsonType":"double","description":"经度"},"location_country":{"bsonType":"string","description":"国家"},"location_province":{"bsonType":"string","description":"省份"},"location_city":{"bsonType":"string","description":"城市"},"is_finish":{"bsonType":"int","defaultValue":0,"description":"本次会话是否结束,0:否,1是","enum":[{"text":"否","value":0},{"text":"是","value":1}]},"create_time":{"bsonType":"timestamp","description":"创建时间"}}},"index":[{"IndexName":"index_search_time","MgoKeySchema":{"MgoIndexKeys":[{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_base","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version","Direction":"1"},{"Name":"platform","Direction":"1"},{"Name":"channel","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_auto","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version","Direction":"1"},{"Name":"platform","Direction":"1"},{"Name":"channel","Direction":"1"},{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_more","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version","Direction":"1"},{"Name":"platform","Direction":"1"},{"Name":"channel","Direction":"1"},{"Name":"uuid","Direction":"1"},{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_replenish","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version","Direction":"1"},{"Name":"platform","Direction":"1"},{"Name":"channel","Direction":"1"},{"Name":"is_first_visit","Direction":"1"},{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_all","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version","Direction":"1"},{"Name":"platform","Direction":"1"},{"Name":"channel","Direction":"1"},{"Name":"is_first_visit","Direction":"1"},{"Name":"page_count","Direction":"1"},{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}}]} \ No newline at end of file +{"schema":{"bsonType":"object","required":[],"permission":{"read":false,"create":false,"update":false,"delete":false},"properties":{"_id":{"description":"ID,系统自动生成"},"appid":{"bsonType":"string","description":"客户端上报的应用ID"},"version":{"bsonType":"string","description":"客户端上报的应用版本号"},"platform":{"bsonType":"string","description":"客户端上报的平台code"},"channel":{"bsonType":"string","description":"客户端上报的渠道code/场景值"},"uuid":{"bsonType":"string","description":"客户端上报的用户标志"},"is_first_visit":{"bsonType":"int","description":"是否为首次访问","defaultValue":0,"enum":[{"text":"否","value":0},{"text":"是","value":1}]},"first_visit_time":{"bsonType":"timestamp","description":"用户首次访问时间"},"last_visit_time":{"bsonType":"timestamp","description":"用户最后一次访问时间"},"total_visit_count":{"bsonType":"int","description":"用户累计访问次数,客户端上报"},"entry_page_id":{"bsonType":"string","description":"本次会话入口页面ID, 同opendb-stat-pages._id"},"exit_page_id":{"bsonType":"string","description":"本次会话退出页面ID, 同opendb-stat-pages._id"},"page_count":{"bsonType":"int","description":"本次会话浏览的页面数"},"event_count":{"bsonType":"int","description":"本次会话产生的事件数"},"duration":{"bsonType":"int","description":"本次会话时长,单位为秒,服务端计算"},"sdk_version":{"bsonType":"string","description":"基础库版本号"},"platform_version":{"bsonType":"string","description":"平台版本,如微信、支付宝宿主App版本号"},"device_os":{"bsonType":"int","description":"设备系统编号"},"device_os_version":{"bsonType":"string","description":"设备系统版本"},"device_net":{"bsonType":"int","description":"设备网"},"device_vendor":{"bsonType":"string","description":"设备供应商 "},"device_model":{"bsonType":"string","description":"设备型号"},"device_language":{"bsonType":"string","description":"设备语言包"},"device_pixel_ratio":{"bsonType":"string","description":"设备像素比 "},"device_window_width":{"bsonType":"string","description":"设备窗口宽度 "},"device_window_height":{"bsonType":"string","description":"设备窗口高度"},"device_screen_width":{"bsonType":"string","description":"设备屏幕宽度"},"device_screen_height":{"bsonType":"string","description":"设备屏幕高度"},"location_ip":{"bsonType":"string","description":"ip"},"location_latitude":{"bsonType":"double","description":"纬度"},"location_longitude":{"bsonType":"double","description":"经度"},"location_country":{"bsonType":"string","description":"国家"},"location_province":{"bsonType":"string","description":"省份"},"location_city":{"bsonType":"string","description":"城市"},"is_finish":{"bsonType":"int","defaultValue":0,"description":"本次会话是否结束,0:否,1是","enum":[{"text":"否","value":0},{"text":"是","value":1}]},"create_time":{"bsonType":"timestamp","description":"创建时间"}}},"index":[{"IndexName":"index_search_time","MgoKeySchema":{"MgoIndexKeys":[{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_base","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version","Direction":"1"},{"Name":"platform","Direction":"1"},{"Name":"channel","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_auto","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version","Direction":"1"},{"Name":"platform","Direction":"1"},{"Name":"channel","Direction":"1"},{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_more","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version","Direction":"1"},{"Name":"platform","Direction":"1"},{"Name":"channel","Direction":"1"},{"Name":"uuid","Direction":"1"},{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_replenish","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version","Direction":"1"},{"Name":"platform","Direction":"1"},{"Name":"channel","Direction":"1"},{"Name":"is_first_visit","Direction":"1"},{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_all","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version","Direction":"1"},{"Name":"platform","Direction":"1"},{"Name":"channel","Direction":"1"},{"Name":"is_first_visit","Direction":"1"},{"Name":"page_count","Direction":"1"},{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}}]} \ No newline at end of file diff --git a/collection/opendb-stat-share-logs/collection.json b/collection/opendb-stat-share-logs/collection.json index 5a37a1e..6209b6a 100644 --- a/collection/opendb-stat-share-logs/collection.json +++ b/collection/opendb-stat-share-logs/collection.json @@ -1 +1 @@ -{"schema":{"bsonType":"object","required":[],"permission":{"read":false,"create":false,"update":false,"delete":false},"properties":{"_id":{"description":"ID,系统自动生成"},"appid":{"bsonType":"string","description":"客户端上报的应用ID"},"version":{"bsonType":"string","description":"客户端上报的应用版本号"},"platform":{"bsonType":"string","description":"客户端上报的平台code"},"channel":{"bsonType":"string","description":"客户端上报的渠道code/场景值"},"uuid":{"bsonType":"string","description":"客户端上报的用户标志"},"session_id":{"bsonType":"string","description":"访问会话日志ID,对应opendb-stat-app-session-logs._id","foreignKey":"opendb-stat-app-session-logs._id"},"page_id":{"bsonType":"string","description":"当前页面ID,对应opendb-stat-app-pages._id","foreignKey":"opendb-stat-app-pages._id"},"create_time":{"bsonType":"timestamp","description":"创建时间"}}},"index":[{"IndexName":"index_search_time","MgoKeySchema":{"MgoIndexKeys":[{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_normal","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version","Direction":"1"},{"Name":"platform","Direction":"1"},{"Name":"channel","Direction":"1"},{"Name":"page_id","Direction":"1"},{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}}]} \ No newline at end of file +{"schema":{"bsonType":"object","required":[],"permission":{"read":false,"create":false,"update":false,"delete":false},"properties":{"_id":{"description":"ID,系统自动生成"},"appid":{"bsonType":"string","description":"客户端上报的应用ID"},"version":{"bsonType":"string","description":"客户端上报的应用版本号"},"platform":{"bsonType":"string","description":"客户端上报的平台code"},"channel":{"bsonType":"string","description":"客户端上报的渠道code/场景值"},"uuid":{"bsonType":"string","description":"客户端上报的用户标志"},"session_id":{"bsonType":"string","description":"访问会话日志ID,对应opendb-stat-session-logs._id","foreignKey":"opendb-stat-session-logs._id"},"page_id":{"bsonType":"string","description":"当前页面ID,对应opendb-stat-pages._id","foreignKey":"opendb-stat-pages._id"},"create_time":{"bsonType":"timestamp","description":"创建时间"}}},"index":[{"IndexName":"index_search_time","MgoKeySchema":{"MgoIndexKeys":[{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_normal","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version","Direction":"1"},{"Name":"platform","Direction":"1"},{"Name":"channel","Direction":"1"},{"Name":"page_id","Direction":"1"},{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}}]} \ No newline at end of file