Did We Miss Something Important? Studying and Exploring Variable-Aware Log Abstraction

04/22/2023
by   Zhenhao Li, et al.
0

Due to the sheer size of software logs, developers rely on automated techniques for log analysis. One of the first and most important steps of automated log analysis is log abstraction, which parses the raw logs into a structured format. Prior log abstraction techniques aim to identify and abstract all the dynamic variables in logs and output a static log template for automated log analysis. However, these abstracted dynamic variables may also contain important information that is useful to different tasks in log analysis. In this paper, we investigate the characteristics of dynamic variables and their importance in practice, and explore the potential of a variable-aware log abstraction technique. Through manual investigations and surveys with practitioners, we find that different categories of dynamic variables record various information that can be important depending on the given tasks, the distinction of dynamic variables in log abstraction can further assist in log analysis. We then propose a deep learning based log abstraction approach, named VALB, which can identify different categories of dynamic variables and preserve the value of specified categories of dynamic variables along with the log templates (i.e., variable-aware log abstraction). Through the evaluation on a widely used log abstraction benchmark, we find that VALB outperforms other state-of-the-art log abstraction techniques on general log abstraction (i.e., when abstracting all the dynamic variables) and also achieves a high variable-aware log abstraction accuracy that further identifies the category of the dynamic variables. Our study highlights the potential of leveraging the important information recorded in the dynamic variables to further improve the process of log analysis.

READ FULL TEXT
research
01/07/2020

Logram: Efficient Log Parsing Using n-Gram Dictionaries

Software systems usually record important runtime information in their l...
research
10/29/2021

AWSOM-LP: An Effective Log Parsing Technique Using Pattern Recognition and Frequency Analysis

Logs provide users with useful insights to help with a variety of develo...
research
12/03/2021

GECCO: Constraint-driven Abstraction of Low-level Event Logs

Process mining enables the analysis of complex systems using event data ...
research
07/17/2023

LogPrécis: Unleashing Language Models for Automated Shell Log Analysis

The collection of security-related logs holds the key to understanding a...
research
07/19/2023

Prompting for Automatic Log Template Extraction

Log parsing, the initial and vital stage in automated log analysis, invo...
research
08/17/2023

On the Effectiveness of Log Representation for Log-based Anomaly Detection

Logs are an essential source of information for people to understand the...
research
03/19/2021

Improving Web API Usage Logging

A Web API (WAPI) is a type of API whose interaction with its consumers i...

Please sign up or login with your details

Forgot password? Click here to reset