2024 · 2024 ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE Companion)

Decoding Log Parsing Challenges: A Comprehensive Taxonomy for Actionable Solutions

Issam Sedki | Abdelwahab Hamou-Lhadj | Otmane Ait-Mohamed | Naser Ezzati-Jivan | Mohammed A. Shehab

Evidence basis: full-text-reviewed · Review status: catalog-reviewed; paper-author approval pending

observability machine-learning trace-analysis benchmark-datasets

log parsing log event characteristics LEC taxonomy LogHub open coding Drain IPLoM AEL Spell LenMa LogMine SHISO ULP log templates parsing errors ICSE 2024

Core contribution: The paper derives a 30-item taxonomy of log event characteristics that induce parsing errors and quantifies the characteristics with the largest impact across eight parsers.

Abstract

Logging is a common practice in software engineering that is used by developers to understand the runtime aspects of a system. Log files, however, tend to vary in their structures, making it challenging to analyze their content. In this paper, we present a preliminary taxonomy of log event characteristics that commonly lead to log parsing errors. We achieve this through the analysis of 16 log datasets using eight different parsing tools. We believe that this taxonomy can be used to guide the design of better log parsing tools that can adapt to various log file structures. It can also pave the way to the development of logging guidelines and best practices.

Source: Exact author abstract from ACM's free-access version of record, reviewed in full on 2026-08-09.

Problem and motivation

Log parsers must separate static template text from dynamic values across heterogeneous formats, yet prior work concentrates on parser algorithms more than on the data characteristics that repeatedly cause parsing errors.

Method and contribution

The study uses 16 heterogeneous Loghub datasets, each with 2,000 manually parsed events and templates as ground truth, and runs Drain, IPLoM, AEL, Spell, Lenma, LogMine, SHISO, and ULP with their published configurations. The authors open-code an initial sample of 100 unique events per dataset, iteratively reconcile codes and categories, and then extend detection to all events with regular expressions and named-entity recognition.

Findings and evidence

The analysis identifies 30 log event characteristics in three groups: 19 data-type characteristics, six structural patterns, and five log-message-composition characteristics. Four characteristics account on average for more than half of observed parsing errors: unseparated token sequences contribute about 19-20% across parsers, alphanumeric-plus-special-character tokens about 11-13%, colon-delimited key-value pairs 10.63-11.42%, and decimal values 7.43-8.55%.

Limitations and future directions

Limitations: This is a preliminary two-page study. The initial qualitative coding uses 100 unique events per dataset, the automated extension depends on regular expressions and named-entity recognition, parser configurations follow prior publications, and detailed per-dataset results are omitted because of space limits.

Future work: Use the taxonomy to design parsers that adapt to heterogeneous log structures and to develop empirically grounded logging guidelines and best practices; validate the taxonomy on additional datasets and parser families.

Sources and identifiers

When to cite this paper

Cite this paper when analyzing which log-event structures systematically cause errors across automated log parsers.

Citation

BibTeX
@inproceedings{ezzatiJivan2024decodinglog,
  author = {Issam Sedki and Abdelwahab Hamou-Lhadj and Otmane Ait-Mohamed and Naser Ezzati-Jivan and Mohammed A. Shehab},
  title = {Decoding Log Parsing Challenges: A Comprehensive Taxonomy for Actionable Solutions},
  year = {2024},
  booktitle = {2024 ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE Companion)},
  pages = {392-393},
  publisher = {ACM},
  doi = {10.1145/3639478.3643523},
  url = {https://doi.org/10.1145/3639478.3643523}
}
Other citation formats for Word and reference managers
APA 7
Sedki, I., Hamou-Lhadj, A., Ait-Mohamed, O., Ezzati-Jivan, N., & Shehab, M. A. (2024). Decoding Log Parsing Challenges: A Comprehensive Taxonomy for Actionable Solutions. In 2024 ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE Companion) (pp. 392-393). https://doi.org/10.1145/3639478.3643523
IEEE
I. Sedki, A. Hamou-Lhadj, O. Ait-Mohamed, N. Ezzati-Jivan, and M. A. Shehab, "Decoding Log Parsing Challenges: A Comprehensive Taxonomy for Actionable Solutions," in 2024 ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE Companion), pp. 392-393, 2024, doi: 10.1145/3639478.3643523

Readable Markdown record · JSON record · Download RIS