CoChat

SemParser: A Semantic Parser for Log Analytics

Huo, Yintong, Su, Yuxin, Lee, Cheryl, Lyu, Michael R. · 2023 · 2023 IEEE/ACM 45th International Conference on Software Engineering (ICSE)
Cited by 58

The DOI matches its Crossref record; 15 of the 15 references it cites were found in a registry or an index.

Abstract

Logs, being run-time information automatically generated by software, record system events and activities with their timestamps. Before obtaining more insights into the run-time status of the software, a fundamental step of log analysis, called log parsing, is employed to extract structured templates and parameters from the semi-structured raw log messages. However, current log parsers are all syntax-based and regard each message as a character string, ignoring the semantic information included in parameters and templates. Thus, we propose the first semantic-based parser SemParser to unlock the critical bottleneck of mining semantics from log messages. It contains two steps, an end-to-end semantics miner and a joint parser. Specifically, the first step aims to identify explicit semantics inside a single log, and the second step is responsible for jointly inferring implicit semantics and computing structural outputs according to the contextual knowledge base of the logs. To analyze the effectiveness of our semantic parser, we first demonstrate that it can derive rich semantics from log messages collected from six widely-applied systems with an average F1 score of 0.985. Then, we conduct two representative downstream tasks, showing that current downstream models improve their performance with appropriately extracted semantics by 1.2%-11.7% and 8.65% on two anomaly detection datasets and a failure identification dataset, respectively. We believe these findings provide insights into semantically understanding log messages for the log analysis community.

Overview

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.1109/icse48619.2023.00082

Cites

15 of 15 references verified0 citation errors · 0 not checkable

Statistics

Verification

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Citations

Cites

  • Multitask Learning

    Caruana, R. (1997) · Machine Learning · doi:10.1023/a:1007379606734 · Cited by 6,636

  • Deep Neural Networks for YouTube Recommendations

    Covington, P., Adams, J., & Sargin, E. (2016) · Proceedings of the 10th ACM Conference on Recommender Systems · doi:10.1145/2959100.2959190 · Cited by 3,539 · cited 1×

    “Recall@k is widely used in recommendation systems to assess whether the predicted results are relevant to the user(s) [44], [45].”
    Background
  • End-to-end Sequence Labeling via Bi-directional LSTM-CNNs-CRF

    Ma, X., & Hovy, E. (2016) · Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) · doi:10.18653/v1/p16-1101 · Cited by 2,567 · cited 1×

    “Firstly, inspired by previous ndings that character-level representation helps exploit sub-word-level information [46], we adapt a Convolution Neural Network (CNN) to extract character-level features of each word.”
    Method
  • LSTM neural networks for language modeling

    Sundermeyer, M., Schlüter, R., & Ney, H. (2012) · Interspeech 2012 · doi:10.21437/interspeech.2012-65 · Cited by 1,963 · cited 1×

    “Motivated by the success of long short-term memory networks (LSTM) across natural language processing tasks [19] (e.g., machine translation, language modeling), we design an bi-directional LSTM-based network (bi-LSTM) [20] to capture interactions and dependencies between words in log messages.”
    Background
  • Named Entity Recognition with Bidirectional LSTM-CNNs

    Chiu, J. P. C., & Nichols, E. (2016) · Transactions of the Association for Computational Linguistics · doi:10.1162/tacl_a_00104 · Cited by 1,909

  • 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×

    “We also reproduce four widely-applied anomaly detection models as following: (1) DeepLog [40] employed a deep neural network, LSTM, to conduct anomaly detection and fault localization on logs, taking the context information into account; (2) To handle the ever-changing log events and sequences…”
    MethodInfluential
  • Detecting 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 · cited 1×

    “(1) We first follow the previous studies to evaluate in the HDFS [35] dataset, which includes log messages by running map-reduce tasks on more than 200 nodes.”
    Method
  • 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 7×

    “IPLoM partitions event logs into event groups in three steps: partition by the length of the log; partition by token position; and partition by searching for bijection between the set of unique tokens; (4) Drain [12].”
    BackgroundMethodInfluentialSelf-citation
  • Robust log-based anomaly detection on unstable log data

    Zhang, X., Xu, Y., Lin, Q., Qiao, B., Zhang, H., Dang, Y., Xie, C., Yang, X., Cheng, Q., Li, Z., et al. (2019) · Proceedings of the 2019 27th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering · doi:10.1145/3338906.3338931 · Cited by 761 · cited 6×

    “Different from previous work [14], [40]–[42] that only employs templates to form the input sequence x 0 , x 1 , ..., x m where x i refers to the i th message in the sequence, we equip the sequence with extracted semantics.”
    MethodInfluential
  • A Survey on Automated Log Analysis for Reliability Engineering

    He, S., He, P., Chen, Z., Yang, T., Su, Y., & Lyu, M. R. (2022) · ACM Computing Surveys · doi:10.1145/3460345 · Cited by 334

    Self-citation

Show all 15 references

Cited by

Metadata

Authors
Huo, Y., Su, Y., Lee, C., & Lyu, M. R.
Venue
2023 IEEE/ACM 45th International Conference on Software Engineering (ICSE)
Publisher
IEEE
Published
2023-05
Pages
881-893
OpenAlex
W4384345785
Cited by
58
References
15
FWCI
18.25
Type
conference paper
Language
en
Open access
closed

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.