SemParser: A Semantic Parser for Log Analysis
Not on the map. Why?
Abstract (arXiv)
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 semantic-based parser SemParser to unlock the critical bottleneck of mining semantics from log messages. It contains two steps, an end-to-end semantic 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 based on the contextual knowledge base. 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.
Key facts. Cited by 17 papers in the map (data through 14 Oct 2026). First posted on arXiv 23 Dec 2021.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2023: 4; 2024: 7; 2025: 2; 2026: 4.
17 papers.
Sort:
By area:
- 2023Interpretable Online Log Analysis Using Large Language Models with Prompt Strategiescited by 38
- 2024Automatic Programming: Large Language Models and Beyondcited by 36
- 2024Face It Yourselves: An LLM-Based Two-Stage Strategy to Localize Configuration Errors via Logscited by 17
- 2023Log Parsing: How Far Can ChatGPT Go?cited by 16
- 2024LogLM: From Task-based to Instruction-based Automated Log Analysiscited by 15
- 2024Adapting Large Language Models to Log Analysis with Interpretable Domain Knowledgecited by 8
- 2025Log Anomaly Detection with Large Language Models via Knowledge-Enriched Fusioncited by 8
- 2023Twin Graph-based Anomaly Detection via Attentive Multi-Modal Learning for Microservice Systemcited by 7
- 2024Demystifying and Extracting Fault-indicating Information from Logs for Failure Diagnosiscited by 6
- 2024Log Parsing using LLMs with Self-Generated In-Context Learning and Self-Correctioncited by 4
- 2024Root Cause Localization for Microservice Systems in Cloud-edge Collaborative Environmentscited by 2
- 2023Interactive Log Parsing via Light-weight User Feedbackcited by 0
5 more
- 2025A Word is Worth 4-bit: Efficient Log Parsing with Binary Coded Decimal Recognitioncited by 0
- 2026MicLog: Towards Accurate and Efficient LLM-based Log Parsing via Progressive Meta In-Context Learningcited by 0
- 2026SCOPE: Tree-based Self-Correcting Online Log Parsing via Syntactic-Semantic Collaborationcited by 0
- 2026Protocol-Sensitive Evaluation of Log Anomaly Detection: Component Costs and Target-Access Sensitivity on HDFS and BGLcited by 0
- 2026SLS-Bench: A Benchmark for Incident Log Summarization with Synthetic Observability Datacited by 0
- 2026SLS-Bench: A Benchmark for Incident Log Summarization with Synthetic Observability Data12 Oct 2026
- 2026Protocol-Sensitive Evaluation of Log Anomaly Detection: Component Costs and Target-Access Sensitivity on HDFS and BGL5 Oct 2026
- 2026SCOPE: Tree-based Self-Correcting Online Log Parsing via Syntactic-Semantic Collaboration28 Mar 2026
- 2026MicLog: Towards Accurate and Efficient LLM-based Log Parsing via Progressive Meta In-Context Learning11 Jan 2026
- 2025Log Anomaly Detection with Large Language Models via Knowledge-Enriched Fusion12 Dec 2025
- 2025A Word is Worth 4-bit: Efficient Log Parsing with Binary Coded Decimal Recognition1 Jun 2025
- 2024Adapting Large Language Models to Log Analysis with Interpretable Domain Knowledge2 Dec 2024
- 2024LogLM: From Task-based to Instruction-based Automated Log Analysis12 Oct 2024
- 2024Demystifying and Extracting Fault-indicating Information from Logs for Failure Diagnosis20 Sep 2024
- 2024Root Cause Localization for Microservice Systems in Cloud-edge Collaborative Environments19 Jun 2024
- 2024Log Parsing using LLMs with Self-Generated In-Context Learning and Self-Correction5 Jun 2024
- 2024Automatic Programming: Large Language Models and Beyond3 May 2024
5 more
- 2024Face It Yourselves: An LLM-Based Two-Stage Strategy to Localize Configuration Errors via Logs31 Mar 2024
- 2023Twin Graph-based Anomaly Detection via Attentive Multi-Modal Learning for Microservice System7 Oct 2023
- 2023Interpretable Online Log Analysis Using Large Language Models with Prompt Strategies15 Aug 2023
- 2023Log Parsing: How Far Can ChatGPT Go?2 Jun 2023
- 2023Interactive Log Parsing via Light-weight User Feedback28 Jan 2023
- 2023Interpretable Online Log Analysis Using Large Language Models with Prompt Strategiescited by 38
- 2024Automatic Programming: Large Language Models and Beyondcited by 36
- 2024Face It Yourselves: An LLM-Based Two-Stage Strategy to Localize Configuration Errors via Logscited by 17
- 2023Log Parsing: How Far Can ChatGPT Go?cited by 16
- 2024LogLM: From Task-based to Instruction-based Automated Log Analysiscited by 15
- 2024Adapting Large Language Models to Log Analysis with Interpretable Domain Knowledgecited by 8
- 2025Log Anomaly Detection with Large Language Models via Knowledge-Enriched Fusioncited by 8
- 2023Twin Graph-based Anomaly Detection via Attentive Multi-Modal Learning for Microservice Systemcited by 7
- 2024Demystifying and Extracting Fault-indicating Information from Logs for Failure Diagnosiscited by 6
- 2024Root Cause Localization for Microservice Systems in Cloud-edge Collaborative Environmentscited by 2
- 2023Interactive Log Parsing via Light-weight User Feedbackcited by 0
- 2025A Word is Worth 4-bit: Efficient Log Parsing with Binary Coded Decimal Recognitioncited by 0
12 most cited of 16 All 16 (JSON)
- 2026SLS-Bench: A Benchmark for Incident Log Summarization with Synthetic Observability Data12 Oct 2026
- 2026Protocol-Sensitive Evaluation of Log Anomaly Detection: Component Costs and Target-Access Sensitivity on HDFS and BGL5 Oct 2026
- 2026SCOPE: Tree-based Self-Correcting Online Log Parsing via Syntactic-Semantic Collaboration28 Mar 2026
- 2026MicLog: Towards Accurate and Efficient LLM-based Log Parsing via Progressive Meta In-Context Learning11 Jan 2026
- 2025Log Anomaly Detection with Large Language Models via Knowledge-Enriched Fusion12 Dec 2025
- 2025A Word is Worth 4-bit: Efficient Log Parsing with Binary Coded Decimal Recognition1 Jun 2025
- 2024Adapting Large Language Models to Log Analysis with Interpretable Domain Knowledge2 Dec 2024
- 2024LogLM: From Task-based to Instruction-based Automated Log Analysis12 Oct 2024
- 2024Demystifying and Extracting Fault-indicating Information from Logs for Failure Diagnosis20 Sep 2024
- 2024Root Cause Localization for Microservice Systems in Cloud-edge Collaborative Environments19 Jun 2024
- 2024Automatic Programming: Large Language Models and Beyond3 May 2024
- 2024Face It Yourselves: An LLM-Based Two-Stage Strategy to Localize Configuration Errors via Logs31 Mar 2024
12 newest of 16 All 16 (JSON)