Log Parsing with Prompt-based Few-shot Learning
Not on the map. Why?
Abstract (arXiv)
Logs generated by large-scale software systems provide crucial information for engineers to understand the system status and diagnose problems of the systems. Log parsing, which converts raw log messages into structured data, is the first step to enabling automated log analytics. Existing log parsers extract the common part as log templates using statistical features. However, these log parsers often fail to identify the correct templates and parameters because: 1) they often overlook the semantic meaning of log messages, and 2) they require domain-specific knowledge for different log datasets. To address the limitations of existing methods, in this paper, we propose LogPPT to capture the patterns of templates using prompt-based few-shot learning. LogPPT utilises a novel prompt tuning method to recognise keywords and parameters based on a few labelled log data. In addition, an adaptive random sampling algorithm is designed to select a small yet diverse training set. We have conducted extensive experiments on 16 public log datasets. The experimental results show that LogPPT is effective and efficient for log parsing.
Key facts. Cited by 28 papers in the map (data through 7 Oct 2026). First posted on arXiv 15 Feb 2023.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2023: 5; 2024: 11; 2025: 7; 2026: 5.
28 papers.
Sort:
By area:
- 2024Characterization of Large Language Model Development in the Datacentercited by 46
- 2023OWL: A Large Language Model for IT Operationscited by 43
- 2024SOEN-101: Code Generation by Emulating Software Process Models Using Large Language Model Agentscited by 34
- 2024LogLLM: Log-based Anomaly Detection Using Large Language Modelscited by 21
- 2023Log Parsing: How Far Can ChatGPT Go?cited by 16
- 2024Lemur: Log Parsing with Entropy Sampling and Chain-of-Thought Mergingcited by 16
- 2024LogLM: From Task-based to Instruction-based Automated Log Analysiscited by 13
- 2023An Assessment of ChatGPT on Log Datacited by 11
- 2025Large Language Models for Security Operations Centers: A Comprehensive Surveycited by 9
- 2023LogPr'ecis: Unleashing Language Models for Automated Malicious Log Analysiscited by 8
- 2025Log Anomaly Detection with Large Language Models via Knowledge-Enriched Fusioncited by 8
- 2023On the Effectiveness of Log Representation for Log-based Anomaly Detectioncited by 6
16 more
- 2024Demystifying and Extracting Fault-indicating Information from Logs for Failure Diagnosiscited by 6
- 2024Adapting Large Language Models to Log Analysis with Interpretable Domain Knowledgecited by 6
- 2024Log Parsing using LLMs with Self-Generated In-Context Learning and Self-Correctioncited by 3
- 2024LibreLog: Accurate and Efficient Unsupervised Log Parsing Using Open-Source Large Language Modelscited by 3
- 2024FastRAG: Retrieval Augmented Generation for Semi-structured Datacited by 3
- 2025From Texts to Shields: Convergence of Large Language Models and Cybersecuritycited by 3
- 2025LLMLogAnalyzer: A Clustering-Based Log Analysis Chatbot using Large Language Modelscited by 3
- 2024LUK: Empowering Log Understanding with Expert Knowledge from Large Language Modelscited by 2
- 2026LanG -- A Governance-Aware Agentic AI Platform for Unified Security Operationscited by 1
- 2026LLM-Enhanced Log Anomaly Detection: A Comprehensive Benchmark of Large Language Models for Automated System Diagnosticscited by 1
- 2025A Comprehensive Survey of Challenges and Opportunities of Few-Shot Learning Across Multiple Domainscited by 0
- 2025A Word is Worth 4-bit: Efficient Log Parsing with Binary Coded Decimal Recognitioncited by 0
- 2025Lost in Translation? Converting RegExes for Log Parsing into Dynatrace Pattern Languagecited by 0
- 2026An End-to-End Framework for Functionality-Embedded Provenance Graph Construction and Threat Interpretationcited by 0
- 2026Tabular PDF Information Extraction with Local LLMs and Layout-Aware Parsing: A Reliability Evaluationcited by 0
- 2026SpikeLogBERT: Energy-Efficient Log Parsing Using Spiking Transformer Networkscited by 0
- 2026SpikeLogBERT: Energy-Efficient Log Parsing Using Spiking Transformer Networks30 Jun 2026
- 2026LLM-Enhanced Log Anomaly Detection: A Comprehensive Benchmark of Large Language Models for Automated System Diagnostics14 Apr 2026
- 2026LanG -- A Governance-Aware Agentic AI Platform for Unified Security Operations7 Apr 2026
- 2026An End-to-End Framework for Functionality-Embedded Provenance Graph Construction and Threat Interpretation17 Mar 2026
- 2026Tabular PDF Information Extraction with Local LLMs and Layout-Aware Parsing: A Reliability Evaluation9 Mar 2026
- 2025Log Anomaly Detection with Large Language Models via Knowledge-Enriched Fusion12 Dec 2025
- 2025LLMLogAnalyzer: A Clustering-Based Log Analysis Chatbot using Large Language Models28 Oct 2025
- 2025Large Language Models for Security Operations Centers: A Comprehensive Survey13 Sep 2025
- 2025Lost in Translation? Converting RegExes for Log Parsing into Dynatrace Pattern Language24 Jun 2025
- 2025A Word is Worth 4-bit: Efficient Log Parsing with Binary Coded Decimal Recognition1 Jun 2025
- 2025From Texts to Shields: Convergence of Large Language Models and Cybersecurity1 May 2025
- 2025A Comprehensive Survey of Challenges and Opportunities of Few-Shot Learning Across Multiple Domains5 Apr 2025
16 more
- 2024Adapting Large Language Models to Log Analysis with Interpretable Domain Knowledge2 Dec 2024
- 2024FastRAG: Retrieval Augmented Generation for Semi-structured Data21 Nov 2024
- 2024LogLLM: Log-based Anomaly Detection Using Large Language Models13 Nov 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
- 2024LUK: Empowering Log Understanding with Expert Knowledge from Large Language Models3 Sep 2024
- 2024LibreLog: Accurate and Efficient Unsupervised Log Parsing Using Open-Source Large Language Models2 Aug 2024
- 2024Log Parsing using LLMs with Self-Generated In-Context Learning and Self-Correction5 Jun 2024
- 2024SOEN-101: Code Generation by Emulating Software Process Models Using Large Language Model Agents23 Mar 2024
- 2024Characterization of Large Language Model Development in the Datacenter12 Mar 2024
- 2024Lemur: Log Parsing with Entropy Sampling and Chain-of-Thought Merging28 Feb 2024
- 2023OWL: A Large Language Model for IT Operations17 Sep 2023
- 2023An Assessment of ChatGPT on Log Data14 Sep 2023
- 2023On the Effectiveness of Log Representation for Log-based Anomaly Detection17 Aug 2023
- 2023LogPr'ecis: Unleashing Language Models for Automated Malicious Log Analysis17 Jul 2023
- 2023Log Parsing: How Far Can ChatGPT Go?2 Jun 2023
- 2024Characterization of Large Language Model Development in the Datacentercited by 46
- 2023OWL: A Large Language Model for IT Operationscited by 43
- 2024LogLLM: Log-based Anomaly Detection Using Large Language Modelscited by 21
- 2023Log Parsing: How Far Can ChatGPT Go?cited by 16
- 2024LogLM: From Task-based to Instruction-based Automated Log Analysiscited by 13
- 2023An Assessment of ChatGPT on Log Datacited by 11
- 2025Large Language Models for Security Operations Centers: A Comprehensive Surveycited by 9
- 2023LogPr'ecis: Unleashing Language Models for Automated Malicious Log Analysiscited by 8
- 2025Log Anomaly Detection with Large Language Models via Knowledge-Enriched Fusioncited by 8
- 2023On the Effectiveness of Log Representation for Log-based Anomaly Detectioncited by 6
- 2024Demystifying and Extracting Fault-indicating Information from Logs for Failure Diagnosiscited by 6
- 2024Adapting Large Language Models to Log Analysis with Interpretable Domain Knowledgecited by 6
12 most cited of 23 All 23 (JSON)
- 2026SpikeLogBERT: Energy-Efficient Log Parsing Using Spiking Transformer Networks30 Jun 2026
- 2026LLM-Enhanced Log Anomaly Detection: A Comprehensive Benchmark of Large Language Models for Automated System Diagnostics14 Apr 2026
- 2026An End-to-End Framework for Functionality-Embedded Provenance Graph Construction and Threat Interpretation17 Mar 2026
- 2026Tabular PDF Information Extraction with Local LLMs and Layout-Aware Parsing: A Reliability Evaluation9 Mar 2026
- 2025Log Anomaly Detection with Large Language Models via Knowledge-Enriched Fusion12 Dec 2025
- 2025LLMLogAnalyzer: A Clustering-Based Log Analysis Chatbot using Large Language Models28 Oct 2025
- 2025Large Language Models for Security Operations Centers: A Comprehensive Survey13 Sep 2025
- 2025Lost in Translation? Converting RegExes for Log Parsing into Dynatrace Pattern Language24 Jun 2025
- 2025A Word is Worth 4-bit: Efficient Log Parsing with Binary Coded Decimal Recognition1 Jun 2025
- 2025From Texts to Shields: Convergence of Large Language Models and Cybersecurity1 May 2025
- 2025A Comprehensive Survey of Challenges and Opportunities of Few-Shot Learning Across Multiple Domains5 Apr 2025
- 2024Adapting Large Language Models to Log Analysis with Interpretable Domain Knowledge2 Dec 2024
12 newest of 23 All 23 (JSON)