HELP: Hierarchical Embeddings-based Log Parsing
Not on the map. Why?
Abstract (arXiv)
Logs are a first-hand source of information for software maintenance and failure diagnosis. Log parsing, which converts semi-structured log messages into structured templates, is a prerequisite for automated log analysis tasks such as anomaly detection, troubleshooting, and root cause analysis. However, existing log parsers fail in real-world systems for three main reasons. First, traditional heuristics-based parsers require handcrafted features and domain knowledge, which are difficult to generalize at scale. Second, existing large language model-based parsers rely on periodic offline processing, limiting their effectiveness in real-time use cases. Third, existing online parsing algorithms are susceptible to log drift, where slight log changes create false positives that drown out real anomalies. To address these challenges, we propose HELP, a Hierarchical Embeddings-based Log Parser. HELP is the first online semantic-based parser to leverage LLMs for performant and cost-effective log parsing. We achieve this through a novel hierarchical embeddings module, which fine-tunes a text embedding model to cluster logs before parsing, reducing querying costs by multiple orders of magnitude. To combat log drift, we also develop an iterative rebalancing module, which periodically updates existing log groupings. We evaluate HELP extensively on 14 public large-scale datasets, showing that HELP achieves significantly higher F1-weighted grouping and parsing accuracy than current state-of-the-art online log parsers. We also implement HELP into Iudex's production observability platform, confirming HELP's practicality in a production environment. Our results show that HELP is effective and efficient for high-throughput real-world log parsing.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 14 of its 51 references that are in the map. First posted on arXiv 15 Aug 2024.
Builds on
14 of 51 references.
References · 14
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2018UMAP: Uniform Manifold Approximation and Projection for Dimension Reductioncited by 2,841
- 2022A Survey on In-context Learningcited by 717
- 2022Text and Code Embeddings by Contrastive Pre-Trainingcited by 358
- 2020Loghub: A Large Collection of System Log Datasets for AI-driven Log Analyticscited by 68
- 2022Log-based Anomaly Detection with Deep Learning: How Far Are We?cited by 56
- 2020A Survey on Automated Log Analysis for Reliability Engineeringcited by 50
- 2023LILAC: Log Parsing using LLMs with Adaptive Parsing Cachecited by 30
- 2022UniParser: A Unified Log Parser for Heterogeneous Log Datacited by 25
- 2023Log Parsing: How Far Can ChatGPT Go?cited by 16
- 2023An Assessment of ChatGPT on Log Datacited by 11
2 more
Built on by
Citing papers per year: 2025: 2.
2 papers.