SemParser: A Semantic Parser for Log Analytics
Yintong Huo, Yuxin Su, Cheryl Lee, Michael R. Lyu
摘要
Logs, being run-time information automatically generated by software, record system events and activities with their timestamps. Before obtaining more insights into the run-time status of the software, a fundamental step of log analysis, called log parsing, is employed to extract structured templates and parameters from the semi-structured raw log messages. However, current log parsers are all syntax-based and regard each message as a character string, ignoring the semantic information included in parameters and templates. Thus, we propose the first semantic-based parser SemParser to unlock the critical bottleneck of mining semantics from log messages. It contains two steps, an end-to-end semantics miner and a joint parser. Specifically, the first step aims to identify explicit semantics inside a single log, and the second step is responsible for jointly inferring implicit semantics and computing structural outputs according to the contextual knowledge base of the logs. To analyze the effectiveness of our semantic parser, we first demonstrate that it can derive rich semantics from log messages collected from six widely-applied systems with an average F1 score of 0.985. Then, we conduct two representative downstream tasks, showing that current downstream models improve their performance with appropriately extracted semantics by 1.2%-11.7% and 8.65% on two anomaly detection datasets and a failure identification dataset, respectively. We believe these findings provide insights into semantically understanding log messages for the log analysis community.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 12 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- LogParser-LLM: Advancing Efficient Log Parsing with Large Language Models 引用了 DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning
- Twin Graph-Based Anomaly Detection via Attentive Multi-Modal Learning for Microservice System 引用了 DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning
- LILAC: Log Parsing using LLMs with Adaptive Parsing Cache 引用了 Hue: A User-Adaptive Parser for Hybrid Logs
- Hue: A User-Adaptive Parser for Hybrid Logs 引用了 DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning
- Face It Yourselves: An LLM-Based Two-Stage Strategy to Localize Configuration Errors via Logs 引用了 DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning
引用它的顶会 Paper12
- LILAC: Log Parsing using LLMs with Adaptive Parsing CacheZhihan Jiang, Jinyang Liu, Zhuangbin Chen, Yichen Li 等FSE 2024 · 85 次引用
- LogParser-LLM: Advancing Efficient Log Parsing with Large Language ModelsAoxiao Zhong, Dengyao Mo, Guiyang Liu, Jinbu Liu 等KDD 2024 · 41 次引用
- Twin Graph-Based Anomaly Detection via Attentive Multi-Modal Learning for Microservice SystemJun Huang, Yang Yang, Hang Yu, Jianguo Li 等ASE 2023 · 32 次引用
- Hue: A User-Adaptive Parser for Hybrid LogsJunjielong Xu, Qiuai Fu, Zhouruixing Zhu, Yutong Cheng 等FSE 2023 · 18 次引用
- Face It Yourselves: An LLM-Based Two-Stage Strategy to Localize Configuration Errors via LogsShiwen Shan, Yintong Huo, Yuxin Su, Yichen Li 等ISSTA 2024 · 18 次引用
它引用的 Paper2
相关 Paper
- Log-based Anomaly Detection Without Log ParsingVan-Hoang Le, Hongyu ZhangASE 2021 · 249 次引用
- UniParser: A Unified Log Parser for Heterogeneous Log DataYudong Liu, Xu Zhang, Shilin He, Hongyu Zhang 等WWW 2022 · 148 次引用
- PreLog: A Pre-trained Model for Log AnalyticsVan-Hoang Le, Hongyu ZhangSIGMOD 2024 · 30 次引用
- LogBase: A Large-Scale Benchmark for Semantic Log ParsingChenbo Zhang, Wenying Xu, Jinbu Liu, Lu Zhang 等ISSTA 2025 · 5 次引用
- AS-Parser: Log Parsing Based on Adaptive SegmentationXiaolei Chen, Peng Wang, Jia Chen, Wei WangSIGMOD 2024 · 4 次引用
