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