LogParser-LLM: Advancing Efficient Log Parsing with Large Language Models

计算机科学 解析 程序设计语言 语言模型 自下而上分析 自然语言处理 人工智能 自顶向下分析
作者
Aoxiao Zhong,Dengyao Mo,Guiyang Liu,Jinbu Liu,Qingda Lu,Qi Zhou,Jiesheng Wu,Quanzheng Li,Qingsong Wen
标识
DOI:10.1145/3637528.3671810
摘要

Logs are ubiquitous digital footprints, playing an indispensable role in system diagnostics, security analysis, and performance optimization. The extraction of actionable insights from logs is critically dependent on the log parsing process, which converts raw logs into structured formats for downstream analysis. Yet, the complexities of contemporary systems and the dynamic nature of logs pose significant challenges to existing automatic parsing techniques. The emergence of Large Language Models (LLM) offers new horizons. With their expansive knowledge and contextual prowess, LLMs have been transformative across diverse applications. Building on this, we introduce LogParser-LLM, a novel log parser integrated with LLM capabilities. This union seamlessly blends semantic insights with statistical nuances, obviating the need for hyper-parameter tuning and labeled training data, while ensuring rapid adaptability through online parsing. Further deepening our exploration, we address the intricate challenge of parsing granularity, proposing a new metric and integrating human interactions to allow users to calibrate granularity to their specific needs. Our method's efficacy is empirically demonstrated through evaluations on the Loghub-2k and the large-scale LogPub benchmark. In evaluations on the LogPub benchmark, involving an average of 3.6 million logs per dataset across 14 datasets, our LogParser-LLM requires only 272.5 LLM invocations on average, achieving a 90.6% F1 score for grouping accuracy and an 81.1% for parsing accuracy. These results demonstrate the method's high efficiency and accuracy, outperforming current state-of-the-art log parsers, including pattern-based, neural network-based, and existing LLM-enhanced approaches.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
moscowlin完成签到,获得积分10
刚刚
一啊鸭发布了新的文献求助10
刚刚
刚刚
刚刚
英俊的铭应助look采纳,获得10
1秒前
1秒前
1秒前
1秒前
canter2完成签到 ,获得积分10
2秒前
充电宝应助sinton采纳,获得10
2秒前
仁爱樱发布了新的文献求助10
2秒前
Nole应助黑炭采纳,获得10
2秒前
随逸发布了新的文献求助10
2秒前
不想看文献完成签到,获得积分20
3秒前
3秒前
3秒前
vinwwy完成签到,获得积分10
4秒前
ax发布了新的文献求助10
5秒前
5秒前
禹宛白发布了新的文献求助10
5秒前
tyu发布了新的文献求助10
5秒前
幽默孤容发布了新的文献求助10
5秒前
Lucas应助自信的寄风采纳,获得10
5秒前
大胆萤发布了新的文献求助10
6秒前
今后应助清风采纳,获得10
7秒前
科研通AI6.4应助清风采纳,获得10
7秒前
深情安青应助清风采纳,获得10
7秒前
幽默孤容发布了新的文献求助10
7秒前
完美世界应助清风采纳,获得10
8秒前
科研通AI6.2应助清风采纳,获得10
8秒前
小二郎应助清风采纳,获得10
8秒前
8秒前
8秒前
canter完成签到 ,获得积分10
9秒前
幽默孤容发布了新的文献求助10
9秒前
10秒前
10秒前
LouisKing完成签到,获得积分10
10秒前
11秒前
11秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Navigating Normative Orders. Interdisciplinary Perspectives 800
Organizational Behavior 510
Management and the Arts 510
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
CLSI VET01S-2024 Performance Standards for Antimicrobial Disk and Dilution Susceptibility Tests for Bacteria Isolated From Animals (7th Ed) 500
A Case Study on Hotels as Noncongregate Emergency Living Accommodations for Returning Citizens 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7758078
求助须知:如何正确求助?哪些是违规求助? 9304325
关于积分的说明 20279470
捐赠科研通 7341870
什么是DOI,文献DOI怎么找? 3312115
关于科研通互助平台的介绍 2462788
邀请新用户注册赠送积分活动 2325938