亲爱的研友该休息了!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人24小时在线,伴您度过漫漫科研夜!身体可是革命的本钱,早点休息,好梦!

DivLog: Log Parsing with Prompt Enhanced In-Context Learning

计算机科学 解析 启发式 背景(考古学) 下垂 人工智能 精确性和召回率 自然语言处理 对数图 机器学习 数据挖掘 二进制对数 历史 考古 古生物学 数学分析 操作系统 数学 生物
作者
Junjielong Xu,Ruichun Yang,Yintong Huo,Chengyu Zhang,Pinjia He
标识
DOI:10.1145/3597503.3639155
摘要

Log parsing, which involves log template extraction from semi-structured logs to produce structured logs, is the first and the most critical step in automated log analysis. However, current log parsers suffer from limited effectiveness for two reasons. First, traditional data-driven log parsers solely rely on heuristics or handcrafted features designed by domain experts, which may not consistently perform well on logs from diverse systems. Second, existing supervised log parsers require model tuning, which is often limited to fixed training samples and causes sub-optimal performance across the entire log source. To address this limitation, we propose DivLog, an effective log parsing framework based on the in-context learning (ICL) ability of large language models (LLMs). Specifically, before log parsing, DivLog samples a small amount of offline logs as candidates by maximizing their diversity. Then, during log parsing, DivLog selects five appropriate labeled candidates as examples for each target log and constructs them into a prompt. By mining the semantics of examples in the prompt, DivLog generates a target log template in a training-free manner. In addition, we design a straightforward yet effective prompt format to extract the output and enhance the quality of the generated log templates. We conducted experiments on 16 widely-used public datasets. The results show that DivLog achieves (1) 98.1% Parsing Accuracy, (2) 92.1% Precision Template Accuracy, and (3) 92.9% Recall Template Accuracy on average, exhibiting state-of-the-art performance.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
4秒前
Jung发布了新的文献求助10
7秒前
12秒前
18秒前
Chou完成签到,获得积分10
26秒前
hhz发布了新的文献求助10
29秒前
lijunliang完成签到,获得积分10
34秒前
coollzl完成签到 ,获得积分10
40秒前
卧镁铀钳完成签到 ,获得积分10
1分钟前
daliang完成签到,获得积分10
1分钟前
1分钟前
HM完成签到,获得积分10
1分钟前
1分钟前
wuxinbai发布了新的文献求助10
1分钟前
flyinthesky完成签到,获得积分10
1分钟前
JamesPei应助wuxinbai采纳,获得10
1分钟前
HC完成签到,获得积分10
1分钟前
张晓祁完成签到,获得积分10
1分钟前
Jung完成签到,获得积分10
1分钟前
完美世界应助tq采纳,获得10
1分钟前
1分钟前
李爱国应助科研通管家采纳,获得10
1分钟前
KKUMee完成签到,获得积分10
1分钟前
沉静的便当完成签到 ,获得积分10
2分钟前
yueying完成签到,获得积分10
2分钟前
科研通AI6.1应助nini采纳,获得10
2分钟前
shuang完成签到 ,获得积分10
2分钟前
2分钟前
2分钟前
wuxinbai发布了新的文献求助10
2分钟前
完美世界应助拓跋雨梅采纳,获得10
2分钟前
2分钟前
tq发布了新的文献求助10
2分钟前
艺玲完成签到,获得积分10
2分钟前
ZanE完成签到,获得积分10
2分钟前
tfq200完成签到,获得积分10
2分钟前
3分钟前
nini发布了新的文献求助10
3分钟前
任性饼干完成签到 ,获得积分10
3分钟前
无语的巨人完成签到 ,获得积分10
3分钟前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Developing Genetic Editing Tools for Lysobacter 2000
卤化钙钛矿人工突触的研究 2000
Моделирование процессов самоорганизации в кристаллообразующих системах 1000
History of U.S. Space Surveillance and Satellite Cataloging 1000
Malcolm Fraser : a biography 700
Handbook of Optical Systems,Volume 6:Advanced Physical Optics 666
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6515432
求助须知:如何正确求助?哪些是违规求助? 8308621
关于积分的说明 17756920
捐赠科研通 5617410
什么是DOI,文献DOI怎么找? 2924993
邀请新用户注册赠送积分活动 1902030
关于科研通互助平台的介绍 1763337