-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefine.json
129 lines (129 loc) · 4.73 KB
/
define.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"field_mapping_def" : {
"WHOLE" : {
"seperator" : "none",
"mapping" : {
"MESSAGE" : 0
}
},
"LINE" : {
"seperator" : "\n",
"mapping" : {
"MESSAGE" : 0
}
},
"UNITY" : {
"seperator" : "(?<=\\.\\d{4}\\])|(?:\\|)|(?=UnityEngine\\.StackTraceUtility)|(?=\\(Filename:)",
"mapping" : {
"TIMESTAMP" : 0,
"LEVEL" : 1,
"MESSAGE" : 2,
"STACKTRACE" : 3,
"CALLER" : 4
}
},
"STANDARD" : {
"seperator" : "brackets",
"mapping" : {
"TIMESTAMP" : 0,
"LEVEL" : 1,
"MODULE" : 2,
"MESSAGE" : 3,
"CALLER" : 4
}
},
"STANDARD_UNITY" : {
"seperator" : "brackets",
"mapping" : {
"TIMESTAMP" : 0,
"LEVEL" : 1,
"MODULE" : 2,
"MESSAGE" : "0",
"CALLER" : 3
}
},
"ETCD" : {
"seperator" : "json",
"mapping" : {
"TIMESTAMP" : "ts",
"LEVEL" : "level",
"MODULE" : "module",
"MESSAGE" : "msg",
"CALLER" : "caller",
"TIME_SPENT" : "time spent",
"REMOTE" : "remote",
"RESPONSE_TYPE" : "response type",
"REQUEST_COUNT" : "request count",
"REQUEST_SIZE" : "request size",
"RESPONSE_COUNT" : "response count",
"RESPONSE_SIZE" : "response size",
"REQUEST_CONTENT" : "request content",
"ERROR" : "error"
}
},
"BI" : {
"seperator" : "json",
"mapping" : {
"event" : "event",
"event_ts": "event_ts",
"log_source": "log_source",
"properties.cluster_id" : "properties.cluster_id",
"properties.process_id" : "properties.process_id",
"properties.role_name" : "properties.role_name",
"properties.game_uid" : "properties.game_uid",
"properties.player_id" : "properties.player_id",
"detail" : "detail"
}
},
"BI_ITEM_FLOW" : {
"seperator" : "json",
"mapping" : {
"event" : "event",
"event_ts": "event_ts",
"log_source": "log_source",
"properties.role_name" : "properties.role_name",
"properties.game_uid" : "properties.game_uid",
"detail.item_id": "detail.item_id",
"detail.item_info": "detail.item_info",
"detail.action": "detail.action",
"detail.amount": "detail.amount",
"detail.operation_detail": "detail.operation_detail"
}
},
"BI_PET_CHNAGE_FLOW" : {
"seperator" : "json",
"mapping" : {
"event" : "event",
"event_ts": "event_ts",
"log_source": "log_source",
"properties.role_name" : "properties.role_name",
"properties.game_uid" : "properties.game_uid",
"detail.item_type": "detail.item_type",
"detail.pet_id": "detail.pet_id",
"detail.pet_uid": "detail.pet_uid",
"detail.lv": "detail.lv",
"detail.cp": "detail.cp",
"detail.skill_list": "detail.skill_list",
"detail.prop_info": "detail.prop_info",
"detail.prop_info.0": "detail.prop_info[0]",
"detail.prop_info.1": "detail.prop_info[1]",
"detail.prop_info.2": "detail.prop_info[2]",
"detail.prop_info.3": "detail.prop_info[3]",
"detail.prop_info.4": "detail.prop_info[4]",
"detail.prop_info.5": "detail.prop_info[5]",
"detail.talent_list": "detail.talent_list",
"detail.feature_list": "detail.feature_list",
"detail.overall_rating": "detail.overall_rating"
}
}
},
"merge_def" : {
"NONE" : "不归类,不合并",
"EQUAL" : "字符串相等",
"ROUND_DECIMAL-x" : "保留x小数位",
"ROUND_SIGNIFICANT-x" : "保留x有效位",
"TIME-x" : "按时间归类(仅时间戳),x表示间隔秒数",
"DBSCAN" : "使用TF-IDF向量化后,用dbscan算法进行分类",
"K_MEANS-x" : "使用TF-IDF向量化后,用K-means算法进行分类,x表示分群数量"
}
}