LogPrompt: Prompt Engineering Towards Zero-Shot and Interpretable Log Analysis
The DOI matches its Crossref record; 2 of the 5 references it cites were found in a registry or an index.
Abstract
Automated log analysis plays a crucial role in software maintenance as it allows for efficient identification and resolution of issues. However, traditional methods employed in log analysis heavily rely on extensive historical data for training purposes and lack rationales for its predictions. The performance of these traditional methods significantly deteriorates when in-domain logs for training are limited and unseen log data are the majority, particularly in rapidly changing online environments. Additionally, the lack of rationales hampers the interpretability of analysis results and impacts analysts' subsequent decision-making processes. To address these challenges, we proposes LogPrompt, an novel approach that leverages large language models (LLMs) and advanced prompting techniques to achieve performance improvements in zero-shot scenarios (i.e., no in-domain training). Moreover, LogPrompt has garnered positive evaluations from experienced practitioners in its log interpretation ability. Code available at https://github.com/lunyiliu/LogPrompt.
Overview
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
In the citing paper
“Several studies have also shown that LLMs can support system log analysis [20,21], including the identi cation of potential root causes of failures [22]”
From Let’s read the log: root cause analysis of railway test execution logs with large language models (2026) · cites this paper as [22]
Citations
Cites
Chain-Of-Thought Prompting Elicits Reasoning in Large Language Models
Wei, J., Wang, X., Schuurmans, D., Bosma, M., Ichter, B., Xia, F., Chi, E., Le, Q. V., & Zhou, D. (2022) · Advances in Neural Information Processing Systems 35 · doi:10.52202/068431-1800 · Cited by 4,505
Loghub: a large collection of system log datasets for AI-driven log analytics
Zhu, J., He, S., He, P., Liu, J., & Lyu, M. R. (2023) · 2023 IEEE 34th International Symposium on Software Reliability Engineering (ISSRE) · doi:10.1109/issre59848.2023.00071 · Cited by 302
Shilin He, Jieming Zhu, Pinjia He, and Michael R Lyu. 2020. Loghub: a large collection of system log datasets towards automated log analytics. arXiv preprint arXiv:2008.06448 (2020).
Shilin, H. (2020)
UnresolvedWenxiang Jiao, Wenxuan Wang, Jen-tse Huang, Xing Wang, and Zhaopeng Tu. 2023. Is ChatGPT a good translator? A preliminary study. arXiv preprint arXiv:2301.08745 (2023).
Wenxiang, J. (2023)
UnresolvedJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Ed Chi, Quoc Le, and Denny Zhou. 2022. Chain of thought prompting elicits reasoning in large language models. arXiv preprint arXiv:2201.11903 (2022).
Jason, W. (2022)
Unresolved
Cited by
Items 101–166 of 166
LogReasoner: Empowering LLMs with Expert-like Coarse-to-Fine Reasoning for Automated Log Analysis
Ma, L., Li, Y., Yang, W., Zhou, M., Liu, X., Fei, B., Li, S., Sun, X., Jiang, S., & Xiao, Y. (2026) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3801747
“We first align the high-level thought with instantiated reasoning in this stage to further strengthen the LLM’s ability to follow the structured workflows for instantiated reasoning, where we utilize task-specific reasoning processes generated by the thought-enhanced LLM 𝜋 𝑡ℎ𝑜𝑢𝑔ℎ𝑡 as a source…”
Cogburn, D. L., Ochieng, T., Shikako‐Thomas, K., Woods, J., & Aydin, M. (2025) · Hawaii International Conference on System Sciences (HICSS) · doi:10.24251/hicss.2025.295
DBSFT: A High-Precision Database Anomaly Detection and Analysis via Task-Tune Based LLM
Zhong, H., Wang, J., Wang, X., Wang, X., Xiao, W., Tang, X., & Zang, L. (2025) · Lecture notes in electrical engineering · doi:10.1007/978-981-96-2468-3_40
RELA: An Online-Offline Framework for Rules Enhanced Logs Analysis Based on Large Language Models
Ji, X., Chen, R., Chen, Y., Xiang, N., & Zhang, K. (2024) · International Conference on Automation, Robotics and Computer Engineering (ICARCE) · doi:10.1109/icarce63054.2024.00087
Fang, Y., & Zeng, G. (2025) · IEEE Transactions on Neural Networks and Learning Systems · doi:10.1109/tnnls.2025.3599630
Human-AI Collaborative Bot Detection in MMORPGsPreprint
Son, J., & Kim, H. (2025) · arXiv (Cornell University) · doi:10.48550/arxiv.2508.20578
Zhang, W., Cheng, X., Li, X., Yang, J., Zhang, L., Guan, X., & Li, Z. (2025) · ACM International Conference on Information and Knowledge Management (CIKM) · doi:10.1145/3746252.3761231
Learning Assembly Language Models for Security Applications
Li, X. (2024) · eScholarship (California Digital Library)
Debugging Tabular Log as Dynamic GraphsPreprint
Liang, C., Jin, Z., Akhtar, Z., Pereira, M., Yu, H., & You, J. (2025) · arXiv (Cornell University) · doi:10.48550/arxiv.2512.22903
Leveraging Few-Shot In-Context Learning for Scaling Railway Log Anomaly Detection
Possamai, Q., Bonangi, R., Trilla, A., Yiboe, O., Saiah, K., & Mijatović, N. (2026) · PHM Society Asia-Pacific Conference · doi:10.36001/phmap.2025.v5i1.4435
Sun, M., Sun, Y., & Wang, Y. (2025) · International Conference on Advanced Cloud and Big Data · doi:10.1109/cbd69312.2025.00072
A zero-shot neural learning to rank framework for ranking large language models
Bashir, S., & Alkhatib, M. (2026) · Journal of King Saud University - Computer and Information Sciences · doi:10.1007/s44443-026-00523-x
Towards Automation in Log Parsing: Auto-Prompt Optimization with Natural Language Gradients
Chen, J., Hong, Y., Liu, J., & Bu, C. (2026) · Lecture notes in computer science · doi:10.1007/978-981-95-7081-2_25
LogSNN: Spiking Neural Networks for System Log Anomaly DetectionPreprint
Chen, S., Liao, H., Liang, Y., Zhou, H., & Min, F. (2026) · SSRN Electronic Journal · doi:10.2139/ssrn.6343052
AI-Powered Intelligent System through context aware log scrutiny for Anomaly detection
Gupta, S., Asirvatharaj, G., & Talluri, R. T. (2026) · International Conference on Communication Systems & Networks (COMSNETS) · doi:10.1109/comsnets67989.2026.11418291
A Switch-Based Framework for Efficient Anomaly Detection in Noisy Log Sequences
Cheng, H., & Ying, S. (2026) · International Journal of Web Services Research · doi:10.4018/ijwsr.406287
DyLogNet: A Dynamic Multi-Relational Graph Framework for Log Anomaly Detection
Zhao, X., Xu, X., Xiang, H., Gao, T., Qi, L., Beheshti, A., Zhang, X., & Dou, W. (2026) · International World Wide Web Conference (WWW) · doi:10.1145/3774904.3792263
Self-citationAnomalyGen: Enhancing Log-Based Anomaly Detection with Code-Guided Data AugmentationPreprint
Li, X., Huo, Y., Mao, C., Shan, S., Su, Y., Wang, Y., & Zheng, Z. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2604.11107
Du, X., Liu, Y., & Chen, H. (2026) · SSRN Electronic Journal · doi:10.2139/ssrn.6597747
Self-citationTowards Multi-Label Text Interpretation with Chain-of-Thought Prompting and Contextualized Knowledge
Wang, R., Li, Z., Huang, H., Yu, J., Zhou, Y., & Sun, G. (2026) · International World Wide Web Conference (WWW) · doi:10.1145/3774904.3792436
LLM-based AIOps via Log Prioritization in Air-Gapped Systems
송상희, & Kim, H. (2026) · Workshop on Machine Learning and Systems (EuroMLSys) · doi:10.1145/3805621.3807626
cfgLLM: Automated assistance for software requirements using multi-LLM Fusion Agentic Framework
Chakravarthi, C. L. A., Vivek, Y., Godboley, S., & Krishna, P. R. (2026) · Innovations in Software Engineering Conference (ISEC) · doi:10.1145/3796563.3796599
ANTEATER: A Filter-then-Scrutinize Architecture for End-to-End Attack Investigation
Ren, Y.-M., Wang, H.-Q., Li, L.-H., Chen, H.-Y., Si, C.-X., Zhou, Z., & Liu, Q.-Y. (2026) · Proc. ACM Manag. Data · doi:10.1145/3802012
Beyzavi, H., Shiraskar, S., Albluwi, A., Albalawi, M., Rizk, D., Rizk, F., Rizk, P., Nehmetallah, G., Rizk, R., & Santosh, K. (2026) · IEEE Conference on Artificial Intelligence (CAI) · doi:10.1109/cai68641.2026.11536474
Can Open-Weight LLMs replace Build Log Analyzers?Preprint
Macho, C., & Stengg, K. (2026) · SSRN Electronic Journal · doi:10.2139/ssrn.6880212
SmarTracker: Leveraging LLMs to Automate User Behavior Tracking in Mobile Apps
Wu, S., Zhou, H., Zhao, K., Yu, L., Bao, S., & Luo, X. (2026) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2026.3701153
Kneip, B., Le‐Khac, N., & Nguyen-Le, H.-H. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2606.08649
LogNEO: A GPT-Neo Reinforcement Learning Framework for Accurate Real-Time Log Anomaly DetectionPreprint
Eje, D., Sharma, T., Patel, K., Mazzara, M., & Johard, L. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2606.08153
LLM-Assisted Forensic and Compliance Auditing for Public Sector Organizations
Santos, J., Correia, R., Betancourt, J., Cruz, T., Henriques, J., Caldeira, F., & Simões, P. (2026) · European Conference on Cyber Warfare and Security · doi:10.34190/eccws.25.1.4707
Generating Blockly XML to detect alerts in logs using language models
Sydorenko, M. (2026) · Brno University of Technology Digital Library (Brno University of Technology)
Cui, W., Hu, Y., Liu, Z., Feng, J., Zhang, S., & Wen, Y. (2026) · Lecture notes of the Institute for Computer Sciences, Social Informatics and Telecommunications Engineering · doi:10.1007/978-3-032-22545-0_7
BEAVER-EDGE: An LLM-orchestrated framework for edge AI lifecycle management automation
Wu, G., & Morabito, R. (2026) · Future Generation Computer Systems · doi:10.1016/j.future.2026.108697
LogKDR: A Knowledge-Distilled Retrieval-Augmented Framework for Interpretable Log Analysis
Liu, J., Qin, J., Han, X., Du, D., Zhu, Y. C., Jiang, B., & Lu, Z. (2026) · International Conference on Computer Supported Cooperative Work in Design (CSCWD) · doi:10.1109/cscwd68734.2026.11581732
LogNLQ: Natural-Language Log Querying with Parser-Induced and Semantically Grounded SchemasPreprint
Wang, J., Liu, J., Chen, Z., & Zheng, Z. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2607.03884
Can Large Language Models Generate Observability-Aware Code?Preprint
Tao, Y., Zhang, H., Gao, P., Ma, M., Fan, Z., Kang, Y., Zhang, J., Qin, S., Li, L., Lin, Q., et al. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2607.05785
MacLog: Hybrid Mamba-CNN Modeling for Log Anomaly Detection with LLM-Assisted Augmentation
Zhang, C., Mo, J., Zhou, G., & Li, C. (2026) · Lecture notes in computer science · doi:10.1007/978-981-92-3438-7_9
Log Anomaly Detection in Kubernetes Using Graph Neural Networks and Retrieval-Augmented Generation
Fan, D., Zhang, S., Huo, Y., Liu, M., Chen, X., & He, L. (2026) · Lecture notes in computer science · doi:10.1007/978-981-92-2868-3_12
Securing cloud-native systems: From vulnerability analysis to external and insider threat detection
Jiongchi, Y. U. (2026) · Singapore Management University Institutional Knowledge (InK) (Singapore Management University)
Towards Log Analysis for Reliability Engineering of Agentic Systems
Van Hoang, L. E., Bianculli, D., & Zhang, H. (2026) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsme67971.2026.00066
Ren, W., Hou, D., Shi, S., Xie, X., & Zhu, J. (2026) · Engineering Research Express · doi:10.1088/2631-8695/ae8bff
Fine-Tuning Large Language Models for Anomaly Detection in Distributed System Logs
Alvarez, G., Gangwani, P., Dwivedi, G., Perez-Pons, A., & Upadhyay, H. (2026) · Lecture notes of the Institute for Computer Sciences, Social Informatics and Telecommunications Engineering · doi:10.1007/978-3-032-22542-9_1
LLM-Powered Log Text Embedding for Automated Attack Investigation
Liu, Z. Y., Zhang, X., Kong, H., Cui, W., Zhang, L., Du, Y., & Wen, Y. (2026) · Lecture notes in computer science · doi:10.1007/978-981-92-3423-3_24
Just Testing, Move Along: Evasion of LLM-based System Log Interpretation by Prompt InjectionPreprint
Landauer, M., Skopik, F., Wurzenberger, M., Górski, F., & Krzysztoń, M. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2607.24174
Rui, L., Yang, Y., Yu, P., Gao, Z., Yang, Y., & Guo, S. (2026) · IEEE Transactions on Network and Service Management · doi:10.1109/tnsm.2026.3719139
A Log Anomaly Detection Method for Power System Operation and Maintenance Scenarios
Yu, W., Liu, R., Li, D., & Yang, Q. (2026) · IEEE China Conference on System Simulation Technology and its Applications (CCSSTA) · doi:10.1109/ccssta69471.2026.11635401
Wu, T., Li, H., & Li, D. (2026) · IEEE Annual International Computer Software and Applications Conference (COMPSAC) · doi:10.1109/compsac69091.2026.00046
GLIMPSE: Global LLM-Driven Template Merging for Unsupervised Log Parsing
Meng, X., Zhang, L., Chen, J., & Chi, Y. (2026) · IEEE Annual International Computer Software and Applications Conference (COMPSAC) · doi:10.1109/compsac69091.2026.00472
To‘ychiboyev, S., & Samarov, S. (2026) · Raqamli huquq va innovatsiya jurnali / Journal of Digital Law and Innovation · doi:10.68023/m5wjsk50
Shi, B., Zhang, S., Wang, J., Hao, B., Shao, M., Yu, L., Gu, W., Sun, Y., Xia, S., Zhao, Y., et al. (2026) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3840387
Chou, C.-M., & Chen, S.-K. (2026) · Research Square · doi:10.21203/rs.3.rs-10885441/v1
Collaborative Log Anomaly Detection Using LLM With Privacy-Constrained Retrieval
Zhang, J., & Li, F. (2026) · IEEE Transactions on Privacy · doi:10.1109/tp.2026.3731908
EviGuard: Machine-Verifiable Evidence Grounding for LLM-Based Industrial Incident Reasoning
Zhou, H., Lei, H., & Yang, M. (2026) · Applied Sciences · doi:10.3390/app16188925
GHA-Agent: A Multi-Agent Framework for GitHub Actions Log Parsing
Wu, C., Zhang, M., Ling, Y., He, P., Xu, S., Li, Y., & Zhang, T. (2026) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3849478
Integrating Log-Based Fraud Detection in Agile Workflows: A Real-World Experience Report
Thool, A., & Brown, C. (2026) · Lecture notes in computer science · doi:10.1007/978-3-032-41627-8_7
The application of Large Language Model in system log analysis: A literature review
Chen, Y., li, W., Yang, P., Jiang, B., Yang, X., Lu, Z., & Liu, B. (2026) · Computer Networks · doi:10.1016/j.comnet.2026.112817
SecOps-Agent: Policy-Grounded LLM-Assisted Security Incident Response for Production Environments
Ma, W., 蔡宛蓉, Yu, T., Pi, S., & Wang, H. (2026) · International Conference on Computer Science and Blockchain (CCSB) · doi:10.1109/ccsb71176.2026.11716348
Using Language Models for Knowledge Mining of Software Logs
Bertalan, V. G. F. (2026) · PolyPublie (École Polytechnique de Montréal)
FORGE: An Interpretable Framework for LLM-Assisted Log Anomaly Detection
Israni, A., & Asadinia, M. (2026) · IEEE International Conference on Omni-layer Intelligent Systems (COINS) · doi:10.1109/coins69995.2026.11715608
Expanding Guard Reach: Online Learning-Driven Incremental Kernel Panic Diagnosis
Sui, Y., Wang, X., Zhang, H., Zhang, S., Jiang, B., Zheng, H., Sun, Y., Zhang, Y., Zhang, Y., Wu, X., et al. (2026) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1145/3832783.3834474
LLM-Assisted Joint Ticket and Log Analysis for Incident Triage in Intelligent and Connected Vehicles
Fu, R., Zhang, S., Gu, W., Li, W., Sun, Y., & Pei, D. (2026) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1145/3832783.3834521
Towards Reliable Alarm Flood Reduction in Data Center via Grammar-Guided Verifiable LLM Reasoning
Liu, J., Lin, G., Yan, J., Zheng, H., Ma, H., Zhou, C., Yu, Z., Li, Y., Liu, Y., Li, D., et al. (2026) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1145/3832783.3834481
Self-citationLLM-LogHGC: Hypergraph Enhanced Unsupervised Log Parsing With Lightweight LLMs
Wu, D., & Xu, J. (2026) · IEEE Transactions on Network and Service Management · doi:10.1109/tnsm.2026.3743629
Graph-Augmented LLMs for SIEM: Explainable Attack Attribution with High-Fidelity Log Reduction
Rakshitha Kiran, P., Rebello, M. W., & Raghunathan, G. (2026) · International Journal of Artificial Intelligence and Machine Learning · doi:10.51483/ijaiml.6.13s.2026.265-273
K-LAD: Knowledge-Enhanced Log Anomaly Detection via Syntax-Aware Verification
Mi, L., Zhang, H., Li, L., Gu, W., Tian, F., & Ling, C. (2026) · International Joint Conference on Neural Networks (IJCNN) · doi:10.1109/ijcnn69854.2026.11728454
Koushki, N. M., & Kant, K. (2026) · SSRN Electronic Journal · doi:10.2139/ssrn.7674875
Li, T., Yu, Z., Chen, F., Zhu, W., Li, J., Nie, S., Lin, Y., & Wang, J. (2026) · Lecture notes in computer science · doi:10.1007/978-981-92-7735-3_3
Metadata
- Authors
- Liu, Y., Tao, S., Meng, W., Yao, F., Zhao, X., & Yang, H.
- Affiliations
- Huawei Technologies (China) (CN)
- Venue
- Proceedings of the 2024 IEEE/ACM 46th International Conference on Software Engineering: Companion Proceedings
- Publisher
- ACM
- Published
- 2024-04-14
- Pages
- 364-365
- ISSN
- 0270-5257 (ISSN-L)
- OpenAlex
- W4398239377
- Cited by
- 96
- References
- 3
- Citations by year
- 2026: 46 · 2025: 37 · 2024: 13
- FWCI
- 42.03
- Type
- conference paper
- Language
- en
- Open access
- closed
- Locations
- ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) (publishedVersion)
- Topics
- Physical Sciences › Computer Science › Computer Networks and Communications › Software System Performance and Reliability
- Physical Sciences › Computer Science › Information Systems › Software Engineering Research
- Physical Sciences › Computer Science › Software › Software Testing and Debugging Techniques
- Keywords
- log analysis, prompt engineering, zero-shot learning, large language models, interpretability, automated log analysis, software maintenance, well log interpretation, rationales
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.