Paper published in a book (Scientific congresses, symposiums and conference proceedings)
Demonstration-Free: Towards More Practical Log Parsing with Large Language Models
Xiao, Yi; LE, Van Hoang; Zhang, Hongyu
2024In Proceedings - 2024 39th ACM/IEEE International Conference on Automated Software Engineering, ASE 2024
Peer reviewed
 

Files


Full Text
_ASE_2024___CR__Log_Parsing_with_LLMs.pdf
Author postprint (1.03 MB)
Download

All documents in ORBilu are protected by a user license.

Send to



Details



Keywords :
batch prompting; large language models; log parsing; Automated analysis; Batch prompting; Cost effective; Language model; Large language model; Large-scale software systems; Log parsing; Model tuning; Model-based OPC; Training process; Artificial Intelligence; Software; Safety, Risk, Reliability and Quality
Abstract :
[en] Log parsing, the process of converting raw log messages into structured formats, is an important initial step for automated analysis of logs of large-scale software systems. Traditional log parsers often rely on heuristics or handcrafted features, which may not generalize well across diverse log sources or require extensive model tuning. Recently, some log parsers have utilized powerful generative capabilities of large language models (LLMs). However, they heavily rely on demonstration examples, resulting in substantial overhead in LLM invocations. To address these issues, we propose LogBatcher, a cost-effective LLM-based log parser that requires no training process or labeled data. To leverage latent characteristics of log data and reduce the overhead, we divide logs into several partitions through clustering. Then we perform a cache matching process to match logs with previously parsed log templates. Finally, we provide LLMs with better prompt context specialized for log parsing by batching a group of logs from each partition. We have conducted experiments on 16 public log datasets and the results show that LogBatcher is effective and efficient for log parsing.
Disciplines :
Computer science
Author, co-author :
Xiao, Yi ;  Chongqing University, Chongqing, China
LE, Van Hoang  ;  University of Newcastle, Australia
Zhang, Hongyu ;  Chongqing University, Chongqing, China
External co-authors :
yes
Language :
English
Title :
Demonstration-Free: Towards More Practical Log Parsing with Large Language Models
Publication date :
27 October 2024
Event name :
Proceedings of the 39th IEEE/ACM International Conference on Automated Software Engineering
Event place :
Sacramento, Usa
Event date :
28-10-2024 => 01-11-2024
By request :
Yes
Audience :
International
Main work title :
Proceedings - 2024 39th ACM/IEEE International Conference on Automated Software Engineering, ASE 2024
Publisher :
Association for Computing Machinery, Inc
ISBN/EAN :
9798400712487
Peer reviewed :
Peer reviewed
Funders :
ACM
ACM SIGAI
Google
IEEE
Special Interest Group on Software Engineering (SIGSOFT)
University of California, Davis (UC Davis)
Funding text :
This work is supported by Australian Research Council (ARC) Discovery Projects (DP200102940, DP220103044).
Available on ORBilu :
since 26 January 2026

Statistics


Number of views
5 (1 by Unilu)
Number of downloads
0 (0 by Unilu)

Scopus citations®
 
5
Scopus citations®
without self-citations
4
OpenCitations
 
0
OpenAlex citations
 
1

Bibliography


Similar publications



Contact ORBilu