PreLog: A Pre-trained Model for Log Analytics

Author:

Le Van-Hoang1ORCID,Zhang Hongyu2ORCID

Affiliation:

1. The University of Newcastle & Chongqing University, Newcastle, New South Wales, Australia

2. Chongqing University, Chongqing, China

Abstract

Large-scale software-intensive systems often produce a large volume of logs to record runtime status and events for troubleshooting purposes. The rich information in log data enables a variety of system management and diagnosis tasks. Over the years, many approaches have been proposed for automated log analytics. However, these approaches usually design separate models for each specific task, which cannot be generalized to other tasks. They are also not robust when dealing with logs from heterogeneous sources. In this paper, we propose PreLog, a novel pre-trained model for log analytics. PreLog is pre-trained on a large amount of unlabelled log data to capture the semantic meaning of logs. We design two log-specific pre-training objectives, including entry-level and sequence-level objectives, which enable PreLog to better understand the hidden structure and semantics of logs. To perform downstream log analytics tasks, we leverage a prompt tuning paradigm to convert downstream tasks' objectives into a similar form as the pre-training stage. We have conducted extensive experiments on two main log analytics tasks (i.e., log parsing and log-based anomaly detection). Experimental results show that PreLog achieves better or comparable results in comparison with the state-of-the-art, task-specific approaches. PreLog is cost-effective and can be uniformly applied to many log analytics tasks through the prompt tuning paradigm.

Funder

Australian Research Council (ARC) Discovery Projects

Australian Research Council

Publisher

Association for Computing Machinery (ACM)

Reference101 articles.

1. 2023. Application and Infrastructure Monitoring -- Amazon CloudWatch. Retrieved Oct 10, 2023 from https: //aws.amazon.com/cloudwatch/

2. 2023. Centralized Logging on AWS. Retrieved Oct 10, 2023 from https://aws.amazon.com/solutions/implementations/ centralized-logging/

3. 2023. Elastic Stack: Elasticsearch, Kibana, Beats & Logstash. Retrieved Oct 10, 2023 from https://www.elastic.co/elasticstack/

4. 2023. Implementation of PLELog. Retrieved August 27, 2023 from https://github.com/YangLin-George/PLELog

5. 2023. Logz.io: Cloud Observability and Security, Powered by Open Source. Retrieved Oct 10, 2023 from https://logz.io

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3