Evaluating Prompt Engineering for Event Log Parsing with Large Language Models: A Comparative Study
Evaluating Prompt Engineering for Event Log Parsing with Large Language Models: A Comparative Study
Where did the research take place?
The study site has not been established. Author addresses may differ from where the research occurred.
A plain-language reading has not been prepared for this paper yet.
Original abstract
The application of Large Language Models (LLMs) in event log parsing has gained traction, yet the potential of prompt engineering as a stand-alone solution remains largely underexplored. This study investigates whether prompt engineering can serve as a viable alternative to more resource-intensive methods, such as fine-tuning and in-context learning. We designed a prompt based on established principles of prompt engineering, integrating task relevance as well as various other factors suggested in the literature. In addition, as much of the existing literature focuses on closed-source LLMs, their reliance on external servers poses significant privacy risks. Recent advancements in open-source LLMs (particularly those that use reasoning such as Deepseek and Qwen) suggest that they may offer competitive performance. To evaluate this, we conducted a comparative analysis of several opensource and closed-source models. Our findings show that prompt engineering alone leads to a notable decline in parsing performance. However, we demonstrated that after introducing other features, defining abbreviations and a hashing-based template generator, we were able to achieve results which rivalled the more costly techniques that were used in prior literature. In addition, we were able to suggest Gemma 3 as an alternative to closed-source models, following the application of these features.