SemParser: A Semantic Parser for Log Analysis

12/23/2021
by   Yintong Huo, et al.
0

Logs, being run-time information automatically generated by software, record system events and activities with their timestamps. Before obtaining more insights about the run-time status of the software, a fundamental step of log analysis, called log parsing, is employed to extract structured templates and parameters from the semi-structured raw log messages. However, current log parsers regard each message as a character string, ignoring the semantic information included in parameters and templates. Thus, we propose the semantic parser SemParser to unlock the critical bottleneck of mining semantics from log messages. It contains two steps, an end-to-end semantic miner and a joint parser. Specifically, the first step aims to identify explicit semantics inside a single log, and the second step is responsible for jointly inferring implicit semantics and computing structural outputs based on the contextual knowledge base. To analyze the effectiveness of our semantic parser, we first demonstrate that it can derive rich semantics from log messages collected from seven widely-applied systems with an average F1 score of 0.987. Then, we conduct two representative downstream tasks, showing that current downstream techniques improve their performance with appropriately extracted semantics by 11.7 8.65 believe these findings provide insights into semantically understanding log messages for the log analysis community.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/15/2023

Log Parsing with Prompt-based Few-shot Learning

Logs generated by large-scale software systems provide crucial informati...
research
02/15/2022

Documentation based Semantic-Aware Log Parsing

With the recent advances of deep learning techniques, there are rapidly ...
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
08/14/2023

Hue: A User-Adaptive Parser for Hybrid Logs

Log parsing, which extracts log templates from semi-structured logs and ...
research
06/12/2018

A Directed Acyclic Graph Approach to Online Log Parsing

Logs are widely used in modern software system management because they a...
research
09/14/2021

GPT-2C: A GPT-2 parser for Cowrie honeypot logs

Deception technologies like honeypots produce comprehensive log reports,...
research
02/02/2021

Detecting Anomalies in Software Execution Logs with Siamese Network

Logs are semi-structured text files that represent software's execution ...

Please sign up or login with your details

Forgot password? Click here to reset