项目
在 GitHub 查看
d0ng1ee/logdeep
关于
包含 DeepLog 的日志异常检测工具包。
人工智能与机器学习可以做什么
- Support multi log event features out of box
- State of the art(Including resluts from deeplog,loganomaly,robustlog...)
实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文logdeep
Introduction
LogDeep is an open source deeplearning-based log analysis toolkit for automated anomaly detection.

Note: This repo does not include log parsing,if you need to use it, please check logparser
Major features
Modular Design
Support multi log event features out of box
State of the art(Including resluts from deeplog,loganomaly,robustlog...)
Models
| Model | Paper reference |
|---|---|
| DeepLog | [CCS'17] DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning |
| LogAnomaly | [IJCAI'19] LogAnomaly: UnsupervisedDetectionof SequentialandQuantitativeAnomaliesinUnstructuredLogs |
| RobustLog | [FSE'19] RobustLog-BasedAnomalyDetectiononUnstableLogData |
Requirement
- python>=3.6
- pytorch >= 1.1.0
Quick start
git clone https://github.com/donglee-afar/logdeep.git
cd logdeep
Example of building your own log dataset
SAMPLING_EXAMPLE.md
Train & Test DeepLog example
cd demo
# Train
python deeplog.py train
# Test
python deeplog.py test
The output results, key parameters and train logs will be saved under result/ path
DIY your own pipeline
Here is an example of the key parameters of the loganomaly model which in demo/loganomaly.py
Try to modify these parameters to build a new model!
# Smaple
options['sample'] = "sliding_window"
options['window_size'] = 10
# Features
options['sequentials'] = True
options['quantitatives'] = True
options['semantics'] = False
Model = loganomaly(input_size=options['input_size'],
hidden_size=options['hidden_size'],
num_layers=options['num_layers'],
num_keys=options['num_classes'])
Benchmark results
| HDFS | ||||
|---|---|---|---|---|
| Model | feature | Precision | Recall | F1 |
| DeepLog(unsupervised) | seq | 0.9583 | 0.9330 | 0.9454 |
| LogAnomaly(unsupervised) | seq+quan | 0.9690 | 0.9825 | 0.9757 |
| RobustLog(supervised) | semantic | 0.9216 | 0.9586 | 0.9397 |
探索相关项目
加载中…