Log Parsing with Prompt-based Few-shot Learning

02/15/2023
by   Van-Hoang Le, et al.
0

Logs generated by large-scale software systems provide crucial information for engineers to understand the system status and diagnose problems of the systems. Log parsing, which converts raw log messages into structured data, is the first step to enabling automated log analytics. Existing log parsers extract the common part as log templates using statistical features. However, these log parsers often fail to identify the correct templates and parameters because: 1) they often overlook the semantic meaning of log messages, and 2) they require domain-specific knowledge for different log datasets. To address the limitations of existing methods, in this paper, we propose LogPPT to capture the patterns of templates using prompt-based few-shot learning. LogPPT utilises a novel prompt tuning method to recognise keywords and parameters based on a few labelled log data. In addition, an adaptive random sampling algorithm is designed to select a small yet diverse training set. We have conducted extensive experiments on 16 public log datasets. The experimental results show that LogPPT is effective and efficient for log parsing.

READ FULL TEXT
research
02/14/2022

UniParser: A Unified Log Parser for Heterogeneous Log Data

Logs provide first-hand information for engineers to diagnose failures i...
research
02/15/2022

Documentation based Semantic-Aware Log Parsing

With the recent advances of deep learning techniques, there are rapidly ...
research
12/23/2021

SemParser: A Semantic Parser for Log Analysis

Logs, being run-time information automatically generated by software, re...
research
08/18/2023

Learning Representations on Logs for AIOps

AI for IT Operations (AIOps) is a powerful platform that Site Reliabilit...
research
09/18/2023

LogShrink: Effective Log Compression by Leveraging Commonality and Variability of Log Data

Log data is a crucial resource for recording system events and states du...
research
07/19/2023

Prompting for Automatic Log Template Extraction

Log parsing, the initial and vital stage in automated log analysis, invo...
research
11/10/2016

Length Matters: Clustering System Log Messages using Length of Words

The analysis techniques of system log messages (syslog messages) have a ...

Please sign up or login with your details

Forgot password? Click here to reset