Log Parsing with Generalization Ability under New Log Types
Разбор журналов с возможностью обобщения на новые типы журналов
2023-11-30
SCID: 54.1/gmrpk6c9
Discuss with AI
Log3Tlog parsingnew log typespre-trained transformer encodertest-time training
Figures from the paper
Abstract (AI)
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.
Key Findings
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.
Research Object
semi-structured system logs, including newly introduced and previously unobserved log types
Research Subject
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
Open access PDF
Access Type
Author Information
Download PDF
Subscribe to digest