LogAssist: Assisting Log Analysis Through Log Summarization
The DOI matches its Crossref record; 50 of the 54 references it cites were found in a registry or an index.
Abstract
Logs contain valuable information about the runtime behaviors of software systems. Thus, practitioners rely on logs for various tasks such as debugging, system comprehension, and anomaly detection. However, logs are difficult to analyze due to their unstructured nature and large size. In this paper, we propose a novel approach calledLogAssistthat assists practitioners with log analysis.LogAssistprovides an organized and concise view of logs by first grouping logs into event sequences (i.e., workflows), which better illustrate the system runtime execution paths. Then,LogAssistcompresses the log events in workflows by hiding consecutive events and applying n-gram modeling to identify common event sequences. We evaluatedLogAssiston logs generated by one enterprise and two open source systems. We find thatLogAssistcan reduce the number of log events that practitioners need to investigate by up to 99 percent. Through a user study with 19 participants, we find thatLogAssistcan assist practitioners by reducing the time required for log analysis tasks by an average of 40 percent. The participants also ratedLogAssistan average of 4.53 out of 5 for improving their experiences of performing log analysis. Finally, we document our experiences and lessons learned from developing and adoptingLogAssistin practice. We believe thatLogAssistand our reported experiences may lay the basis for future analysis and interactive exploration on logs.
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
“However, the adoption of LLM agents in the AIOps field, especially with noisy and lengthy data, remains limited [21,28].”
From RCAgent: Cloud Root Cause Analysis by Autonomous Agents with Tool-Augmented Large Language Models (2024) · cites this paper as [28]
Citations
Cites
SciPy 1.0: fundamental algorithms for scientific computing in Python
Virtanen, P., Gommers, R., Oliphant, T. E., Haberland, M., Reddy, T., Cournapeau, D., Burovski, E., Peterson, P., Weckesser, W., Bright, J., et al. (2020) · Nature Methods · doi:10.1038/s41592-019-0686-2 · Cited by 38,430
DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning
Du, M., Li, F., Zheng, G., & Srikumar, V. (2017) · Proceedings of the 2017 ACM SIGSAC Conference on Computer and Communications Security · doi:10.1145/3133956.3134015 · Cited by 1,835 · cited 4×
“Du et al. [37] leverage deep learning models (i.e., LSTM) to detect anomalies in log sequences.”
BackgroundMethodInfluentialDetecting large-scale system problems by mining console logs
Xu, W., Huang, L., Fox, A., Patterson, D., & Jordan, M. I. (2009) · Proceedings of the ACM SIGOPS 22nd symposium on Operating systems principles · doi:10.1145/1629575.1629587 · Cited by 1,332
Drain: an online log parsing approach with fixed depth tree
He, P., Zhu, J., Zheng, Z., & Lyu, M. R. (2017) · 2017 IEEE International Conference on Web Services (ICWS) · doi:10.1109/icws.2017.13 · Cited by 943 · cited 6×
“Drain parses each raw log line into an event template and a list of variable values [26].”
BackgroundMethodInfluentialDisk failures in the real world: what does an MTTF of 1,000,000 hours mean to you?
Schroeder, B., & Gibson, G. A. (2007) · Cited by 762
What Supercomputers Say: A Study of Five System Logs
Oliner, A., & Stearley, J. (2007) · 37th Annual IEEE/IFIP International Conference on Dependable Systems and Networks (DSN'07) · doi:10.1109/dsn.2007.103 · Cited by 620 · cited 1×
“, tens or hundreds of gigabytes) of logs [18], [19] have become a major obstacle for logs analysis [2], [1], [20], [21], [6].”
BackgroundTools and benchmarks for automated log parsing
Zhu, J., He, S., Liu, J., He, P., Xie, Q., Zheng, Z., & Lyu, M. R. (2019) · 2019 IEEE/ACM 41st International Conference on Software Engineering: Software Engineering in Practice (ICSE-SEIP) · doi:10.1109/icse-seip.2019.00021 · Cited by 574
Execution Anomaly Detection in Distributed Systems through Unstructured Log Analysis
Fu, Q., Lou, J.-G., Wang, Y., & Li, J. (2009) · 2009 Ninth IEEE International Conference on Data Mining · doi:10.1109/icdm.2009.60 · Cited by 542 · cited 4×
“The log events in a workflow may contain redundant information, e.g., repetitive log events and sequences of log events that always appear together [4], [10], [11].”
BackgroundMethodInfluentialLog clustering based problem identification for online service systems
Lin, Q., Zhang, H., Lou, J.-G., Zhang, Y., & Chen, X. (2016) · Proceedings of the 38th International Conference on Software Engineering Companion · doi:10.1145/2889160.2889232 · Cited by 427 · cited 2×
“[44] use clustering to identify similar workflows in logs to assist with workflow comprehension.”
BackgroundMethodMining invariants from console logs for system problem detection
Lou, J., Fu, Q., Yang, S., Xu, Y., & Li, J. (2010) · Cited by 302
Advances and challenges in log analysis
Oliner, A., Ganapathi, A., & Xu, W. (2012) · Communications of the ACM · doi:10.1145/2076450.2076466 · Cited by 290 · cited 1×
“On each log dataset, we search for a keyword in the logs and examine the searched logs, which is commonly done in log analysis practices [29], [46], [47].”
MethodStructured comparative analysis of systems logs to diagnose performance problems
Nagaraj, K., Killian, C. E., & Neville, J. (2012) · Purdue e-Pubs (Purdue University System) · Cited by 289
Where do developers log? an empirical study on logging practices in industry
Fu, Q., Zhu, J., Hu, W., Lou, J.-G., Ding, R., Lin, Q., Zhang, D., & Xie, T. (2014) · Companion Proceedings of the 36th International Conference on Software Engineering · doi:10.1145/2591062.2591175 · Cited by 230 · cited 1×
“The triggering of such re-occurring events may repeatedly generate the same log event sequences, which may cause wasted efforts and mask important problems captured in logs [2], [3].”
BackgroundSherLog: error diagnosis by connecting clues from run-time logs
Yuan, D., Mai, H., Xiong, W., Tan, L., Zhou, Y., & Pasupathy, S. (2010) · ACM SIGARCH Computer Architecture News · doi:10.1145/1735970.1736038 · Cited by 212
Online System Problem Detection by Mining Patterns of Console Logs
Xu, W., Huang, L., Fox, A., Patterson, D., & Jordan, M. (2009) · 2009 Ninth IEEE International Conference on Data Mining · doi:10.1109/icdm.2009.19 · Cited by 203 · cited 1×
“Therefore, logs are widely leveraged by practitioners in software development, operation, and maintenance tasks, such as failure diagnosis [4], [5], [6], anomaly detection [7], [8], [9], [10], [11], [12], performance analysis [13], [14], [15], [16],”
Identifying impactful service system problems via log analysis
He, S., Lin, Q., Lou, J.-G., Zhang, H., Lyu, M. R., & Zhang, D. (2018) · Proceedings of the 2018 26th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering · doi:10.1145/3236024.3236083 · Cited by 201 · cited 1×
“Therefore, logs are widely leveraged by practitioners in software development, operation, and maintenance tasks, such as failure diagnosis [4], [5], [6], anomaly detection [7], [8], [9], [10], [11], [12], performance analysis [13], [14], [15], [16],”
A Survey on Load Testing of Large-Scale Software Systems
Jiang, Z. M., & Hassan, A. E. (2015) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2015.2445340 · Cited by 181 · cited 4×
“A sequence of log lines may be related, and together, they may record the process of performing a certain task [10], [11], [31], [32], e.”
BackgroundMethodInfluentialSherLog: error diagnosis by connecting clues from run-time logs
Yuan, D., Mai, H., Xiong, W., Tan, L., Zhou, Y., & Pasupathy, S. (2010) · Proceedings of the fifteenth International Conference on Architectural support for programming languages and operating systems · doi:10.1145/1736020.1736038 · Cited by 176 · cited 6×
“Yuan et al. [6] analyze log lines to uncover system execution paths in the source code.”
BackgroundInfluentialLogram: Efficient Log Parsing Using n-Gram Dictionaries
Dai, H., Li, H., Chen, C. S., Shang, W., & Chen, T.-H. (2020) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2020.3007554 · Cited by 170
Self-citationThe mystery machine: end-to-end performance analysis of large-scale internet services
Chow, M., Meisner, D., Flinn, J., Peek, D., & Wenisch, T. F. (2014) · Operating Systems Design and Implementation · doi:10.5555/2685048.2685066 · Cited by 166
Developers ask reachability questions
LaToza, T. D., & Myers, B. A. (2010) · Proceedings of the 32nd ACM/IEEE International Conference on Software Engineering - Volume 1 · doi:10.1145/1806799.1806829 · Cited by 145
The making of cloud applications: an empirical study on software development for the cloud
Cito, J., Leitner, P., Fritz, T., & Gall, H. C. (2015) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/2786805.2786826 · Cited by 130
Assisting developers of Big Data Analytics Applications when deploying on Hadoop clouds
Shang, W., Jiang, Z. M., Hemmati, H., Adams, B., Hassan, A. E., & Martin, P. (2013) · 2013 35th International Conference on Software Engineering (ICSE) · doi:10.1109/icse.2013.6606586 · Cited by 118 · cited 10×
“Although the usage and motivation of the approach is different from LogAssist , Shang et al. [17] also applied workflow reduction.”
BackgroundMethodInfluentialSelf-citationLog 2 : a cost-aware logging mechanism for performance diagnosis
Ding, R. F., Zhou, H., Lou, J., Zhang, H., Lin, Q., Fu, Q., Zhang, D., & Xie, T. (2015) · Figshare · Cited by 117
Logzip: Extracting Hidden Structures via Iterative Clustering for Log Compression
Liu, J., Zhu, J., He, S., He, P., Zheng, Z., & Lyu, M. R. (2019) · 2019 34th IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase.2019.00085 · Cited by 97
SALSA: analyzing logs as state machines
Tan, J., Pan, X., Kavulya, S. P., Gandhi, R., & Narasimhan, P. (2008) · Cited by 95
Automatic identification of load testing problems
Jiang, Z. M., Hassan, A. E., Hamann, G., & Flora, P. (2008) · 2008 IEEE International Conference on Software Maintenance · doi:10.1109/icsm.2008.4658079 · Cited by 91 · cited 8×
“[11] groups log lines using grouping ID and apply z-stat to detect anomalies.”
BackgroundMethodInfluentialCharacterizing the natural language descriptions in software logging statements
He, P., Chen, Z., He, S., & Lyu, M. R. (2018) · Proceedings of the 33rd ACM/IEEE International Conference on Automated Software Engineering · doi:10.1145/3238147.3238193 · Cited by 91 · cited 1×
“We consider 2-grams and 3-grams only, as a prior study [22] finds that the repetitiveness of an n -gram in logs starts to become stable when n (cid:5) 3 .”
MethodA Qualitative Study of the Benefits and Costs of Logging From Developers’ Perspectives
Li, H., Shang, W., Adams, B., Sayagh, M., & Hassan, A. E. (2021) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2020.2970422 · Cited by 86 · cited 3×
“The triggering of such re-occurring events may repeatedly generate the same log event sequences, which may cause wasted efforts and mask important problems captured in logs [2], [3].”
BackgroundSelf-citationAn automated approach for abstracting execution logs to execution events
Jiang, Z. M., Hassan, A. E., Hamann, G., & Flora, P. (2008) · Journal of Software Maintenance and Evolution: Research and Practice · doi:10.1002/smr.374 · Cited by 83
Predicting Node Failures in an Ultra-Large-Scale Cloud Computing Platform: An AIOps Solution
Li, Y., Jiang, Z. M. (., Li, H., Hassan, A. E., He, C., Huang, R., Zeng, Z., Wang, M., & Chen, P. (2020) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3385187 · Cited by 82 · cited 1×
“, cloud platforms) generate tens of gigabytes to terabytes of logs daily [20], [24], [25], making it challenging to manage and analyze such large-scale logs.”
BackgroundSelf-citationThe bones of the system: a case study of logging and telemetry at Microsoft
Barik, T., DeLine, R., Drucker, S., & Fisher, D. (2016) · Proceedings of the 38th International Conference on Software Engineering Companion · doi:10.1145/2889160.2889231 · Cited by 73 · cited 2×
“Such logs contain rich information about the runtime behaviors of software systems [1], [2], [3].”
BackgroundEfficiently Extracting Operational Profiles from Execution Logs Using Suffix Arrays
Nagappan, M., Wu, K., & Vouk, M. A. (2009) · 2009 20th International Symposium on Software Reliability Engineering · doi:10.1109/issre.2009.23 · Cited by 63 · cited 1×
“For example, practitioners need to manually identify which log event sequences led to the exception [33], [40], [45].”
BackgroundChen, T.-H. P., Shang, W., Hassan, A. E., Nasser, M., & Flora, P. (2016) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/2950290.2950303 · Cited by 60 · cited 1×
“Chen et al. [50] leverage log lines to analyze system workflows and recommend where to place caches.”
BackgroundSelf-citationLeveraging Performance Counters and Execution Logs to Diagnose Memory-Related Performance Issues
Syer, M. D., Jiang, Z. M., Nagappan, M., Hassan, A. E., Nasser, M., & Flora, P. (2013) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsm.2013.22 · Cited by 54
An Industrial Case Study of Customizing Operational Profiles Using Log Compression
Hassan, A. E., Martin, D. J., Flora, P. K., Mansfield, P., & Dietz, D. (2008) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/1368088.1379445 · Cited by 54 · cited 1×
“Prior research [48], [28], [23] studies approaches for compressing log data.”
MethodContextual analysis of program logs for understanding system behaviors
Fu, Q., Lou, J.-G., Lin, Q., Ding, R., Zhang, D., & Xie, T. (2013) · 2013 10th Working Conference on Mining Software Repositories (MSR) · doi:10.1109/msr.2013.6624054 · Cited by 47 · cited 1×
“The log events in a workflow may contain redundant information, e.g., repetitive log events and sequences of log events that always appear together [4], [10], [11].”
BackgroundChen, A. R., Chen, T.-H., & Wang, S. (2022) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2021.3071473 · Cited by 47 · cited 1×
“Dave needs to manually investigate not only these log lines but also the related log events to uncover the system execution that led to the problem [6], [33], [34], [35].”
BackgroundSelf-citationChen, T.-H. P., Syer, M. D., Shang, W., Jiang, Z. M., Hassan, A. E., Nasser, M., & Flora, P. (2017) · IEEE/ACM International Conference on Software Engineering: Software Engineering in Practice (ICSE-SEIP) · doi:10.1109/icse-seip.2017.26 · Cited by 46 · cited 9×
“Such unstructured logs first need to be converted into a structured form to perform subsequent analysis [7], [31], [36].”
BackgroundMethodInfluentialSelf-citationA study of the performance of general compressors on log files
Yao, K., Li, H., Shang, W., & Hassan, A. E. (2020) · Empirical Software Engineering · doi:10.1007/s10664-020-09822-x · Cited by 44 · cited 5×
“To address the challenge related to the large size of logs, prior work proposes approaches for compressing logs [28], [23].”
BackgroundMethodInfluentialSelf-citationMLC: An Efficient Multi-level Log Compression Method for Cloud Backup Systems
Feng, B., Wu, C., & Li, J. (2016) · IEEE International Conference on Trust, Security and Privacy in Computing and Communications (TrustCom) · doi:10.1109/trustcom.2016.0215 · Cited by 42 · cited 2×
“Prior work [51], [52], [53], [54], [55], [56], [57], [28] proposes approaches for compressing log files.”
BackgroundDemystifying the challenges and benefits of analyzing user-reported logs in bug reports
Chen, A. R., Chen, T.-H. P., & Wang, S. (2021) · Empirical Software Engineering · doi:10.1007/s10664-020-09893-w · Cited by 37 · cited 2×
“the raw logs to identify such clues is challenging [6], [34].”
BackgroundSelf-citationAdaptive log compression for massive log data
Christensen, R. R., & Li, F. (2013) · ACM SIGMOD International Conference on Management of Data (SIGMOD) · doi:10.1145/2463676.2465341 · Cited by 32
Chen, J., Shang, W., Hassan, A. E., Wang, Y., & Lin, J. (2019) · 2019 34th IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase.2019.00068 · Cited by 28 · cited 2×
“Such repetitive log events may mask real problems in the logs or introduce additional challenges in log analysis [7], [17], [43], [44].”
BackgroundSelf-citationContinuous validation of load test suites
Syer, M. D., Jiang, Z. M., Nagappan, M., Hassan, A. E., Nasser, M., & Flora, P. (2014) · ACM/SPEC International Conference on Performance Engineering (ICPE) · doi:10.1145/2568088.2568101 · Cited by 27 · cited 3×
“A common log analysis approach is to group the log lines using grouping IDs, and then apply machine learning techniques to detect anomalies [7], [38], [39], [11], [31], [37].”
MethodComprehensive Log Compression with Frequent Patterns
Hätönen, K., Boulicaut, J., Klemettinen, M., Miettinen, M., & Masson, C. (2003) · Lecture notes in computer science · doi:10.1007/978-3-540-45228-7_36 · Cited by 27
Log4Perf: suggesting and updating logging locations for web-based systems’ performance monitoring
Yao, K., de Pádua, G. B., Shang, W., Sporea, C., Toma, A., & Sajedi, S. (2019) · Empirical Software Engineering · doi:10.1007/s10664-019-09748-z · Cited by 26 · cited 1×
“Therefore, logs are widely leveraged by practitioners in software development, operation, and maintenance tasks, such as failure diagnosis [4], [5], [6], anomaly detection [7], [8], [9], [10], [11], [12], performance analysis [13], [14], [15], [16],”
Self-citationFast and efficient log file compression
Skibiński, P., & Swacha, J. (2007) · Cited by 24
Lossless compression for large scale cluster logs
Balakrishnan, R., & Sahoo, R. K. (2006) · IEEE International Parallel and Distributed Processing Symposium (IPDPS) · doi:10.1109/ipdps.2006.1639692 · Cited by 18 · cited 2×
“Prior work [28], [51], [52], [53], [54], [55], [56], [57] proposes approaches for compressing log files.”
BackgroundMethodLightweight Packing of Log Files for Improved Compression in Mobile Tactical Networks
Mell, P., & Harang, R. (2014) · IEEE Military Communications Conference (MILCOM) · doi:10.1109/milcom.2014.37 · Cited by 7 · cited 2×
“Prior work [51], [52], [53], [54], [55], [56], [57], [28] proposes approaches for compressing log files.”
Background
Research works printed but not linked: 1
- 10.1145/2076450.2076466 · DOI · Paper page
Cited by
A Large-Scale Evaluation for Log Parsing Techniques: How Far Are We?
Jiang, Z., Liu, J., Huang, J., Li, Y., Huo, Y., Gu, J., Chen, Z., Zhu, J., & Lyu, M. R.-T. (2024) · ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA) · doi:10.1145/3650212.3652123 · Cited by 179
“Considering that real-world systems often produce a large volume of log data ( e.g. , tens of gigabytes per hour [19, 36, 55]), Loghub-2k may not be able to reflect the diverse and complex characteristics of log data observed in production environments.”
RCAgent: Cloud Root Cause Analysis by Autonomous Agents with Tool-Augmented Large Language Models
Wang, Z., Liu, Z., Zhang, Y., Zhong, A., Wang, J., Yin, F., Fan, L., Wu, L., & Wen, Q. (2024) · Proceedings of the 33rd ACM International Conference on Information and Knowledge Management · doi:10.1145/3627673.3680016 · Cited by 99
LogStamp: Automatic Online Log Parsing Based on Sequence Labelling
Tao, S., Meng, W., Cheng, Y., Zhu, Y., Liu, Y., Du, C., Han, T., Zhao, Y., Wang, X., & Yang, H. (2022) · ACM SIGMETRICS Performance Evaluation Review · doi:10.1145/3543146.3543168 · Cited by 55
“We first present the offline part in our workflow in Section III-B, then we will describe the online part in detail in Section III-A.”
MethodGholamian, S., & Ward, P. A. S. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2110.12489 · Cited by 43
“[115] organizing and summarizing logs HDFS, Zookeeper, ES ACA/ IND N/A”
BackgroundMethodInfluentialLogEval: A comprehensive benchmark suite for LLMs in log analysis
Cui, T., Ma, S., Chen, Z., Xiao, T., Zhao, C., Tao, S., Liu, Y., Zhang, S., Lin, D., Liu, C., et al. (2025) · Empirical Software Engineering · doi:10.1007/s10664-025-10701-6 · Cited by 46
“…Le and Zhang 2022; Zhao et al. 2021; Zhang et al. 2019 ; Du et al. 2021), log fault diagnosis (Jia et al. 2021; Zhou et al. 2019; Zhang et al. 2021 ; He et al. 2018 ; Liu et al. 2022 ; Ma et al. 2022 ; Luo et al. 2021; Zhou et al. 2020), and log summarization (Meng et al. 2023 ; Locke et al. 2022).”
Metadata
- Authors
- Locke, S., Li, H., Chen, T.-H., Shang, W., & Liu, W.
- Affiliations
- Concordia University (CA)
- Polytechnique Montréal (CA)
- Venue
- IEEE Transactions on Software Engineering
- Published
- 2022-09-01
- Volume
- 48
- Issue
- 9
- Pages
- 3227-3241
- ISSN
- 0098-5589 (ISSN-L)
- 1939-3520
- 2326-3881
- OpenAlex
- W3167387776
- Cited by
- 45
- References
- 54
- Citations by year
- 2026: 6 · 2025: 13 · 2024: 13 · 2023: 8 · 2022: 3
- FWCI
- 2.92
- Type
- journal article
- Language
- en
- Open access
- closed
- Licence
- Locations
- IEEE Transactions on Software Engineering (publishedVersion)
- Spectrum Research Repository (Concordia University) (acceptedVersion)
- PolyPublie (École Polytechnique de Montréal) (submittedVersion)
- 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 › Computer Graphics and Computer-Aided Design › Data Visualization and Analytics
- Keywords
- log analysis, event sequences, log compression, runtime behavior, debugging, anomaly detection, user study
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.