All Projects → logpai → Logparser

logpai / Logparser

Licence: mit
A toolkit for automated log parsing [ICSE'19, TDSC'18, DSN'16]

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Logparser

vim-log-highlighting
Syntax highlighting for generic log files in VIM
Stars: ✭ 164 (-73.55%)
Mutual labels:  log-analysis, log
Log Anomaly Detector
Log Anomaly Detection - Machine learning to detect abnormal events logs
Stars: ✭ 169 (-72.74%)
Mutual labels:  anomaly-detection, log
Loghub
A large collection of system log datasets for AI-powered log analytics
Stars: ✭ 551 (-11.13%)
Mutual labels:  log-analysis, anomaly-detection
Octopussy
Octopussy - Open Source Log Management Solution
Stars: ✭ 111 (-82.1%)
Mutual labels:  log-analysis, log
Log3c
Log-based Impactful Problem Identification using Machine Learning [FSE'18]
Stars: ✭ 131 (-78.87%)
Mutual labels:  log-analysis, anomaly-detection
Logdeep
log anomaly detection toolkit including DeepLog
Stars: ✭ 125 (-79.84%)
Mutual labels:  log-analysis, anomaly-detection
Loglizer
A log analysis toolkit for automated anomaly detection [ISSRE'16]
Stars: ✭ 785 (+26.61%)
Mutual labels:  log-analysis, anomaly-detection
LogESP
Open Source SIEM (Security Information and Event Management system).
Stars: ✭ 162 (-73.87%)
Mutual labels:  log-analysis, log
siemstress
Very basic CLI SIEM (Security Information and Event Management system).
Stars: ✭ 24 (-96.13%)
Mutual labels:  log-analysis, log
Objectlogger
A powerful and easy-to-use operational logging system that supports analysis of changes in object properties. 强大且易用的操作日志记录系统,支持对象属性的变化分析。
Stars: ✭ 378 (-39.03%)
Mutual labels:  log
Logswan
Fast Web log analyzer using probabilistic data structures
Stars: ✭ 375 (-39.52%)
Mutual labels:  log
Laravel Activitylog
Log activity inside your Laravel app
Stars: ✭ 4,123 (+565%)
Mutual labels:  log
Cutelog
GUI for logging
Stars: ✭ 386 (-37.74%)
Mutual labels:  log
React Log
React for the Console
Stars: ✭ 553 (-10.81%)
Mutual labels:  log
Telemanom
A framework for using LSTMs to detect anomalies in multivariate time series data. Includes spacecraft anomaly data and experiments from the Mars Science Laboratory and SMAP missions.
Stars: ✭ 589 (-5%)
Mutual labels:  anomaly-detection
Wowanalyzer
WoWAnalyzer is a tool to help you analyze and improve your World of Warcraft raiding performance through various relevant metrics and gameplay suggestions.
Stars: ✭ 371 (-40.16%)
Mutual labels:  log
Cocoadebug
iOS Debugging Tool 🚀
Stars: ✭ 3,769 (+507.9%)
Mutual labels:  log
Midas
Anomaly Detection on Dynamic (time-evolving) Graphs in Real-time and Streaming manner. Detecting intrusions (DoS and DDoS attacks), frauds, fake rating anomalies.
Stars: ✭ 591 (-4.68%)
Mutual labels:  anomaly-detection
Deep Learning For Hackers
Machine Learning tutorials with TensorFlow 2 and Keras in Python (Jupyter notebooks included) - (LSTMs, Hyperameter tuning, Data preprocessing, Bias-variance tradeoff, Anomaly Detection, Autoencoders, Time Series Forecasting, Object Detection, Sentiment Analysis, Intent Recognition with BERT)
Stars: ✭ 586 (-5.48%)
Mutual labels:  anomaly-detection
Log4rs
A highly configurable logging framework for Rust
Stars: ✭ 483 (-22.1%)
Mutual labels:  log

Logparser

Documentation Status license

Logparser provides a toolkit and benchmarks for automated log parsing, which is a crucial step towards structured log analytics. By applying logparser, users can automatically learn event templates from unstructured logs and convert raw log messages into a sequence of structured events. In the literature, the process of log parsing is sometimes refered to as message template extraction, log key extraction, or log message clustering.


An illustrative example of log parsing

👉 Read the docs: https://logparser.readthedocs.io

🔭 If you use any of our tools or benchmarks in your research for publication, please kindly cite the following papers.

Log parsers currently available:

Tools References
SLCT [IPOM'03] A Data Clustering Algorithm for Mining Patterns from Event Logs, by Risto Vaarandi.
AEL [QSIC'08] Abstracting Execution Logs to Execution Events for Enterprise Applications, by Zhen Ming Jiang, Ahmed E. Hassan, Parminder Flora, Gilbert Hamann.
[JSME'08] An Automated Approach for Abstracting Execution Logs to Execution Events, by Zhen Ming Jiang, Ahmed E. Hassan, Gilbert Hamann, Parminder Flora.
IPLoM [KDD'09] Clustering Event Logs Using Iterative Partitioning, by Adetokunbo Makanju, A. Nur Zincir-Heywood, Evangelos E. Milios.
[TKDE'12] A Lightweight Algorithm for Message Type Extraction in System Application Logs, by Adetokunbo Makanju, A. Nur Zincir-Heywood, Evangelos E. Milios.
LKE [ICDM'09] Execution Anomaly Detection in Distributed Systems through Unstructured Log Analysis, by Qiang Fu, Jian-Guang Lou, Yi Wang, Jiang Li. [Microsoft]
LFA [MSR'10] Abstracting Log Lines to Log Event Types for Mining Software System Logs, by Meiyappan Nagappan, Mladen A. Vouk.
LogSig [CIKM'11] LogSig: Generating System Events from Raw Textual Logs, by Liang Tang, Tao Li, Chang-Shing Perng.
SHISO [SCC'13] Incremental Mining of System Log Format, by Masayoshi Mizutani.
LogCluster [CNSM'15] LogCluster - A Data Clustering and Pattern Mining Algorithm for Event Logs, by Risto Vaarandi, Mauno Pihelgas.
LenMa [CNSM'15] Length Matters: Clustering System Log Messages using Length of Words, by Keiichi Shima.
LogMine [CIKM'16] LogMine: Fast Pattern Recognition for Log Analytics, by Hossein Hamooni, Biplob Debnath, Jianwu Xu, Hui Zhang, Geoff Jiang, Adbullah Mueen. [NEC]
Spell [ICDM'16] Spell: Streaming Parsing of System Event Logs, by Min Du, Feifei Li.
Drain [ICWS'17] Drain: An Online Log Parsing Approach with Fixed Depth Tree, by Pinjia He, Jieming Zhu, Zibin Zheng, and Michael R. Lyu.
MoLFI [ICPC'18] A Search-based Approach for Accurate Identification of Log Message Formats, by Salma Messaoudi, Annibale Panichella, Domenico Bianculli, Lionel Briand, Raimondas Sasnauskas.

Get started

Code organization:

  • benchmark: the benchmark scripts to reproduce the evaluation results of log parsing
  • demo: the demo files to show how to run logparser on HDFS logs.
  • logparser: the logparser package
  • logs: Some log samples and manually parsed structured logs with their templates (ground truth).

Please follow the installation steps and demo in the docs to get started.

Benchmarking results

All the log parsers have been evaluated across 16 different logs available in loghub. We report parsing accuracy as the percentage of accurately parsed log messages. To reproduce the experimental results, please run the benchmark scripts.

👇 Check the detailed bechmarking result table (click to expand)

In the table, accuracy values above 0.9 are marked in bold, and the best accuracy results achieved are marked with *. Some of the accuracy values may be lower than what have been reported by previous studies (e.g., Drain, LogMine). The reasons are two-fold: 1) We use a more rigorous accuracy metric which rejects events that are only partially matched. 2) For fairness of comparison, we apply only a few preprocessing regular expressions (e.g., IP or number replacement) to each log parser. Adding more preprocessing rules can boost parsing accuracy, but requires more manual efforts as well.

Publications about logparser

Acknowledgement

Logparser is implemented based on a number of existing open-source projects:

Feedback

For any questions or feedback, please post to the issue page.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].