An Evaluation of Log Parsing with ChatGPT

06/02/2023
by   Van-Hoang Le, et al.
0

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.

READ FULL TEXT
research
11/08/2018

Tools and Benchmarks for Automated Log Parsing

Logs are imperative in the development and maintenance process of many s...
research
09/14/2023

An Assessment of ChatGPT on Log Data

Recent development of large language models (LLMs), such as ChatGPT has ...
research
08/15/2023

LogPrompt: Prompt Engineering Towards Zero-Shot and Interpretable Log Analysis

Automated log analysis is crucial in modern software-intensive systems f...
research
01/24/2020

Software Logging for Machine Learning

System logs perform a critical function in software-intensive systems as...
research
05/31/2019

ParPaRaw: Massively Parallel Parsing of Delimiter-Separated Raw Data

Parsing is essential for a wide range of use cases, such as stream proce...
research
04/24/2023

USTEP: Structuration des logs en flux grâce à un arbre de recherche évolutif

Logs record valuable system information at runtime. They are widely used...
research
08/21/2023

A Large-scale Benchmark for Log Parsing

Log data is pivotal in activities like anomaly detection and failure dia...

Please sign up or login with your details

Forgot password? Click here to reset