Log Parsing with Generalization Ability under New Log Types

Разбор журналов с возможностью обобщения на новые типы журналов
Yifan Wu, Pinjia He, Siyu Yu, Zhijing Li, Ningjiang Chen, Changjian Liu
2023-11-30

Log3Tlog parsingnew log typespre-trained transformer encodertest-time training
Log parsing, which converts semi-structured logs into structured logs, is the first step for automated log analysis. Existing parsers are still unsatisfactory in real-world systems due to new log types in new-coming logs. In practice, available logs collected during system runtime often do not contain all the possible log types of a system because log types related to infrequently activated system states are unlikely to be recorded and new log types are frequently introduced with system updates. Meanwhile, most existing parsers require preprocessing to extract variables in advance, but preprocessing is based on the operator’s prior knowledge of available logs and therefore may not work well on new log types. In addition, parser parameters set based on available logs are difficult to generalize to new log types. To support new log types, we propose a variable generation imitation strategy to craft a novel log parsing approach with generalization ability, called Log3T. Log3T employs a pre-trained transformer encoder-based model to extract log templates and can update parameters at parsing time to adapt to new log types by a modified test-time training. Experimental results on 16 benchmark datasets show that Log3T outperforms the state-of-the-art parsers in terms of parsing accuracy. In addition, Log3T can automatically adapt to new log types in new-coming logs.
1
Existing log parsers struggle with previously unseen log types because runtime logs omit infrequent states and system updates introduce new formats.
2
Experiments on 16 benchmark datasets show that Log3T achieves higher parsing accuracy than state-of-the-art parsers.
3
Log3T applies modified test-time training to update parsing parameters during inference and adapt automatically to new log types.
4
Log3T introduces a variable-generation imitation strategy using a pretrained transformer encoder to extract log templates.
5
Preprocessing and parser parameters typically depend on prior knowledge of available logs, limiting generalization to new log types.

semi-structured system logs, including newly introduced and previously unobserved log types

log parsing generalization and test-time adaptation to new log types, including accurate template extraction and variable handling

Publication Details
Publication Date
2023-11-30
Journal
Publisher
ISSN
Cited by
14
Access Type
Author Information
Authors
Yifan Wu
Pinjia He
Siyu Yu
Zhijing Li
Ningjiang Chen
Changjian Liu
Explore further
Open the scid.ai AI chat with a ready-made request: it will find papers on a similar topic and help build a literature review.
Find similar papers in the chat
Make a presentation
100%