Log Parsing: How Far Can ChatGPT Go?
Not on the map. Why?
Abstract (arXiv)
Software logs play an essential role in ensuring the reliability and maintainability of large-scale software systems, as they are often the sole source of runtime information. Log parsing, which converts raw log messages into structured data, is an important initial step towards downstream log analytics. In recent studies, ChatGPT, the current cutting-edge large language model (LLM), has been widely applied to a wide range of software engineering tasks. However, its performance in automated log parsing remains unclear. In this paper, we evaluate ChatGPT's ability to undertake log parsing by addressing two research questions. (1) Can ChatGPT effectively parse logs? (2) How does ChatGPT perform with different prompting methods? Our results show that ChatGPT can achieve promising results for log parsing with appropriate prompts, especially with few-shot prompting. Based on our findings, we outline several challenges and opportunities for ChatGPT-based log parsing.
Key facts. Cited by 16 papers in the map (data through 14 Oct 2026). Builds on 15 of its 37 references that are in the map. First posted on arXiv 2 Jun 2023.
Builds on
15 of 37 references.
References · 15
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
- 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,234
- 2023Plan-and-Solve Prompting: Improving Zero-Shot Chain-of-Thought Reasoning by Large Language Modelscited by 560
- 2021Log-based Anomaly Detection Without Log Parsingcited by 59
- 2022Log-based Anomaly Detection with Deep Learning: How Far Are We?cited by 57
- 2018Tools and Benchmarks for Automated Log Parsingcited by 56
- 2023What Makes Good In-context Demonstrations for Code Intelligence Tasks with LLMs?cited by 47
- 2023Log Parsing with Prompt-based Few-shot Learningcited by 29
- 2022UniParser: A Unified Log Parser for Heterogeneous Log Datacited by 26
- 2023A study on Prompt Design, Advantages and Limitations of ChatGPT for Deep Learning Program Repaircited by 26
- 2020Self-Supervised Log Parsingcited by 23
3 more
Built on by
Citing papers per year: 2024: 8; 2025: 4; 2026: 4.
16 papers.
Sort:
By area:
- 2024Characterization of Large Language Model Development in the Datacentercited by 46
- 2025A Survey of AIOps in the Era of Large Language Modelscited by 19
- 2024Face It Yourselves: An LLM-Based Two-Stage Strategy to Localize Configuration Errors via Logscited by 17
- 2024OptLLM: Optimal Assignment of Queries to Large Language Modelscited by 16
- 2024Adapting Large Language Models to Log Analysis with Interpretable Domain Knowledgecited by 8
- 2024A Comparative Study on Large Language Models for Log Parsingcited by 5
- 2024Log Parsing using LLMs with Self-Generated In-Context Learning and Self-Correctioncited by 4
- 2024LibreLog: Accurate and Efficient Unsupervised Log Parsing Using Open-Source Large Language Modelscited by 3
- 2025System Log Parsing with Large Language Models: A Reviewcited by 3
- 2024HELP: Hierarchical Embeddings-based Log Parsingcited by 2
- 2025An Ethically Grounded LLM-Based Approach to Insider Threat Synthesis and Detectioncited by 1
- 2025LLM-Powered Fully Automated Chaos Engineering: Towards Enabling Anyone to Build Resilient Software Systems at Low Costcited by 0
4 more
- 2026SCOPE: Tree-based Self-Correcting Online Log Parsing via Syntactic-Semantic Collaborationcited by 0
- 2026Tabular PDF Information Extraction with Local LLMs and Layout-Aware Parsing: A Reliability Evaluationcited by 0
- 2026Traffic-Aware Randomized Smoothing for LLM-Based Network Intrusion Detectioncited by 0
- 2026Legacy System Modernization with Coding Agents: A Case Studycited by 0
- 2026Legacy System Modernization with Coding Agents: A Case Study29 Aug 2026
- 2026Traffic-Aware Randomized Smoothing for LLM-Based Network Intrusion Detection15 Jul 2026
- 2026SCOPE: Tree-based Self-Correcting Online Log Parsing via Syntactic-Semantic Collaboration28 Mar 2026
- 2026Tabular PDF Information Extraction with Local LLMs and Layout-Aware Parsing: A Reliability Evaluation9 Mar 2026
- 2025LLM-Powered Fully Automated Chaos Engineering: Towards Enabling Anyone to Build Resilient Software Systems at Low Cost11 Nov 2025
- 2025An Ethically Grounded LLM-Based Approach to Insider Threat Synthesis and Detection8 Sep 2025
- 2025A Survey of AIOps in the Era of Large Language Models23 Jun 2025
- 2025System Log Parsing with Large Language Models: A Review7 Apr 2025
- 2024Adapting Large Language Models to Log Analysis with Interpretable Domain Knowledge2 Dec 2024
- 2024A Comparative Study on Large Language Models for Log Parsing4 Sep 2024
- 2024HELP: Hierarchical Embeddings-based Log Parsing15 Aug 2024
- 2024LibreLog: Accurate and Efficient Unsupervised Log Parsing Using Open-Source Large Language Models2 Aug 2024
4 more
- 2024Log Parsing using LLMs with Self-Generated In-Context Learning and Self-Correction5 Jun 2024
- 2024OptLLM: Optimal Assignment of Queries to Large Language Models24 May 2024
- 2024Face It Yourselves: An LLM-Based Two-Stage Strategy to Localize Configuration Errors via Logs31 Mar 2024
- 2024Characterization of Large Language Model Development in the Datacenter12 Mar 2024
- 2026Legacy System Modernization with Coding Agents: A Case Study29 Aug 2026
- 2024Characterization of Large Language Model Development in the Datacentercited by 46
- 2025A Survey of AIOps in the Era of Large Language Modelscited by 19
- 2024Face It Yourselves: An LLM-Based Two-Stage Strategy to Localize Configuration Errors via Logscited by 17
- 2024OptLLM: Optimal Assignment of Queries to Large Language Modelscited by 16
- 2024Adapting Large Language Models to Log Analysis with Interpretable Domain Knowledgecited by 8
- 2024A Comparative Study on Large Language Models for Log Parsingcited by 5
- 2024LibreLog: Accurate and Efficient Unsupervised Log Parsing Using Open-Source Large Language Modelscited by 3
- 2025System Log Parsing with Large Language Models: A Reviewcited by 3
- 2024HELP: Hierarchical Embeddings-based Log Parsingcited by 2
- 2025An Ethically Grounded LLM-Based Approach to Insider Threat Synthesis and Detectioncited by 1
- 2025LLM-Powered Fully Automated Chaos Engineering: Towards Enabling Anyone to Build Resilient Software Systems at Low Costcited by 0
- 2026SCOPE: Tree-based Self-Correcting Online Log Parsing via Syntactic-Semantic Collaborationcited by 0
12 most cited of 14 All 14 (JSON)
- 2026Traffic-Aware Randomized Smoothing for LLM-Based Network Intrusion Detection15 Jul 2026
- 2026SCOPE: Tree-based Self-Correcting Online Log Parsing via Syntactic-Semantic Collaboration28 Mar 2026
- 2026Tabular PDF Information Extraction with Local LLMs and Layout-Aware Parsing: A Reliability Evaluation9 Mar 2026
- 2025LLM-Powered Fully Automated Chaos Engineering: Towards Enabling Anyone to Build Resilient Software Systems at Low Cost11 Nov 2025
- 2025An Ethically Grounded LLM-Based Approach to Insider Threat Synthesis and Detection8 Sep 2025
- 2025A Survey of AIOps in the Era of Large Language Models23 Jun 2025
- 2025System Log Parsing with Large Language Models: A Review7 Apr 2025
- 2024Adapting Large Language Models to Log Analysis with Interpretable Domain Knowledge2 Dec 2024
- 2024A Comparative Study on Large Language Models for Log Parsing4 Sep 2024
- 2024HELP: Hierarchical Embeddings-based Log Parsing15 Aug 2024
- 2024LibreLog: Accurate and Efficient Unsupervised Log Parsing Using Open-Source Large Language Models2 Aug 2024
- 2024OptLLM: Optimal Assignment of Queries to Large Language Models24 May 2024
12 newest of 14 All 14 (JSON)