LILAC: Log Parsing using LLMs with Adaptive Parsing Cache
Zhihan Jiang, Jinyang Liu, Zhuangbin Chen, Yichen Li, Junjie Huang,, Yintong Huo, Pinjia He, Jiazhen Gu, Michael R. Lyu

TL;DR
LILAC introduces a practical log parsing framework that leverages large language models with an adaptive cache to improve accuracy and efficiency in parsing complex logs.
Contribution
It is the first to combine LLMs with an adaptive parsing cache for robust, accurate, and efficient log parsing, addressing previous limitations of LLM-based approaches.
Findings
LILAC outperforms state-of-the-art methods by 69.5% in template accuracy.
LILAC reduces LLM query times by several orders of magnitude.
Achieves comparable efficiency to the fastest baseline.
Abstract
Log parsing transforms log messages into structured formats, serving as the prerequisite step for various log analysis tasks. Although a variety of log parsing approaches have been proposed, their performance on complicated log data remains compromised due to the use of human-crafted rules or learning-based models with limited training data. The recent emergence of powerful large language models (LLMs) demonstrates their vast pre-trained knowledge related to code and logging, making it promising to apply LLMs for log parsing. However, their lack of specialized log parsing capabilities currently hinders their accuracy in parsing. Moreover, the inherent inconsistent answers, as well as the substantial overhead, prevent the practical adoption of LLM-based log parsing. To address these challenges, we propose LILAC, the first practical log parsing framework using LLMs with adaptive parsing…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNatural Language Processing Techniques
