Skip to main navigation Skip to search Skip to main content

LRTHT: An Efficient Log Clustering Framework Based on Radix Tree and Hash Table

  • Yizhen Li
  • , Tao Qin
  • , Jinzi Zou
  • , Chenxu Wang
  • , Yuan Cheng Lu
  • Xi'an Jiaotong University

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Logs, which record detailed system operation statuses, are widely used in software optimization and system management. Log clustering is a fundamental step for various downstream tasks. However, the rapid increase in log volume severely limits the performance of the log clustering parsers. To address this challenge, we develop LRTHT, an efficient log clustering algorithm named Logram with radix tree and hash table (LRTHT). LRTHT first utilizes the existing Logram parser to convert the dynamic parts of each log entry into “<*>”. Then, these structured logs are grouped into different partitions based on their length. Finally, further fine-grained grouping is performed within each length partition. Specifically, we construct a template collection, where log templates are stored in a radix tree and a hash table. Each structured log entry matches a corresponding template label from the template collection. The radix tree addresses the inefficiency of template retrieval, while the hash table improves clustering accuracy. We evaluate LRTHT against 5 existing methods using 16 datasets. Experimental results demonstrate that, compared to existing baselines, LRTHT improves the F1 score and accuracy by at least 10.13% and 9.81%, respectively.

Original languageEnglish
Title of host publicationAdvances in Knowledge Discovery and Data Mining - 29th Pacific-Asia Conference on Knowledge Discovery and Data Mining, PAKDD 2025, Proceedings
EditorsXintao Wu, Myra Spiliopoulou, Can Wang, Vipin Kumar, Longbing Cao, Yanqiu Wu, Zhangkai Wu, Yu Yao
PublisherSpringer Science and Business Media Deutschland GmbH
Pages238-249
Number of pages12
ISBN (Print)9789819681693
DOIs
StatePublished - 2025
Event29th Pacific-Asia Conference on Knowledge Discovery and Data Mining, PAKDD 2025 - Sydney, Australia
Duration: 10 Jun 202513 Jun 2025

Publication series

NameLecture Notes in Computer Science
Volume15870 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference29th Pacific-Asia Conference on Knowledge Discovery and Data Mining, PAKDD 2025
Country/TerritoryAustralia
CitySydney
Period10/06/2513/06/25

Keywords

  • Hash table
  • Log clustering
  • Log parsing
  • Radix tree

Fingerprint

Dive into the research topics of 'LRTHT: An Efficient Log Clustering Framework Based on Radix Tree and Hash Table'. Together they form a unique fingerprint.

Cite this