• 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  OS_TYPE: { type: INT32, desc: peer os type}
75
76DISCOVER_AUDIT:
77  __BASE: {type: SECURITY, level: CRITICAL, desc: discovery security audit }
78  ORG_PKG: {type: STRING, desc: organization module name }
79  FUNC: {type: STRING, desc: current function name }
80  HOST_PKG: {type: STRING, desc: host module name }
81  BIZ_SCENE: {type: INT32, desc: business scene }
82  RESULT: { type: INT32, desc: deal result }
83  ERROR_CODE: { type: INT32, desc: error code }
84  AUDIT_TYPE: {type: INT32, desc: audit type }
85  BROADCAST_TYPE: { type: INT32, desc: broadcast type }
86  BROADCAST_FREQ: { type: INT32, desc: broadcast frequency }
87  ADV_COUNT: { type: INT32, desc: advertise count }
88  ADV_DURATION: { type: INT32, desc: advertise duration }
89  SCAN_INTERVAL: { type: INT32, desc: scan interval }
90  SCAN_WINDOW: { type: INT32, desc: scan window }
91  DISC_MODE: { type: INT32, desc: discovery mode }
92  MEDIUM_TYPE: { type: INT32, desc: medium type }
93  ADV_CHANNEL: { type: INT32, desc: adv channel }
94  SCAN_TYPE: { type: INT32, desc: scan type }
95  SCAN_ID: { type: INT32, desc: scan id }
96  SCAN_LISTENER_ID: { type: INT32, desc: scan listener id }
97  LOCAL_UDID: { type: STRING, desc: local device udid }
98  LOCAL_DEV_NAME: { type: STRING, desc: local device name }
99  LOCAL_DEV_TYPE: { type: STRING, desc: local device type }
100  LOCAL_ACCOUNT_HASH: { type: STRING, desc: local account hash }
101  LOCAL_CAPABILITY_BITMAP: { type: INT32, desc: local capability bitmap }
102  LOCAL_CUST_DATA: { type: STRING, desc: local cust data }
103  LOCAL_IP: { type: STRING, desc: local device ip }
104  LOCAL_PORT: { type: INT32, desc: local device port }
105  LOCAL_BR_MAC: { type: STRING, desc: local device br mac }
106  LOCAL_BLE_MAC: { type: STRING, desc: local device ble mac }
107  PEER_UDID: { type: STRING, desc: peer device udid }
108  PEER_DEV_NAME: { type: STRING, desc: peer device name }
109  PEER_DEV_TYPE: { type: STRING, desc: peer device type }
110  PEER_ACCOUNT_HASH: { type: STRING, desc: peer account hash }
111  PEER_CAPABILITY_BITMAP: { type: INT32, desc: peer capability bitmap }
112  PEER_CUST_DATA: { type: STRING, desc: peer cust data }
113  PEER_IP: { type: STRING, desc: peer device ip }
114  PEER_PORT: { type: INT32, desc: peer device port }
115  PEER_BR_MAC: { type: STRING, desc: peer device br mac }
116  PEER_BLE_MAC: { type: STRING, desc: peer device ble mac }
117  ERR_MSG: { type: STRING, desc: error message }
118  ADDITIONAL_INFO: { type: STRING, desc: additional information }
119
120BUSCENTER_BEHAVIOR:
121  __BASE: {type: BEHAVIOR, level: MINOR, desc: bus center behavior }
122  ORG_PKG: {type: STRING, desc: organization module name }
123  FUNC: {type: STRING, desc: current function name }
124  HOST_PKG: {type: STRING, desc: host module name }
125  TO_CALL_PKG: {type: STRING, desc: to call module name }
126  BIZ_SCENE: {type: INT32, desc: business scene }
127  BIZ_STAGE: {type: INT32, desc: business stage }
128  STAGE_RES: {type: INT32, desc: stage result }
129  ERROR_CODE: { type: INT32, desc: error code }
130  AUTH_ID: { type: INT32, desc: auth id }
131  DISC_SERVER_TYPE: {type: INT32, desc: disc server type }
132  GEAR_CYCLE: {type: INT32, desc: gear cycle }
133  GEAR_DURATION: {type: INT32, desc: gear duration }
134  CONN_ID: { type: INT32, desc: connection id }
135  AUTH_LINK_TYPE: { type: INT32, desc: auth link type }
136  AUTH_COST_TIME: { type: INT32, desc: auth cost time }
137  LNN_TYPE: { type: INT32, desc: lnn type }
138  ONLINE_NUM: { type: INT32, desc: current online device num }
139  PEER_DEV_ABILITY: { type: INT32, desc: peer device ability }
140  ONLINE_TYPE: { type: INT32, desc: online type }
141  OS_TYPE: { type: INT32, desc: os type }
142  CONN_ONLINE_REASON: { type: UINT32, desc: connect online reason }
143  STRATEGY_FOR_LNN_BLE: { type: UINT32, desc: strategy for lnn ble }
144  TIME_LATENCY: { type: UINT64, desc: time latency }
145  TRIGGER_REASON: { type: INT32, desc: lnn trigger reason }
146  AUTH_SEQ: { type: INT64, desc: auth seq }
147  ONLINE_DEV_CNT: { type: INT32, desc: current online device num for time latency }
148  INTERVAL: { type: INT32, desc: broadcast interval }
149  LANE_LINK_TYPE: { type: INT32, desc: lane link type }
150  HML_CHANNEL_ID: { type: INT32, desc: hml channel id }
151  P2P_CHANNEL_ID: { type: INT32, desc: p2p channel id }
152  STA_CHANNEL_ID: { type: INT32, desc: sta channel id }
153  AP_CHANNEL_ID: { type: INT32, desc: ap channel id }
154  LANE_REQ_ID: { type: INT32, desc: lane request id }
155  MIN_BW: { type: INT32, desc: lane qos info min bw }
156  MAX_LANE_LATENCY: { type: INT32, desc: lane qos info max lane letency }
157  MIN_LANE_LATENCY: { type: INT32, desc: lane qos info min lane letency }
158  IS_WIFI_DIRECT_REUSE: { type: INT32, desc: lane is wifi direct reuse }
159  BAND_WIDTH: { type: INT32, desc: lane band width }
160  GUIDE_TYPE: { type: INT32, desc: lane guide type }
161  LANE_STAGE: { type: INT32, desc: lane stage }
162  LANE_HANDLE: { type: INT32, desc: lane handle }
163  QOS_RTT_LEVEL: { type: INT32, desc: lane qos info rtt level }
164  TRANS_TYPE: { type: INT32, desc: lane trans type }
165  LOCAL_CAP: { type: INT32, desc: lane local cap }
166  REMOTE_CAP: { type: INT32, desc: lane remote cap }
167  IS_GUIDE_RETRY: { type: INT32, desc: lane is guide retry }
168  WIFI_DETECT_STATE: { type: INT32, desc: lane wifi detect state }
169  WIFI_DETECT_TIME: { type: INT64, desc: lane wifi detect time }
170  BUILD_LINK_TIME: { type: INT64, desc: lane build link time }
171  IS_HML_REUSE: { type: INT32, desc: lane is hml reuse }
172  IS_DELAY_FREE: { type: INT32, desc: lane is delay free }
173  FREE_LINK_TIME: { type: INT64, desc: lane free link time }
174  PEER_DEV_INFO: { type: STRING, desc: peer device lnn info }
175  PEER_IP: { type: STRING, desc: peer device ip }
176  PEER_BR_MAC: { type: STRING, desc: peer device br mac }
177  PEER_BLE_MAC: { type: STRING, desc: peer device ble mac }
178  PEER_WIFI_MAC: { type: STRING, desc: peer device wifi mac }
179  PEER_PORT: { type: STRING, desc: peer device port }
180  PEER_UDID: { type: STRING, desc: peer device udid }
181  PEER_NET_ID: { type: STRING, desc: peer device net id }
182  LOCAL_DEV_TYPE: { type: STRING, desc: local device type }
183  PEER_DEV_TYPE: { type: STRING, desc: peer device type }
184  LOCAL_UDID_HASH: { type: STRING, desc: local device udid hash}
185  PEER_UDID_HASH: { type: STRING, desc: peer device udid hash}
186
187BUSCENTER_AUDIT:
188  __BASE: {type: SECURITY, level: CRITICAL, desc: bus center security audit }
189  BIZ_SCENE: {type: INT32, desc: business scene }
190  BIZ_STAGE: {type: INT32, desc: business stage }
191  ORG_PKG: {type: STRING, desc: organization module name }
192  FUNC: {type: STRING, desc: current function name }
193  HOST_PKG: {type: STRING, desc: host module name }
194  RESULT: {type: INT32, desc: deal result }
195  ERROR_CODE: {type: INT32, desc: error code }
196  AUDIT_TYPE: {type: INT32, desc: audit type }
197  CONN_ID: {type: INT32, desc: connection id }
198  AUTH_LINK_TYPE: {type: INT32, desc: auth link type }
199  AUTH_REQUEST_ID: {type: INT32, desc: auth request id }
200  ONLINE_NUM: {type: INT32, desc: current online device num }
201  LOCAL_IP: {type: STRING, desc: local device ip }
202  LOCAL_BR_MAC: {type: STRING, desc: local device br mac }
203  LOCAL_BLE_MAC: {type: STRING, desc: local device ble mac }
204  LOCAL_UDID: {type: STRING, desc: local device udid }
205  LOCAL_NETWORK_ID: {type: STRING, desc: local device network id }
206  LOCAL_DEV_NAME: {type: STRING, desc: local device name }
207  PEER_IP: {type: STRING, desc: peer device ip }
208  PEER_BR_MAC: {type: STRING, desc: peer device br mac }
209  PEER_BLE_MAC: {type: STRING, desc: peer device ble mac }
210  PEER_UDID: {type: STRING, desc: peer device udid }
211  PEER_NETWORK_ID: {type: STRING, desc: peer device network id }
212  PEER_DEV_NAME: {type: STRING, desc: peer device name }
213  LOCAL_AUTH_PORT: {type: INT32, desc: local device auth port}
214  LOCAL_PROXY_PORT: {type: INT32, desc: local device proxy port }
215  LOCAL_SESSION_PORT: {type: INT32, desc: local device session port }
216  LOCAL_DEV_TYPE: {type: INT32, desc: local device type }
217  PEER_AUTH_PORT: {type: INT32, desc: peer device auth port }
218  PEER_PROXY_PORT: {type: INT32, desc: peer device proxy port }
219  PEER_SESSION_PORT: {type: INT32, desc: peer device session port }
220  PEER_DEV_TYPE: {type: INT32, desc: peer device type }
221  ATTACK_TIMES: {type: INT32, desc: attack times }
222  BE_ATTACKED_PORT: {type: INT32, desc: be attacked port }
223  HEARTBEAT_EVENT_TYPE: {type: INT32, desc: heartbeat event type }
224
225TRANSPORT_BEHAVIOR:
226  __BASE: {type: BEHAVIOR, level: MINOR, desc: transport behavior }
227  ORG_PKG: {type: STRING, desc: organization module name }
228  FUNC: {type: STRING, desc: current function name }
229  HOST_PKG: {type: STRING, desc: host module name }
230  TO_CALL_PKG: {type: STRING, desc: to call module name }
231  BIZ_SCENE: {type: INT32, desc: business scene }
232  BIZ_STAGE: {type: INT32, desc: business stage }
233  STAGE_RES: {type: INT32, desc: stage result }
234  ERROR_CODE: { type: INT32, desc: error code }
235  SESSION_NAME: {type: STRING, desc: session name }
236  DATA_TYPE: { type: INT32, desc: channel data type }
237  LOGIC_CHAN_TYPE: { type: INT32, desc: logic channel type }
238  LANE_ID: { type: INT64, desc: lane id }
239  PREFER_LINK_TYPE: { type: INT32, desc: preferred link type }
240  LANE_TRANS_TYPE: { type: INT32, desc: transport lane data type }
241  CHAN_ID: { type: INT32, desc: channel id }
242  REQ_ID: { type: INT32, desc: request id }
243  CONN_ID: { type: INT32, desc: connection id }
244  LINK_TYPE: { type: INT32, desc: link type }
245  AUTH_ID: { type: INT32, desc: auth id }
246  SOCKET_FD: { type: INT32, desc: socket fd }
247  TIME_CONSUMING: { type: INT32, desc: total cost time}
248  CHAN_SCORE: { type: INT32, desc: channel score }
249  PEER_CHAN_ID: { type: INT32, desc: peer channel id }
250  PEER_NET_ID: { type: STRING, desc: peer device net id }
251  PEER_UDID: { type: STRING, desc: peer udid }
252  PEER_DEV_VER: { type: STRING, desc: peer device build version }
253  LOCAL_UDID: { type: STRING, desc: local udid }
254  OS_TYPE: { type: INT32, desc: os type }
255  SESSION_ID: { type: INT32, desc: session id }
256  DEVICE_STATE: { type: INT32, desc: device state }
257  FIRST_TOKEN_NAME: { type: STRING, desc: first token name }
258  FIRST_TOKEN_ID: { type: UINT64, desc: first token id }
259  FIRST_TOKEN_TYPE: { type: INT32, desc: first token type }
260  MIN_BW: { type: INT32, desc: min bw }
261  MAX_LATENCY: { type: INT32, desc: max latency }
262  MIN_LATENCY: { type: INT32, desc: min latency }
263
264TRANSPORT_AUDIT:
265  __BASE: {type: SECURITY, level: CRITICAL, desc: transport recurity audit }
266  ORG_PKG: {type: STRING, desc: business module name }
267  FUNC: {type: STRING, desc: function name }
268  HOST_PKG: {type: STRING, desc: host module name }
269  BIZ_SCENE: {type: INT32, desc: business scene }
270  RESULT: {type: INT32, desc: deal result }
271  ERROR_CODE: { type: INT32, desc: error code }
272  AUDIT_TYPE: {type: INT32, desc: audit type }
273  LOCAL_IP: { type: STRING, desc: local device ip }
274  LOCAL_PORT: { type: STRING, desc: local device port }
275  LOCAL_DEV_ID: { type: STRING, desc: local device id }
276  LOCAL_DEV_TYPE: { type: INT32, desc: local device type }
277  LOCAL_SESS_NAME: { type: STRING, desc: local session name }
278  LOCAL_CHANNEL_ID: { type: INT32, desc: local channel id }
279  PEER_IP: { type: STRING, desc: peer device ip }
280  PEER_PORT: { type: STRING, desc: peer device port }
281  PEER_DEV_ID: { type: STRING, desc: peer device id }
282  PEER_DEV_TYPE: { type: INT32, desc: peer device type }
283  PEER_SESS_NAME: { type: STRING, desc: peer session name }
284  PEER_CHANNEL_ID: { type: INT32, desc: peer channel id }
285  CHANNEL_TYPE: { type: INT32, desc: channel type }
286  AUTH_ID: { type: INT32, desc: auth id }
287  REQ_ID: { type: INT32, desc: request id }
288  LINK_TYPE: { type: INT32, desc: link type }
289  CONN_ID: { type: INT32, desc: connection id }
290  SOCKET_FD: { type: INT32, desc: socket fd }
291  DATA_TYPE: { type: INT32, desc: channel data type }
292  DATA_LEN: { type: INT32, desc: channel data length }
293  DATA_SEQ: { type: INT32, desc: channel data seq }
294  COST_TIME: { type: INT32, desc: total cost time}
295  DATA_TRAFFIC: { type: INT32, desc: data traffic }
296  REQ_COUNT: { type: INT32, desc: request cpunt }
297
298CONNECTION_BEHAVIOR:
299  __BASE: {type: BEHAVIOR, level: MINOR, desc: connection behavior }
300  ORG_PKG: {type: STRING, desc: organization module name }
301  FUNC: {type: STRING, desc: current function name }
302  HOST_PKG: {type: STRING, desc: host module name }
303  TO_CALL_PKG: {type: STRING, desc: to call module name }
304  BIZ_SCENE: {type: INT32, desc: business scene }
305  BIZ_STAGE: {type: INT32, desc: business stage }
306  STAGE_RES: {type: INT32, desc: stage result }
307  ERROR_CODE: { type: INT32, desc: error code }
308  CONN_ID: { type: INT32, desc: connection id }
309  REQ_ID: { type: INT32, desc: request id }
310  LINK_TYPE: { type: INT32, desc: link type }
311  AUTH_TYPE: { type: INT32, desc: auth type }
312  AUTH_ID: { type: INT32, desc: auth id }
313  LNN_TYPE: { type: STRING, desc: lnn type }
314  EXPECT_ROLE: { type: INT32, desc: expect role }
315  COST_TIME: { type: INT32, desc: total cost time }
316  RSSI: { type: INT32, desc: rssi }
317  CHLOAD: { type: INT32, desc: chload }
318  FREQ: { type: INT32, desc: frequency }
319  CONN_PROTOCOL: { type: INT32, desc: connection protocol }
320  CONN_ROLE: { type: INT32, desc: connection role }
321  CONN_RC_DELTA: { type: INT32, desc: connection request count delta }
322  CONN_RC: { type: INT32, desc: connection request count }
323  SUPT_FEATURE: { type: INT32, desc: support feature }
324  MODULE_ID: { type: INT32, desc: module id }
325  PROTOCOL_TYPE: { type: UINT32, desc: protocol type }
326  FD: { type: INT32, desc: local fd }
327  CFD: { type: INT32, desc: client fd when local is server side }
328  CHALLENGE_CODE: { type: STRING, desc: challenge code }
329  PEER_IP: { type: STRING, desc: peer device ip }
330  PEER_BR_MAC: { type: STRING, desc: peer device br mac }
331  PEER_BLE_MAC: { type: STRING, desc: peer device ble mac }
332  PEER_WIFI_MAC: { type: STRING, desc: peer device wifi mac }
333  PEER_PORT: { type: STRING, desc: peer device port }
334  PEER_NET_ID: { type: STRING, desc: peer network id }
335  PEER_UDID: { type: STRING, desc: peer udid }
336  PEER_DEV_TYPE: { type: STRING, desc: peer device type }
337  LOCAL_NET_ID: { type: STRING, desc: local network id }
338  BOOT_LINK_TYPE: { type: INT32, desc: boot link type }
339  IS_RENEGOTIATE: { type: INT32, desc: is renegotiate }
340  IS_REUSE: { type: INT32, desc: is reuse }
341  NEGOTIATE_TIME: { type: UINT64, desc: negotiate time }
342  LINK_TIME: { type: UINT64, desc: link time }
343
344CONNECTION_AUDIT:
345  __BASE: {type: SECURITY, level: CRITICAL, desc: connection security audit }
346  ORG_PKG: {type: STRING, desc: organization module name }
347  FUNC: {type: STRING, desc: current function name }
348  HOST_PKG: {type: STRING, desc: host module name }
349  TO_CALL_PKG: {type: STRING, desc: to call module name }
350  BIZ_SCENE: {type: INT32, desc: business scene }
351  ERROR_CODE: { type: INT32, desc: error code }
352  AUDIT_TYPE: {type: INT32, desc: audit type }
353  CONN_ID: { type: INT32, desc: connection id }
354  REQ_ID: { type: INT32, desc: request id }
355  LINK_TYPE: { type: INT32, desc: link type }
356  EXPECT_ROLE: { type: INT32, desc: expect role }
357  COST_TIME: { type: INT32, desc: total cost time}
358  CONN_TIMES: { type: INT32, desc: connect times }
359  FREQ: { type: STRING, desc: frequency}
360  CHALLENGE_CODE: { type: STRING, desc: challenge code }
361  PEER_BR_MAC: { type: STRING, desc: peer device br mac }
362  LOCAL_BR_MAC: { type: STRING, desc: local br mac }
363  PEER_BLE_MAC: { type: STRING, desc: peer device ble mac }
364  LOCAL_BLE_MAC: { type: STRING, desc: local ble mac }
365  PEER_WIFI_MAC: { type: STRING, desc: peer wifi mac }
366  PEER_DEV_TYPE: { type: STRING, desc: peer device type }
367  PEER_UDID: { type: STRING, desc: peer device udid }
368  LOCAL_UDID: { type: STRING, desc: local ble udid }
369  CONN_PAYLOAD: { type: STRING, desc: payload data }
370  LOCAL_DEV_NAME: { type: STRING, desc: local device name }
371  PEER_IP: { type: STRING, desc: peer device ip }
372  LOCAL_IP: { type: STRING, desc: loca ip }
373  PEER_PORT: { type: STRING, desc: peer port }
374  LOCAL_PORT: { type: STRING, desc: local port }
375
376IPC_BEHAVIOR:
377  __BASE: {type: BEHAVIOR, level: MINOR, desc: softbus ipc behavior dotting event }
378  ORG_PKG: {type: STRING, desc: business package name }
379  FUNC: {type: STRING, desc: fuction name}
380  BIZ_SCENE: {type: INT32, desc: business scene }
381  BIZ_STAGE: {type: INT32, desc: eack scene process stage }
382  STAGE_RES: {type: INT32, desc: stage result }
383  BIZ_STATE: {type: INT32, desc: current business result }
384  ERROR_CODE: {type: INT32, desc: error code }
385  COMM_TYPE: {type: INT32, desc: ipc communication type }
386  HOST_PKG: {type: STRING, desc: host package name }
387  TO_CALL_PKG: {type: STRING, desc: called package name }
388
389FIRST_DISC_DURATION:
390  __BASE: {type: STATISTIC, level: MINOR, desc: first discovery device duration }
391  SOFT_BUS_VERSION: {type: STRING, desc: softbus version }
392  PACKAGE_VERSION: {type: STRING, desc: package version }
393  LINK_TYPE: {type: UINT32, desc: link type ble 1 wlan 2 }
394  TOTAL_TIME: {type: UINT64, desc: total duration ms }
395  TOTAL_COUNT: {type: UINT32, desc: total count }
396  COUNT1: { type: UINT32, desc: number of times that the duration is longer than 500ms }
397  COUNT2: { type: UINT32, desc: number of times that the duration is longer than 1000ms }
398  COUNT3: { type: UINT32, desc: number of times that the duration is longer than 1500ms }
399  COUNT4: { type: UINT32, desc: number of times that the duration is longer than 2000ms }
400  COUNT5: { type: UINT32, desc: number of times that the duration is longer than 2500ms }
401
402DISCOVERY_DETAILS:
403  __BASE: {type: STATISTIC, level: MINOR, desc: ble discovery details }
404  MODULE: {type: STRING, desc: module }
405  DISCTYPE: {type: UINT32, desc: discovery type }
406  DURATION: {type: UINT64, desc: discovery duration }
407  REPTIMES: {type: UINT32, desc: report times }
408  DEVNUM: {type: UINT32, desc: report times }
409  DISCTIMES: {type: UINT32, desc: discovery times }
410
411DISCOVERY_BLE_RSSI:
412  __BASE: {type: STATISTIC, level: MINOR, desc: ble discovery rssi }
413  RANGEID: {type: UINT32, arrsize: 52, desc: range id }
414  RANGEDATA: {type: UINT32, arrsize: 52, desc: range data }
415
416CONN_DURATION:
417  __BASE: {type: STATISTIC, level: MINOR, desc: statistic the connection duration }
418  SOFT_BUS_VERSION: { type: STRING, desc: softbus version }
419  PACKAGE_VERSION: { type: STRING, desc: package version }
420  CALLER_PACKAGE_NAME: {type: STRING, desc: caller package name }
421  LINK_TYPE: { type: UINT32, desc: link type br 0 ble 1 wlan 2 p2p 3 hml 4 }
422  FAIL_TOTAL_TIME: { type: UINT64, desc: fail total duration ms }
423  FAIL_TOTAL_COUNT: { type: UINT32, desc: fail total count }
424  TOTAL_TIME: { type: UINT64, desc: total duration ms }
425  TOTAL_COUNT: { type: UINT32, desc: total count }
426  COUNT1: { type: UINT32, desc: number of times that the duration is longer than 1500ms }
427  COUNT2: { type: UINT32, desc: number of times that the duration is longer than 2000ms }
428  COUNT3: { type: UINT32, desc: number of times that the duration is longer than 2500ms }
429  COUNT4: { type: UINT32, desc: number of times that the duration is longer than 3000ms }
430  COUNT5: { type: UINT32, desc: number of times that the duration is longer than 4000ms }
431
432PROCESS_STEP_DURATION:
433  __BASE: {type: STATISTIC, level: MINOR, desc: statistic the p2p or hml process duration }
434  SOFT_BUS_VERSION: { type: STRING, desc: softbus version }
435  PACKAGE_VERSION: { type: STRING, desc: package version }
436  PROCESS_STEP: {type: UINT32, desc: process step }
437  LINK_TYPE: { type: UINT32, desc: link type br 0 ble 1 wlan 2 p2p 3 hml 4 }
438  TOTAL_TIME: { type: UINT64, desc: total duration ms }
439  TOTAL_COUNT: { type: UINT32, desc: total count }
440  COUNT1: { type: UINT32, desc: number of times that the duration is longer than 1500ms }
441  COUNT2: { type: UINT32, desc: number of times that the duration is longer than 2000ms }
442  COUNT3: { type: UINT32, desc: number of times that the duration is longer than 2500ms }
443  COUNT4: { type: UINT32, desc: number of times that the duration is longer than 3000ms }
444  COUNT5: { type: UINT32, desc: number of times that the duration is longer than 4000ms }
445
446TRANSPORT_KPI:
447  __BASE: {type: STATISTIC, level: MINOR, desc: success rate of establishing softbus transmission}
448  LINK_TYPE: {type: INT32, desc: linktype}
449  TOTAL_TIME: {type: INT64, desc: total duration ms}
450  TOTAL_COUNT: {type: INT32, desc: total count}
451  FAIL_TOTAL_TIME: {type: INT64, desc: fail total time ms}
452  FAIL_TOTAL_COUNT: {type: INT32, desc: fail total count}
453  PACKAGE_VERSION: {type: STRING, desc: package version}
454  SOFT_BUS_VERSION: {type: STRING, desc: softbus version}
455  COUNT1: {type: INT32, desc: Number of times that the duration is longer than 1s}
456  COUNT2: {type: INT32, desc: Number of times that the duration is longer than 2s}
457  COUNT3: {type: INT32, desc: Number of times that the duration is longer than 4s}
458  COUNT4: {type: INT32, desc: Number of times that the duration is longer than 7s}
459  COUNT5: {type: INT32, desc: Number of times that the duration is longer than 11s}
460  CALLER_PACKAGE_NAME: {type: STRING, desc: caller package name}
461
462CALLED_API_INFO:
463  __BASE: {type: STATISTIC, level: MINOR, desc: api called APP infor}
464  APP_NAME: {type: STRING, desc: caller package name}
465  API_NAME: {type: STRING, desc: called api name}
466  TOTAL_COUNT: {type: INT32, desc: total count}
467  SOFT_BUS_VERSION: {type: STRING, desc: softbus version}
468  PACKAGE_VERSION: {type: STRING, desc: package version}
469
470CALLED_API_CNT:
471  __BASE: {type: STATISTIC, level: MINOR, desc: api called count}
472  API_NAME: {type: STRING, desc: called api name}
473  TOTAL_COUNT: {type: INT32, desc: total count}
474
475TRANS_OPEN_SESSION_CNT:
476  __BASE: {type: STATISTIC, level: MINOR, desc: the success count and the fail count of open session }
477  SUCCESS_CNT: {type: UINT32, desc: the success count of open session }
478  FAIL_CNT: {type: UINT32, desc: the fail count of open session }
479  SUCCESS_RATE: {type: FLOAT, desc: the success rate of open session }
480
481TRANS_OPEN_SESSION_TIME_COST:
482  __BASE: {type: STATISTIC, level: MINOR, desc: the time comsuming of open session }
483  MAX_TIME_COST: {type: UINT32, desc: the max time comsuming of open session }
484  MIN_TIME_COST: {type: UINT32, desc: the min time comsuming of open session }
485  AVE_TIME_COST: {type: UINT32, desc: the average time comsuming of open session }
486  TIMES_UNDER_500MS: {type: UINT32, desc: the times unders 500ms of open session }
487  TIMES_BETWEEN_500MS_1S: {type: UINT32, desc: the times between 500ms to 1s of open session }
488  TIMES_BETWEEN_1S_2S: {type: UINT32, desc: the times between 1s to 2s of open session }
489  TIMES_ABOVE_2S: {type: UINT32, desc: the times above 2s of open session }
490
491TRANS_FAULT:
492  __BASE: {type: FAULT, level: CRITICAL, desc: the transmission fail }
493  ERROR_CODE: {type: INT32, desc: error code }
494
495TRANS_INFO:
496  __BASE: {type: BEHAVIOR, level: MINOR, desc: the transmission info }
497  ERROR_CODE: {type: STRING, desc: info msg or err msg }
498
499BUS_CENTER_FAULT_EVT:
500  __BASE: {type: FAULT, level: CRITICAL, desc: bus center all the exception}
501  MODULE_TYPE: {type: UINT32, desc: module type}
502  LINK_TYPE: {type: UINT32, desc: connection type}
503  CHANNEL_QUALITY: {type: FLOAT, desc: channel quality}
504  ERROR_CODE: {type: UINT32, desc: error code}
505  PEER_DEVICE_TYPE: {type: UINT32, desc: peer device type}
506  ONLINE_DEVICE_NUM: {type: UINT32, desc: online device count}
507  CONNECTION_NUM: {type: UINT32, desc: connected device count}
508  NIGHT_MODE: {type: UINT32, desc: night mode}
509  WIFI_STATUS: {type: UINT32, desc: wifi status}
510  BLUETOOTH_STATUS: {type: UINT32, desc: bluetooth status}
511  CALLER_APP_MODE: {type: UINT32, desc: caller app mode}
512  SUB_ERROR_CODE: {type: UINT32, desc: sub error code}
513  CONN_BR_NUM: {type: UINT32, desc: the count of device connected by br}
514  CONN_BLE_NUM: {type: UINT32, desc: the count of device connected by ble}
515  BLUETOOTH_BROADCAST_STATUS: {type: BOOL, desc: bluetooth broadcast status}
516  BLUETOOTH_SCAN_STATUS: {type: BOOL, desc: bluetooth scan status}
517  BUSUNINESS_NAME: {type: STRING, desc: caller business name}
518  CALLER_PACKAGE_NAME: {type: STRING, desc: caller package name}
519  REMOTE_BIZ_TRUNCATED_UUID: {type: STRING, desc: remote biz truncated uuid}
520  SOFT_BUS_VERSION: {type: STRING, desc: softbus version}
521  PACKAGE_VERSION: {type: STRING, desc: softbus package version}
522
523ONLINE_DURATION:
524  __BASE: {type: STATISTIC, level: MINOR, desc: the time comsuming of online}
525  TOTAL_TIME: {type: UINT64, desc: device online total time}
526  TOTAL_COUNT: {type: UINT32, desc: device online total count}
527  COUNT1: {type: UINT32, desc: the times above 10s of online}
528  COUNT2: {type: UINT32, desc: the times above 30s of online}
529  COUNT3: {type: UINT32, desc: the times above 5min of online}
530  COUNT4: {type: UINT32, desc: the times above 10min of online}
531  COUNT5: {type: UINT32, desc: the times above 15min of online}
532  SOFT_BUS_VERSION: {type: STRING, desc: softbus version}
533  PACKAGE_VERSION: {type: STRING, desc: softbus package version}
534
535AUTH_DURATION:
536  __BASE: {type: STATISTIC, level: MINOR, desc: stastistic auth rate and time cost}
537  LINK_TYPE: {type: UINT32, desc: connection type}
538  TOTAL_TIME: {type: UINT64, desc: the total time cost of auth}
539  TOTAL_COUNT: {type: UINT32, desc: device auth total count}
540  COUNT1: {type: UINT32, desc: the times above 2000ms of single auth}
541  COUNT2: {type: UINT32, desc: the times above 2500ms of single auth}
542  COUNT3: {type: UINT32, desc: the times above 3000ms of single auth}
543  COUNT4: {type: UINT32, desc: the times above 3500ms of single auth}
544  COUNT5: {type: UINT32, desc: the times above 4000ms of single auth}
545  FAIL_TOTAL_COUNT: {type: UINT32, desc: auth failed total count}
546  FAIL_TOTAL_TIME: {type: UINT64, desc: auth failed total time}
547  CONNECT_FAIL_TOTAL_COUNT: {type: UINT32, desc: connect failed total count}
548  AUTH_FAIL_TOTAL_COUNT: {type: UINT32, desc: auth failed total count}
549  EXCHANGE_FAIL_TOTAL_COUNT: {type: UINT32, desc: exchange info failed total count}
550  SOFT_BUS_VERSION: {type: STRING, desc: softbus version}
551  PACKAGE_VERSION: {type: STRING, desc: softbus package version}
552
553BUS_CENTER_DURATION:
554  __BASE: {type: STATISTIC, level: MINOR, desc: stastistic bus center lnn duration}
555  LINK_TYPE: {type: UINT32, desc: connection type}
556  TOTAL_TIME: {type: UINT64, desc: the total time cost of lnn}
557  TOTAL_COUNT: {type: UINT32, desc: lnn total count}
558  COUNT1: {type: UINT32, desc: the times above 800ms of single lnn}
559  COUNT2: {type: UINT32, desc: the times above 1000ms of single lnn}
560  COUNT3: {type: UINT32, desc: the times above 1200ms of single lnn}
561  COUNT4: {type: UINT32, desc: the times above 1500ms of single lnn}
562  COUNT5: {type: UINT32, desc: the times above 1800ms of single lnn}
563  SOFT_BUS_VERSION: {type: STRING, desc: softbus version}
564  PACKAGE_VERSION: {type: STRING, desc: softbus package version}
565
566DEVICE_ONLINE_EVT:
567  __BASE: {type: STATISTIC, level: MINOR, desc: report the online device info}
568  ONLINE_DEVICE_NUM: {type: UINT32, desc: online device count}
569  BT_ONLINE_DEVICE_NUM: {type: UINT32, desc: online device count connection medium is bt}
570  WIFI_ONLINE_DEVICE_NUM: {type: UINT32, desc: online device count connection medium is wifi}
571  PEER_DEVICE_TYPE: {type: UINT32, desc: peer device type}
572  INSERT_PROFILE_RESULT: {type: UINT32, desc: the result of insert device info to profile}
573  PEER_SOFT_BUS_VERSION: {type: STRING, desc: softbus version of peer device}
574  PEER_DEVICE_NAME: {type: STRING, desc: device name of peer device}
575  SOFT_BUS_VERSION: {type: STRING, desc: softbus version of local device}
576  PEER_PACKAGE_VERSION: {type: STRING, desc: softbus package version of peer device}
577  PACKAGE_VERSION: {type: STRING, desc: softbus package version of local device}
578
579DEVICE_DISCOVERY:
580  __BASE: {type: STATISTIC, level: MINOR, desc: stastistic device discovery count}
581  START_DISCOVERY_COUNT: {type: UINT64, desc: start discovery count}
582  SEND_BROADCAST_COUNT: {type: UINT64, desc: send broadcast count}
583  RECEIVE_BROADCAST_COUNT: {type: UINT64, desc: receiver broadcast count}
584  DEVICE_FOUND_COUNT: {type: UINT64, desc: device found count}
585  BUSINESS_DISCOVERY_COUNT: {type: UINT64, desc: business discovery count}
586  BUSINESS_DISCOVERY_DETAIL: {type: STRING, desc: business discovery detail info}
587  SOFT_BUS_VERSION: {type: STRING, desc: softbus version}
588  PACKAGE_VERSION: {type: STRING, desc: softbus package version}
589
590APP_DISCOVERY:
591  __BASE: {type: STATISTIC, level: MINOR, desc: stastistic app discovery count}
592  APP_NAME: {type: STRING, desc: name of app who discovery device}
593  APP_DISCOVERY_COUNT: {type: UINT32, desc: app discovery count}
594
595DFILE_WAIT_HEADER_TIMEOUT_EVT:
596  __BASE: {type: FAULT, level: CRITICAL, desc: wait file header time out}
597  ERROR_CODE: {type: STRING, desc: error code}
598
599DFILE_SERVER_CREATE_EVT:
600  __BASE: {type: BEHAVIOR, level: MINOR, desc: server created}
601
602DFILE_CLIENT_CREATE_EVT:
603  __BASE: {type: BEHAVIOR, level: MINOR, desc: client created}
604
605DFILE_SEND_BEGIN_EVT:
606  __BASE: {type: BEHAVIOR, level: MINOR, desc: send begin}
607
608DFILE_PEER_SHUTTED_EVT:
609  __BASE: {type: FAULT, level: CRITICAL, desc: peer shutted}
610
611DFILE_TRANS_COMPLETE_EVT:
612  __BASE: {type: STATISTIC, level: MINOR, desc: transfer complete}
613  TRANSRATE: {type: STRING, desc: transmission speed}
614
615DFILE_ACCEPT_SOCKET_EVT:
616  __BASE: {type: BEHAVIOR, level: MINOR, desc: accept socket}
617
618FILLP_LINK_EVT:
619  __BASE: {type: FAULT, level: MINOR, desc: fillp link disconnect}
620  SOCK_IDX: {type: UINT32, desc: fillp socket index}
621  LINK_EVT_TYPE: {type: UINT8, desc: fillp link event type}
622
623FILLP_PKT_EVT:
624  __BASE: {type: STATISTIC, level: MINOR, desc: fillp data package event}
625  SOCK_IDX: {type: UINT32, desc: fillp socket index}
626  PKT_EVT_TYPE: {type: UINT8, desc: fillp package event type}
627  DROP_CNT: {type: UINT32, desc: fillp package dropcnt}
628
629FILLP_SOCK_QOS_EVT:
630  __BASE: {type: STATISTIC, level: MINOR, desc: fillp socket Qos event}
631  SOCK_IDX: {type: UINT32, desc: fillp socket index}
632  RTT: {type: UINT32, desc: fillp socket rtt}
633  TOTAL_RECV_PKT: {type: UINT32, desc: fillp socket recv package num}
634  TOTAL_RECV_BYTES: {type: UINT32, desc: fillp socket recv bytes}
635  TOTAL_SEND_PKT: {type: UINT32, desc: fillp socket send package num}
636  TOTAL_SEND_BYTES: {type: UINT32, desc: fillp socket send bytes}
637  JITTER: {type: UINT32, desc: fillp socket jitter}
638
639DFINDER_STATS:
640  __BASE: {type: STATISTIC, level: MINOR, desc: dfinder statistics}
641  INVALID_OPTION_CNT: {type: UINT64, desc: the count of invalid option}
642  BUILD_PKT_FAIL_CNT: {type: UINT64, desc: the count when building packet failed}
643  INVALID_RSP_CNT: {type: UINT64, desc: the count of invalid message}
644  OVER_DEVICE_LIMIT_CNT: {type: UINT64, desc: the count when the device number is over limit}