• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#  Copyright (c) 2022 Huawei Device Co., Ltd.
2#  Licensed under the Apache License, Version 2.0 (the "License");
3#  you may not use this file except in compliance with the License.
4#  You may obtain a copy of the License at
5#
6#      http://www.apache.org/licenses/LICENSE-2.0
7#
8#  Unless required by applicable law or agreed to in writing, software
9#  distributed under the License is distributed on an "AS IS" BASIS,
10#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11#  See the License for the specific language governing permissions and
12#  limitations under the License.
13
14#####################################################
15#     below is the format of defining event         #
16#####################################################
17#domain: domain name.  [Only one domain name can be defined at the top]
18#
19#author: the author name who defined this event.
20#date: the date when this event was defined, format is YYYY-MM-DD.
21#logged: source file which refer to this event.
22#usage: the usage of this event.
23#//Define event name and event properties.
24#@EVENT_NAME: the event definition part begin.
25#  // __BASE is used for defining the basic info of the event.
26#  // "type" optional values are: FAULT, STATISTICS, SECURITY, BEHAVIOR.
27#  // "level" optional values are: CRITICAL, MINOR.
28#  // "tag" set tags with may used by subscriber of this event, multiple tags devided by space.
29#  // "desc" full description of this event.
30#  @PARAMETER: {type: parameter type, arrsize: array length(optional), desc: parameter description}.
31#  // follow the __BASE block, each line defines a parameter of this event.
32#  // "type" optional values are: INT8, UINT8, INT16, UINT16, INT32, UINT32, INT64, UINT64, FLOAT, DOUBLE, STRING.
33#  // "arrsize" of the parameter is an array, set a non-zero value.
34#  // "desc" full description of this parameter.
35
36#####################################################
37#           SoftBus hisysevent definition           #
38#####################################################
39
40domain: DSOFTBUS
41
42DISCOVER_BEHAVIOR:
43  __BASE: {type: BEHAVIOR, level: MINOR, desc: discovery behavior }
44  ORG_PKG: {type: STRING, desc: organization module name }
45  FUNC: {type: STRING, desc: current function name }
46  HOST_PKG: {type: STRING, desc: host module name }
47  BIZ_SCENE: {type: INT32, desc: business scene }
48  BIZ_STAGE: {type: INT32, desc: business stage }
49  STAGE_RES: {type: INT32, desc: stage result }
50  ERROR_CODE: { type: INT32, desc: error code }
51  INIT_TYPE: { type: INT32, desc: init type }
52  SERVER_TYPE: { type: INT32, desc: server type }
53  INTERFACE_FUNC_TYPE: { type: INT32, desc: interface func type }
54  CAPABILITY_BIT: { type: INT32, desc: capability bit map }
55  CAPABILITY_DATA: { type: INT32, desc: capability data }
56  BLE_TURN_STATE: { type: INT32, desc: ble turn state }
57  IP_LINK_STATUS: { type: INT32, desc: ip link status }
58  COAP_CHANGE_TYPE: { type: INT32, desc: coap change type }
59  BROADCAST_TYPE: { type: INT32, desc: broadcast type }
60  BROADCAST_FREQ: { type: INT32, desc: broadcast frequency }
61  SCAN_TYPE: { type: INT32, desc: scan type }
62  SCAN_CYCLE: { type: STRING, desc: scan duty cycle }
63  DISC_TYPE: { type: INT32, desc: discovery type }
64  DISC_MODE: { type: INT32, desc: discovery mode }
65  FIRST_DISCOVERY_TIME: { type: INT32, desc: time consuming to discover for the first time }
66  LOCAL_NET_ID: { type: STRING, desc: local device net id }
67  PEER_IP: { type: STRING, desc: peer device ip }
68  PEER_BR_MAC: { type: STRING, desc: peer device br mac }
69  PEER_BLE_MAC: { type: STRING, desc: peer device ble mac }
70  PEER_WIFI_MAC: { type: STRING, desc: peer device wifi mac }
71  PEER_PORT: { type: STRING, desc: peer device port }
72  PEER_NET_ID: { type: STRING, desc: peer device net id }
73  PEER_DEV_TYPE: { type: STRING, desc: peer device type }
74
75DISCOVER_AUDIT:
76  __BASE: {type: SECURITY, level: CRITICAL, desc: discovery security audit }
77  ORG_PKG: {type: STRING, desc: organization module name }
78  FUNC: {type: STRING, desc: current function name }
79  HOST_PKG: {type: STRING, desc: host module name }
80  BIZ_SCENE: {type: INT32, desc: business scene }
81  RESULT: { type: INT32, desc: deal result }
82  ERROR_CODE: { type: INT32, desc: error code }
83  AUDIT_TYPE: {type: INT32, desc: audit type }
84  BROADCAST_TYPE: { type: INT32, desc: broadcast type }
85  BROADCAST_FREQ: { type: INT32, desc: broadcast frequency }
86  ADV_COUNT: { type: INT32, desc: advertise count }
87  ADV_DURATION: { type: INT32, desc: advertise duration }
88  SCAN_INTERVAL: { type: INT32, desc: scan interval }
89  SCAN_WINDOW: { type: INT32, desc: scan window }
90  DISC_MODE: { type: INT32, desc: discovery mode }
91  MEDIUM_TYPE: { type: INT32, desc: medium type }
92  ADV_CHANNEL: { type: INT32, desc: adv channel }
93  SCAN_TYPE: { type: INT32, desc: scan type }
94  SCAN_ID: { type: INT32, desc: scan id }
95  SCAN_LISTENER_ID: { type: INT32, desc: scan listener id }
96  LOCAL_UDID: { type: STRING, desc: local device udid }
97  LOCAL_DEV_NAME: { type: STRING, desc: local device name }
98  LOCAL_DEV_TYPE: { type: STRING, desc: local device type }
99  LOCAL_ACCOUNT_HASH: { type: STRING, desc: local account hash }
100  LOCAL_CAPABILITY_BITMAP: { type: INT32, desc: local capability bitmap }
101  LOCAL_CUST_DATA: { type: STRING, desc: local cust data }
102  LOCAL_IP: { type: STRING, desc: local device ip }
103  LOCAL_PORT: { type: INT32, desc: local device port }
104  LOCAL_BR_MAC: { type: STRING, desc: local device br mac }
105  LOCAL_BLE_MAC: { type: STRING, desc: local device ble mac }
106  PEER_UDID: { type: STRING, desc: peer device udid }
107  PEER_DEV_NAME: { type: STRING, desc: peer device name }
108  PEER_DEV_TYPE: { type: STRING, desc: peer device type }
109  PEER_ACCOUNT_HASH: { type: STRING, desc: peer account hash }
110  PEER_CAPABILITY_BITMAP: { type: INT32, desc: peer capability bitmap }
111  PEER_CUST_DATA: { type: STRING, desc: peer cust data }
112  PEER_IP: { type: STRING, desc: peer device ip }
113  PEER_PORT: { type: INT32, desc: peer device port }
114  PEER_BR_MAC: { type: STRING, desc: peer device br mac }
115  PEER_BLE_MAC: { type: STRING, desc: peer device ble mac }
116  ERR_MSG: { type: STRING, desc: error message }
117  ADDITIONAL_INFO: { type: STRING, desc: additional information }
118
119BUSCENTER_BEHAVIOR:
120  __BASE: {type: BEHAVIOR, level: MINOR, desc: bus center behavior }
121  ORG_PKG: {type: STRING, desc: organization module name }
122  FUNC: {type: STRING, desc: current function name }
123  HOST_PKG: {type: STRING, desc: host module name }
124  TO_CALL_PKG: {type: STRING, desc: to call module name }
125  BIZ_SCENE: {type: INT32, desc: business scene }
126  BIZ_STAGE: {type: INT32, desc: business stage }
127  STAGE_RES: {type: INT32, desc: stage result }
128  ERROR_CODE: { type: INT32, desc: error code }
129  AUTH_ID: { type: INT32, desc: auth id }
130  DISC_SERVER_TYPE: {type: INT32, desc: disc server type }
131  GEAR_CYCLE: {type: INT32, desc: gear cycle }
132  GEAR_DURATION: {type: INT32, desc: gear duration }
133  CONN_ID: { type: INT32, desc: connection id }
134  AUTH_LINK_TYPE: { type: INT32, desc: auth link type }
135  AUTH_COST_TIME: { type: INT32, desc: auth cost time }
136  LNN_TYPE: { type: INT32, desc: lnn type }
137  ONLINE_NUM: { type: INT32, desc: current online device num }
138  PEER_DEV_ABILITY: { type: INT32, desc: peer device ability }
139  PEER_DEV_INFO: { type: STRING, desc: peer device lnn info }
140  PEER_IP: { type: STRING, desc: peer device ip }
141  PEER_BR_MAC: { type: STRING, desc: peer device br mac }
142  PEER_BLE_MAC: { type: STRING, desc: peer device ble mac }
143  PEER_WIFI_MAC: { type: STRING, desc: peer device wifi mac }
144  PEER_PORT: { type: STRING, desc: peer device port }
145  PEER_UDID: { type: STRING, desc: peer device udid }
146  PEER_NET_ID: { type: STRING, desc: peer device net id }
147  PEER_DEV_TYPE: { type: STRING, desc: peer device type }
148
149BUSCENTER_AUDIT:
150  __BASE: {type: SECURITY, level: CRITICAL, desc: bus center security audit }
151  BIZ_SCENE: {type: INT32, desc: business scene }
152  BIZ_STAGE: {type: INT32, desc: business stage }
153  ORG_PKG: {type: STRING, desc: organization module name }
154  FUNC: {type: STRING, desc: current function name }
155  HOST_PKG: {type: STRING, desc: host module name }
156  RESULT: {type: INT32, desc: deal result }
157  ERROR_CODE: {type: INT32, desc: error code }
158  AUDIT_TYPE: {type: INT32, desc: audit type }
159  CONN_ID: {type: INT32, desc: connection id }
160  AUTH_LINK_TYPE: {type: INT32, desc: auth link type }
161  AUTH_REQUEST_ID: {type: INT32, desc: auth request id }
162  ONLINE_NUM: {type: INT32, desc: current online device num }
163  LOCAL_IP: {type: STRING, desc: local device ip }
164  LOCAL_BR_MAC: {type: STRING, desc: local device br mac }
165  LOCAL_BLE_MAC: {type: STRING, desc: local device ble mac }
166  LOCAL_UDID: {type: STRING, desc: local device udid }
167  LOCAL_NETWORK_ID: {type: STRING, desc: local device network id }
168  LOCAL_DEV_NAME: {type: STRING, desc: local device name }
169  PEER_IP: {type: STRING, desc: peer device ip }
170  PEER_BR_MAC: {type: STRING, desc: peer device br mac }
171  PEER_BLE_MAC: {type: STRING, desc: peer device ble mac }
172  PEER_UDID: {type: STRING, desc: peer device udid }
173  PEER_NETWORK_ID: {type: STRING, desc: peer device network id }
174  PEER_DEV_NAME: {type: STRING, desc: peer device name }
175  LOCAL_AUTH_PORT: {type: INT32, desc: local device auth port}
176  LOCAL_PROXY_PORT: {type: INT32, desc: local device proxy port }
177  LOCAL_SESSION_PORT: {type: INT32, desc: local device session port }
178  LOCAL_DEV_TYPE: {type: INT32, desc: local device type }
179  PEER_AUTH_PORT: {type: INT32, desc: peer device auth port }
180  PEER_PROXY_PORT: {type: INT32, desc: peer device proxy port }
181  PEER_SESSION_PORT: {type: INT32, desc: peer device session port }
182  PEER_DEV_TYPE: {type: INT32, desc: peer device type }
183  ATTACK_TIMES: {type: INT32, desc: attack times }
184  BE_ATTACKED_PORT: {type: INT32, desc: be attacked port }
185
186TRANSPORT_BEHAVIOR:
187  __BASE: {type: BEHAVIOR, level: MINOR, desc: transport behavior }
188  ORG_PKG: {type: STRING, desc: organization module name }
189  FUNC: {type: STRING, desc: current function name }
190  HOST_PKG: {type: STRING, desc: host module name }
191  TO_CALL_PKG: {type: STRING, desc: to call module name }
192  BIZ_SCENE: {type: INT32, desc: business scene }
193  BIZ_STAGE: {type: INT32, desc: business stage }
194  STAGE_RES: {type: INT32, desc: stage result }
195  ERROR_CODE: { type: INT32, desc: error code }
196  SESSION_NAME: {type: STRING, desc: session name }
197  DATA_TYPE: { type: INT32, desc: channel data type }
198  LOGIC_CHAN_TYPE: { type: INT32, desc: logic channel type }
199  LANE_ID: { type: INT32, desc: lane id }
200  PREFER_LINK_TYPE: { type: INT32, desc: preferred link type }
201  LANE_TRANS_TYPE: { type: INT32, desc: transport lane data type }
202  CHAN_ID: { type: INT32, desc: channel id }
203  REQ_ID: { type: INT32, desc: request id }
204  CONN_ID: { type: INT32, desc: connection id }
205  LINK_TYPE: { type: INT32, desc: link type }
206  AUTH_ID: { type: INT32, desc: auth id }
207  SOCKET_FD: { type: INT32, desc: socket fd }
208  TIME_CONSUMING: { type: INT32, desc: total cost time}
209  CHAN_SCORE: { type: INT32, desc: channel score }
210  PEER_CHAN_ID: { type: INT32, desc: peer channel id }
211  PEER_NET_ID: { type: STRING, desc: peer device net id }
212
213TRANSPORT_AUDIT:
214  __BASE: {type: SECURITY, level: CRITICAL, desc: transport recurity audit }
215  ORG_PKG: {type: STRING, desc: business module name }
216  FUNC: {type: STRING, desc: function name }
217  HOST_PKG: {type: STRING, desc: host module name }
218  BIZ_SCENE: {type: INT32, desc: business scene }
219  RESULT: {type: INT32, desc: deal result }
220  ERROR_CODE: { type: INT32, desc: error code }
221  AUDIT_TYPE: {type: INT32, desc: audit type }
222  LOCAL_IP: { type: STRING, desc: local device ip }
223  LOCAL_PORT: { type: STRING, desc: local device port }
224  LOCAL_DEV_ID: { type: STRING, desc: local device id }
225  LOCAL_DEV_TYPE: { type: INT32, desc: local device type }
226  LOCAL_SESS_NAME: { type: STRING, desc: local session name }
227  LOCAL_CHANNEL_ID: { type: INT32, desc: local channel id }
228  PEER_IP: { type: STRING, desc: peer device ip }
229  PEER_PORT: { type: STRING, desc: peer device port }
230  PEER_DEV_ID: { type: STRING, desc: peer device id }
231  PEER_DEV_TYPE: { type: INT32, desc: peer device type }
232  PEER_SESS_NAME: { type: STRING, desc: peer session name }
233  PEER_CHANNEL_ID: { type: INT32, desc: peer channel id }
234  CHANNEL_TYPE: { type: INT32, desc: channel type }
235  AUTH_ID: { type: INT32, desc: auth id }
236  REQ_ID: { type: INT32, desc: request id }
237  LINK_TYPE: { type: INT32, desc: link type }
238  CONN_ID: { type: INT32, desc: connection id }
239  SOCKET_FD: { type: INT32, desc: socket fd }
240  DATA_TYPE: { type: INT32, desc: channel data type }
241  DATA_LEN: { type: INT32, desc: channel data length }
242  DATA_SEQ: { type: INT32, desc: channel data seq }
243  COST_TIME: { type: INT32, desc: total cost time}
244  DATA_TRAFFIC: { type: INT32, desc: data traffic }
245  REQ_COUNT: { type: INT32, desc: request cpunt }
246
247CONNECTION_BEHAVIOR:
248  __BASE: {type: BEHAVIOR, level: MINOR, desc: connection behavior }
249  ORG_PKG: {type: STRING, desc: organization module name }
250  FUNC: {type: STRING, desc: current function name }
251  HOST_PKG: {type: STRING, desc: host module name }
252  TO_CALL_PKG: {type: STRING, desc: to call module name }
253  BIZ_SCENE: {type: INT32, desc: business scene }
254  BIZ_STAGE: {type: INT32, desc: business stage }
255  STAGE_RES: {type: INT32, desc: stage result }
256  ERROR_CODE: { type: INT32, desc: error code }
257  CONN_ID: { type: INT32, desc: connection id }
258  REQ_ID: { type: INT32, desc: request id }
259  LINK_TYPE: { type: INT32, desc: link type }
260  AUTH_TYPE: { type: INT32, desc: auth type }
261  AUTH_ID: { type: INT32, desc: auth id }
262  LNN_TYPE: { type: STRING, desc: lnn type }
263  EXPECT_ROLE: { type: INT32, desc: expect role }
264  COST_TIME: { type: INT32, desc: total cost time }
265  RSSI: { type: INT32, desc: rssi }
266  CHLOAD: { type: INT32, desc: chload }
267  FREQ: { type: INT32, desc: frequency }
268  CHALLENGE_CODE: { type: STRING, desc: challenge code }
269  PEER_IP: { type: STRING, desc: peer device ip }
270  PEER_BR_MAC: { type: STRING, desc: peer device br mac }
271  PEER_BLE_MAC: { type: STRING, desc: peer device ble mac }
272  PEER_WIFI_MAC: { type: STRING, desc: peer device wifi mac }
273  PEER_PORT: { type: STRING, desc: peer device port }
274  PEER_NET_ID: { type: STRING, desc: peer network id }
275  LOCAL_NET_ID: { type: STRING, desc: local network id }
276  BOOT_LINK_TYPE: { type: INT32, desc: boot link type }
277  IS_RENEGOTIATE: { type: INT32, desc: is renegotiate }
278  IS_REUSE: { type: INT32, desc: is reuse }
279  NEGOTIATE_TIME: { type: UINT64, desc: negotiate time }
280  LINK_TIME: { type: UINT64, desc: link time }
281
282CONNECTION_AUDIT:
283  __BASE: {type: SECURITY, level: CRITICAL, desc: connection security audit }
284  ORG_PKG: {type: STRING, desc: organization module name }
285  FUNC: {type: STRING, desc: current function name }
286  HOST_PKG: {type: STRING, desc: host module name }
287  TO_CALL_PKG: {type: STRING, desc: to call module name }
288  BIZ_SCENE: {type: INT32, desc: business scene }
289  ERROR_CODE: { type: INT32, desc: error code }
290  AUDIT_TYPE: {type: INT32, desc: audit type }
291  CONN_ID: { type: INT32, desc: connection id }
292  REQ_ID: { type: INT32, desc: request id }
293  LINK_TYPE: { type: INT32, desc: link type }
294  EXPECT_ROLE: { type: INT32, desc: expect role }
295  COST_TIME: { type: INT32, desc: total cost time}
296  CONN_TIMES: { type: INT32, desc: connect times }
297  FREQ: { type: STRING, desc: frequency}
298  CHALLENGE_CODE: { type: STRING, desc: challenge code }
299  PEER_BR_MAC: { type: STRING, desc: peer device br mac }
300  LOCAL_BR_MAC: { type: STRING, desc: local br mac }
301  PEER_BLE_MAC: { type: STRING, desc: peer device ble mac }
302  LOCAL_BLE_MAC: { type: STRING, desc: local ble mac }
303  PEER_WIFI_MAC: { type: STRING, desc: peer wifi mac }
304  PEER_DEV_TYPE: { type: STRING, desc: peer device type }
305  PEER_UDID: { type: STRING, desc: peer device udid }
306  LOCAL_UDID: { type: STRING, desc: local ble udid }
307  CONN_PAYLOAD: { type: STRING, desc: payload data }
308  LOCAL_DEV_NAME: { type: STRING, desc: local device name }
309  PEER_IP: { type: STRING, desc: peer device ip }
310  LOCAL_IP: { type: STRING, desc: loca ip }
311  PEER_PORT: { type: STRING, desc: peer port }
312  LOCAL_PORT: { type: STRING, desc: local port }
313
314IPC_BEHAVIOR:
315  __BASE: {type: BEHAVIOR, level: MINOR, desc: softbus ipc behavior dotting event }
316  ORG_PKG: {type: STRING, desc: business package name }
317  FUNC: {type: STRING, desc: fuction name}
318  BIZ_SCENE: {type: INT32, desc: business scene }
319  BIZ_STAGE: {type: INT32, desc: eack scene process stage }
320  STAGE_RES: {type: INT32, desc: stage result }
321  BIZ_STATE: {type: INT32, desc: current business result }
322  ERROR_CODE: {type: INT32, desc: error code }
323  COMM_TYPE: {type: INT32, desc: ipc communication type }
324  HOST_PKG: {type: STRING, desc: host package name }
325  TO_CALL_PKG: {type: STRING, desc: called package name }
326
327FIRST_DISC_DURATION:
328  __BASE: {type: STATISTIC, level: MINOR, desc: first discovery device duration }
329  SOFT_BUS_VERSION: {type: STRING, desc: softbus version }
330  PACKAGE_VERSION: {type: STRING, desc: package version }
331  LINK_TYPE: {type: UINT32, desc: link type ble 1 wlan 2 }
332  TOTAL_TIME: {type: UINT64, desc: total duration ms }
333  TOTAL_COUNT: {type: UINT32, desc: total count }
334  COUNT1: { type: UINT32, desc: number of times that the duration is longer than 500ms }
335  COUNT2: { type: UINT32, desc: number of times that the duration is longer than 1000ms }
336  COUNT3: { type: UINT32, desc: number of times that the duration is longer than 1500ms }
337  COUNT4: { type: UINT32, desc: number of times that the duration is longer than 2000ms }
338  COUNT5: { type: UINT32, desc: number of times that the duration is longer than 2500ms }
339
340DISCOVERY_DETAILS:
341  __BASE: {type: STATISTIC, level: MINOR, desc: ble discovery details }
342  MODULE: {type: STRING, desc: module }
343  DISCTYPE: {type: UINT32, desc: discovery type }
344  DURATION: {type: UINT64, desc: discovery duration }
345  REPTIMES: {type: UINT32, desc: report times }
346  DEVNUM: {type: UINT32, desc: report times }
347  DISCTIMES: {type: UINT32, desc: discovery times }
348
349DISCOVERY_BLE_RSSI:
350  __BASE: {type: STATISTIC, level: MINOR, desc: ble discovery rssi }
351  RANGEID: {type: UINT32, arrsize: 52, desc: range id }
352  RANGEDATA: {type: UINT32, arrsize: 52, desc: range data }
353
354CONN_DURATION:
355  __BASE: {type: STATISTIC, level: MINOR, desc: statistic the connection duration }
356  SOFT_BUS_VERSION: { type: STRING, desc: softbus version }
357  PACKAGE_VERSION: { type: STRING, desc: package version }
358  CALLER_PACKAGE_NAME: {type: STRING, desc: caller package name }
359  LINK_TYPE: { type: UINT32, desc: link type br 0 ble 1 wlan 2 p2p 3 hml 4 }
360  FAIL_TOTAL_TIME: { type: UINT64, desc: fail total duration ms }
361  FAIL_TOTAL_COUNT: { type: UINT32, desc: fail total count }
362  TOTAL_TIME: { type: UINT64, desc: total duration ms }
363  TOTAL_COUNT: { type: UINT32, desc: total count }
364  COUNT1: { type: UINT32, desc: number of times that the duration is longer than 1500ms }
365  COUNT2: { type: UINT32, desc: number of times that the duration is longer than 2000ms }
366  COUNT3: { type: UINT32, desc: number of times that the duration is longer than 2500ms }
367  COUNT4: { type: UINT32, desc: number of times that the duration is longer than 3000ms }
368  COUNT5: { type: UINT32, desc: number of times that the duration is longer than 4000ms }
369
370PROCESS_STEP_DURATION:
371  __BASE: {type: STATISTIC, level: MINOR, desc: statistic the p2p or hml process duration }
372  SOFT_BUS_VERSION: { type: STRING, desc: softbus version }
373  PACKAGE_VERSION: { type: STRING, desc: package version }
374  PROCESS_STEP: {type: UINT32, desc: process step }
375  LINK_TYPE: { type: UINT32, desc: link type br 0 ble 1 wlan 2 p2p 3 hml 4 }
376  TOTAL_TIME: { type: UINT64, desc: total duration ms }
377  TOTAL_COUNT: { type: UINT32, desc: total count }
378  COUNT1: { type: UINT32, desc: number of times that the duration is longer than 1500ms }
379  COUNT2: { type: UINT32, desc: number of times that the duration is longer than 2000ms }
380  COUNT3: { type: UINT32, desc: number of times that the duration is longer than 2500ms }
381  COUNT4: { type: UINT32, desc: number of times that the duration is longer than 3000ms }
382  COUNT5: { type: UINT32, desc: number of times that the duration is longer than 4000ms }
383
384TRANSPORT_KPI:
385  __BASE: {type: STATISTIC, level: MINOR, desc: success rate of establishing softbus transmission}
386  LINK_TYPE: {type: INT32, desc: linktype}
387  TOTAL_TIME: {type: INT64, desc: total duration ms}
388  TOTAL_COUNT: {type: INT32, desc: total count}
389  FAIL_TOTAL_TIME: {type: INT64, desc: fail total time ms}
390  FAIL_TOTAL_COUNT: {type: INT32, desc: fail total count}
391  PACKAGE_VERSION: {type: STRING, desc: package version}
392  SOFT_BUS_VERSION: {type: STRING, desc: softbus version}
393  COUNT1: {type: INT32, desc: Number of times that the duration is longer than 1s}
394  COUNT2: {type: INT32, desc: Number of times that the duration is longer than 2s}
395  COUNT3: {type: INT32, desc: Number of times that the duration is longer than 4s}
396  COUNT4: {type: INT32, desc: Number of times that the duration is longer than 7s}
397  COUNT5: {type: INT32, desc: Number of times that the duration is longer than 11s}
398  CALLER_PACKAGE_NAME: {type: STRING, desc: caller package name}
399
400CALLED_API_INFO:
401  __BASE: {type: STATISTIC, level: MINOR, desc: api called APP infor}
402  APP_NAME: {type: STRING, desc: caller package name}
403  API_NAME: {type: STRING, desc: called api name}
404  TOTAL_COUNT: {type: INT32, desc: total count}
405  SOFT_BUS_VERSION: {type: STRING, desc: softbus version}
406  PACKAGE_VERSION: {type: STRING, desc: package version}
407
408CALLED_API_CNT:
409  __BASE: {type: STATISTIC, level: MINOR, desc: api called count}
410  API_NAME: {type: STRING, desc: called api name}
411  TOTAL_COUNT: {type: INT32, desc: total count}
412
413TRANS_OPEN_SESSION_CNT:
414  __BASE: {type: STATISTIC, level: MINOR, desc: the success count and the fail count of open session }
415  SUCCESS_CNT: {type: UINT32, desc: the success count of open session }
416  FAIL_CNT: {type: UINT32, desc: the fail count of open session }
417  SUCCESS_RATE: {type: FLOAT, desc: the success rate of open session }
418
419TRANS_OPEN_SESSION_TIME_COST:
420  __BASE: {type: STATISTIC, level: MINOR, desc: the time comsuming of open session }
421  MAX_TIME_COST: {type: UINT32, desc: the max time comsuming of open session }
422  MIN_TIME_COST: {type: UINT32, desc: the min time comsuming of open session }
423  AVE_TIME_COST: {type: UINT32, desc: the average time comsuming of open session }
424  TIMES_UNDER_500MS: {type: UINT32, desc: the times unders 500ms of open session }
425  TIMES_BETWEEN_500MS_1S: {type: UINT32, desc: the times between 500ms to 1s of open session }
426  TIMES_BETWEEN_1S_2S: {type: UINT32, desc: the times between 1s to 2s of open session }
427  TIMES_ABOVE_2S: {type: UINT32, desc: the times above 2s of open session }
428
429TRANS_FAULT:
430  __BASE: {type: FAULT, level: CRITICAL, desc: the transmission fail }
431  ERROR_CODE: {type: INT32, desc: error code }
432
433TRANS_INFO:
434  __BASE: {type: BEHAVIOR, level: MINOR, desc: the transmission info }
435  ERROR_CODE: {type: STRING, desc: info msg or err msg }
436
437BUS_CENTER_FAULT_EVT:
438  __BASE: {type: FAULT, level: CRITICAL, desc: bus center all the exception}
439  MODULE_TYPE: {type: UINT32, desc: module type}
440  LINK_TYPE: {type: UINT32, desc: connection type}
441  CHANNEL_QUALITY: {type: FLOAT, desc: channel quality}
442  ERROR_CODE: {type: UINT32, desc: error code}
443  PEER_DEVICE_TYPE: {type: UINT32, desc: peer device type}
444  ONLINE_DEVICE_NUM: {type: UINT32, desc: online device count}
445  CONNECTION_NUM: {type: UINT32, desc: connected device count}
446  NIGHT_MODE: {type: UINT32, desc: night mode}
447  WIFI_STATUS: {type: UINT32, desc: wifi status}
448  BLUETOOTH_STATUS: {type: UINT32, desc: bluetooth status}
449  CALLER_APP_MODE: {type: UINT32, desc: caller app mode}
450  SUB_ERROR_CODE: {type: UINT32, desc: sub error code}
451  CONN_BR_NUM: {type: UINT32, desc: the count of device connected by br}
452  CONN_BLE_NUM: {type: UINT32, desc: the count of device connected by ble}
453  BLUETOOTH_BROADCAST_STATUS: {type: BOOL, desc: bluetooth broadcast status}
454  BLUETOOTH_SCAN_STATUS: {type: BOOL, desc: bluetooth scan status}
455  BUSUNINESS_NAME: {type: STRING, desc: caller business name}
456  CALLER_PACKAGE_NAME: {type: STRING, desc: caller package name}
457  REMOTE_BIZ_TRUNCATED_UUID: {type: STRING, desc: remote biz truncated uuid}
458  SOFT_BUS_VERSION: {type: STRING, desc: softbus version}
459  PACKAGE_VERSION: {type: STRING, desc: softbus package version}
460
461ONLINE_DURATION:
462  __BASE: {type: STATISTIC, level: MINOR, desc: the time comsuming of online}
463  TOTAL_TIME: {type: UINT64, desc: device online total time}
464  TOTAL_COUNT: {type: UINT32, desc: device online total count}
465  COUNT1: {type: UINT32, desc: the times above 10s of online}
466  COUNT2: {type: UINT32, desc: the times above 30s of online}
467  COUNT3: {type: UINT32, desc: the times above 5min of online}
468  COUNT4: {type: UINT32, desc: the times above 10min of online}
469  COUNT5: {type: UINT32, desc: the times above 15min of online}
470  SOFT_BUS_VERSION: {type: STRING, desc: softbus version}
471  PACKAGE_VERSION: {type: STRING, desc: softbus package version}
472
473AUTH_DURATION:
474  __BASE: {type: STATISTIC, level: MINOR, desc: stastistic auth rate and time cost}
475  LINK_TYPE: {type: UINT32, desc: connection type}
476  TOTAL_TIME: {type: UINT64, desc: the total time cost of auth}
477  TOTAL_COUNT: {type: UINT32, desc: device auth total count}
478  COUNT1: {type: UINT32, desc: the times above 2000ms of single auth}
479  COUNT2: {type: UINT32, desc: the times above 2500ms of single auth}
480  COUNT3: {type: UINT32, desc: the times above 3000ms of single auth}
481  COUNT4: {type: UINT32, desc: the times above 3500ms of single auth}
482  COUNT5: {type: UINT32, desc: the times above 4000ms of single auth}
483  FAIL_TOTAL_COUNT: {type: UINT32, desc: auth failed total count}
484  FAIL_TOTAL_TIME: {type: UINT64, desc: auth failed total time}
485  CONNECT_FAIL_TOTAL_COUNT: {type: UINT32, desc: connect failed total count}
486  AUTH_FAIL_TOTAL_COUNT: {type: UINT32, desc: auth failed total count}
487  EXCHANGE_FAIL_TOTAL_COUNT: {type: UINT32, desc: exchange info failed total count}
488  SOFT_BUS_VERSION: {type: STRING, desc: softbus version}
489  PACKAGE_VERSION: {type: STRING, desc: softbus package version}
490
491BUS_CENTER_DURATION:
492  __BASE: {type: STATISTIC, level: MINOR, desc: stastistic bus center lnn duration}
493  LINK_TYPE: {type: UINT32, desc: connection type}
494  TOTAL_TIME: {type: UINT64, desc: the total time cost of lnn}
495  TOTAL_COUNT: {type: UINT32, desc: lnn total count}
496  COUNT1: {type: UINT32, desc: the times above 800ms of single lnn}
497  COUNT2: {type: UINT32, desc: the times above 1000ms of single lnn}
498  COUNT3: {type: UINT32, desc: the times above 1200ms of single lnn}
499  COUNT4: {type: UINT32, desc: the times above 1500ms of single lnn}
500  COUNT5: {type: UINT32, desc: the times above 1800ms of single lnn}
501  SOFT_BUS_VERSION: {type: STRING, desc: softbus version}
502  PACKAGE_VERSION: {type: STRING, desc: softbus package version}
503
504DEVICE_ONLINE_EVT:
505  __BASE: {type: STATISTIC, level: MINOR, desc: report the online device info}
506  ONLINE_DEVICE_NUM: {type: UINT32, desc: online device count}
507  BT_ONLINE_DEVICE_NUM: {type: UINT32, desc: online device count connection medium is bt}
508  WIFI_ONLINE_DEVICE_NUM: {type: UINT32, desc: online device count connection medium is wifi}
509  PEER_DEVICE_TYPE: {type: UINT32, desc: peer device type}
510  INSERT_PROFILE_RESULT: {type: UINT32, desc: the result of insert device info to profile}
511  PEER_SOFT_BUS_VERSION: {type: STRING, desc: softbus version of peer device}
512  PEER_DEVICE_NAME: {type: STRING, desc: device name of peer device}
513  SOFT_BUS_VERSION: {type: STRING, desc: softbus version of local device}
514  PEER_PACKAGE_VERSION: {type: STRING, desc: softbus package version of peer device}
515  PACKAGE_VERSION: {type: STRING, desc: softbus package version of local device}
516
517DEVICE_DISCOVERY:
518  __BASE: {type: STATISTIC, level: MINOR, desc: stastistic device discovery count}
519  START_DISCOVERY_COUNT: {type: UINT64, desc: start discovery count}
520  SEND_BROADCAST_COUNT: {type: UINT64, desc: send broadcast count}
521  RECEIVE_BROADCAST_COUNT: {type: UINT64, desc: receiver broadcast count}
522  DEVICE_FOUND_COUNT: {type: UINT64, desc: device found count}
523  BUSINESS_DISCOVERY_COUNT: {type: UINT64, desc: business discovery count}
524  BUSINESS_DISCOVERY_DETAIL: {type: STRING, desc: business discovery detail info}
525  SOFT_BUS_VERSION: {type: STRING, desc: softbus version}
526  PACKAGE_VERSION: {type: STRING, desc: softbus package version}
527
528APP_DISCOVERY:
529  __BASE: {type: STATISTIC, level: MINOR, desc: stastistic app discovery count}
530  APP_NAME: {type: STRING, desc: name of app who discovery device}
531  APP_DISCOVERY_COUNT: {type: UINT32, desc: app discovery count}
532
533DFILE_WAIT_HEADER_TIMEOUT_EVT:
534  __BASE: {type: FAULT, level: CRITICAL, desc: wait file header time out}
535  ERROR_CODE: {type: STRING, desc: error code}
536
537DFILE_SERVER_CREATE_EVT:
538  __BASE: {type: BEHAVIOR, level: MINOR, desc: server created}
539
540DFILE_CLIENT_CREATE_EVT:
541  __BASE: {type: BEHAVIOR, level: MINOR, desc: client created}
542
543DFILE_SEND_BEGIN_EVT:
544  __BASE: {type: BEHAVIOR, level: MINOR, desc: send begin}
545
546DFILE_PEER_SHUTTED_EVT:
547  __BASE: {type: FAULT, level: CRITICAL, desc: peer shutted}
548
549DFILE_TRANS_COMPLETE_EVT:
550  __BASE: {type: STATISTIC, level: MINOR, desc: transfer complete}
551  TRANSRATE: {type: STRING, desc: transmission speed}
552
553DFILE_ACCEPT_SOCKET_EVT:
554  __BASE: {type: BEHAVIOR, level: MINOR, desc: accept socket}
555
556FILLP_LINK_EVT:
557  __BASE: {type: FAULT, level: MINOR, desc: fillp link disconnect}
558  SOCK_IDX: {type: UINT32, desc: fillp socket index}
559  LINK_EVT_TYPE: {type: UINT8, desc: fillp link event type}
560
561FILLP_PKT_EVT:
562  __BASE: {type: STATISTIC, level: MINOR, desc: fillp data package event}
563  SOCK_IDX: {type: UINT32, desc: fillp socket index}
564  PKT_EVT_TYPE: {type: UINT8, desc: fillp package event type}
565  DROP_CNT: {type: UINT32, desc: fillp package dropcnt}
566
567FILLP_SOCK_QOS_EVT:
568  __BASE: {type: STATISTIC, level: MINOR, desc: fillp socket Qos event}
569  SOCK_IDX: {type: UINT32, desc: fillp socket index}
570  RTT: {type: UINT32, desc: fillp socket rtt}
571  TOTAL_RECV_PKT: {type: UINT32, desc: fillp socket recv package num}
572  TOTAL_RECV_BYTES: {type: UINT32, desc: fillp socket recv bytes}
573  TOTAL_SEND_PKT: {type: UINT32, desc: fillp socket send package num}
574  TOTAL_SEND_BYTES: {type: UINT32, desc: fillp socket send bytes}
575  JITTER: {type: UINT32, desc: fillp socket jitter}
576
577DFINDER_STATS:
578  __BASE: {type: STATISTIC, level: MINOR, desc: dfinder statistics}
579  INVALID_OPTION_CNT: {type: UINT64, desc: the count of invalid option}
580  BUILD_PKT_FAIL_CNT: {type: UINT64, desc: the count when building packet failed}
581  INVALID_RSP_CNT: {type: UINT64, desc: the count of invalid message}
582  OVER_DEVICE_LIMIT_CNT: {type: UINT64, desc: the count when the device number is over limit}