Log Parsing: How Far Can ChatGPT Go?

Van-Hoang Le, Hongyu Zhang
6/2/2023
cs.SEcs.AI

No official code found. Best implementation: LogIntelligence/log-analytics-chatgpt (22 stars, last commit 2023-12-07).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

Log Parsing: How Far Can ChatGPT Go? (ASE 2023 - NIER Track)

221Python2 years ago

Cite this paper

@article{le2023parsing,
  title  = {Log Parsing: How Far Can ChatGPT Go?},
  author = {Van-Hoang Le and Hongyu Zhang},
  year   = {2023},
  eprint = {2306.01590},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.01590v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2306.01590.svg)](https://codeofpaper.com/paper/2306.01590)

Discussion