HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

On Automatic Parsing of Log Records

Rand Jared ; Miranskyy Andriy

On Automatic Parsing of Log Records

Abstract

Software log analysis helps to maintain the health of software solutions andensure compliance and security. Existing software systems consist ofheterogeneous components emitting logs in various formats. A typical solutionis to unify the logs using manually built parsers, which is laborious. Instead, we explore the possibility of automating the parsing task byemploying machine translation (MT). We create a tool that generates syntheticApache log records which we used to train recurrent-neural-network-based MTmodels. Models' evaluation on real-world logs shows that the models can learnApache log format and parse individual log records. The median relative editdistance between an actual real-world log record and the MT prediction is lessthan or equal to 28%. Thus, we show that log parsing using an MT approach ispromising.

Code Repositories

WulffHunter/log_generator
Official
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
machine-translation-on-v-a-trained-on-t-hM_C
Median Relative Edit Distance: 0.28
machine-translation-on-v-b-trained-on-t-hM_C
Median Relative Edit Distance: 0.25
machine-translation-on-v-c-trained-on-t-hM_C
Median Relative Edit Distance: 0.27

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp