Evaluates AI-driven log analytics systems on three core tasks: parsing unstructured log messages into event templates, compressing log data efficiently, and detecting system anomalies using supervised or unsupervised models. It probes how well algorithms generalize across diverse, real-world system logs ranging from distributed systems to mobile apps. Use when the user wants to benchmark on Loghub, or asks about evaluating this task. Reports Parsing Accuracy (PA).
Scanned 9/11/2026
Install to Claude Code
npx -y skills add qhjqhj00/research-skills-pool --skill loghub-eval --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Loghub Eval?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/qhjqhj00-loghub-eval)More formats (shields.io, HTML) on the badges page.
---
name: loghub-eval
description: Evaluates AI-driven log analytics systems on three core tasks: parsing unstructured log messages into event templates, compressing log data efficiently, and detecting system anomalies using supervised or unsupervised models. It probes how well algorithms generalize across diverse, real-world system logs ranging from distributed systems to mobile apps. Use when the user wants to benchmark on Loghub, or asks about evaluating this task. Reports Parsing Accuracy (PA).
metadata:
skill_kind: dataset_eval
source_arxiv: 2008.06448
bibtex_key: zhu2020loghub
confidence: high
---
# loghub-eval
> Loghub: A Large Collection of System Log Datasets for AI-driven Log Analytics — Zhu et al. (2020) (arXiv:2008.06448, 2020)
## What this evaluates
Evaluates AI-driven log analytics systems on three core tasks: parsing unstructured log messages into event templates, compressing log data efficiently, and detecting system anomalies using supervised or unsupervised models. It probes how well algorithms generalize across diverse, real-world system logs ranging from distributed systems to mobile apps.
## Datasets
- **Loghub** — total ?; splits: test (-1); repo https://github.com/logpai/loghub
## Metrics
- `Parsing Accuracy (PA)` **(primary)** — range: [0, 1]
- PA = (# of corrected parsed logs) / (# of total logs). A log message is correctly parsed if its extracted event template matches the same ground truth cluster as the original log.
- `Compression Ratio (CR)` — range: other
- CR = Original File Size / Compressed File Size. Higher values indicate more effective compression.
- `F-measure` — range: [0, 1]
- Harmonic mean of precision and recall used to evaluate anomaly detection performance.
## Input / output format
**Input**: Raw log messages or log files; for anomaly detection, a block-ID-by-event count matrix representing system operations per block.
**Output**: Event templates or clusters mapping log messages; compressed binary files; binary anomaly labels (normal/anomalous).
## Scoring recipe
```python
def calc_parsing_accuracy(predictions, gold):
correct = 0
for pred_template, gold_template in zip(predictions, gold):
if pred_template == gold_template:
correct += 1
return correct / len(gold)
```
## Common pitfalls
- Parsers struggle with complex logs containing many templates (e.g., Mac, Linux) due to intricate structures.
- Accuracy degrades significantly for rare log messages that violate frequent pattern assumptions.
- Most tools only separate templates from parameters, lacking fine-grained parameter type classification needed for root cause analysis.
## Evidence (verbatim from paper)
> To evaluate the accuracy of different log parsing algorithms. We define the metric of parsing accuracy (PA) as follows: PA = (# of corrected parsed logs) / (# of total logs). After parsing, every log message transforms into an event template, and each template relates to a cluster of log messages sharing the same template. A log message is considered correctly parsed if and only if its event template matches the same cluster of log messages as the groudtruth does.
## Citation
```bibtex
@misc{zhu2020loghub,
title={Loghub: A Large Collection of System Log Datasets for AI-driven Log Analytics},
author={Zhu et al. (2020)},
year={2020},
note={arXiv:2008.06448}
}
```
- arXiv: 2008.06448
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!