data-analyze
Project description
概述
data analysis
一、rules 规则
系统会根据配置的规则,对原数据进行分析
数据结构
{
"type":"system",
"rules":[
{
"id":1,
"type":"log",
"condition":"xxxx"
},
{
"id":2,
"type":"assert",
"condition":"xxxx"
},
{
"id":3,
"type":"data",
"condition":"xxxx"
}
],
"relation":"id1|id2|id3",
"result":{
"type":"system",
"module":"bluetooth",
"desc":"蓝牙没打开"
},
"weights":1
type 规则类型
支持 coredump、system、test
- coredump 数据分析
- system 系统级别日志分析
- test 测试业务数据分析
rules 规则
- id 唯一标识
- type 匹配内容类型,log-行日志、assert-断言、data-直接数据
- condition 匹配条件,支持正则表达式,可配置多个条件
relation 匹配条件关系
多个条件id匹配关系,支持 与&、或|、非not、优先级()
result 匹配结果
- type 结果类型:cloud云端问题,system系统端问题
- module 问题模块:bluetooth蓝牙模块,alarm闹钟模块等。。
- desc 问题描述
weights 权重
同时匹配多个规则时,权重越大概率越高
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
data-analyze-1.0.tar.gz
(6.4 kB
view hashes)
Built Distribution
data_analyze-1.0-py2-none-any.whl
(10.3 kB
view hashes)
Close
Hashes for data_analyze-1.0-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a0261f20b60e17a0f849e031a58484cfa260005b11663bdec1778887736c680 |
|
MD5 | f02930f89be92cbe85191580b16b6a4e |
|
BLAKE2b-256 | 0c629afd1af4c75bcec180e3284cb3e7f47d37b57ab233a2ec69e440356dcdc4 |