FlexParser—The adaptive log file parser for continuous results in a changing world

Language
en
Document Type
Article
Issue Date
2022-06-15
First published
2022-03-01
Issue Year
2022
Authors
Rücker, Nadine
Maier, Andreas
Editor
Publisher
John Wiley & Sons Ltd
Abstract

Abstract Any modern system writes events into files, called log files. Those contain crucial information which are subject to various analyses. Examples range from cybersecurity, intrusion detection over usage analyses to trouble shooting. Before data analysis is possible, desired information needs to be extracted first out of the semi‐structured log messages. State‐of‐the‐art event parsing often assumes static log events. However, any modern system is updated consistently and with updates also log file structures can change. We call those changes “mutation” and study parsing performance for different mutation cases. Latest research discovers mutations using anomaly detection post mortem, however, does not cover actual continuous parsing. Thus, we propose a novel and flexible parser, called FlexParser, which can extract desired values despite gradual changes in the log messages. It implies basic text preprocessing followed by a supervised Deep Learning method. We train a stateful LSTM on parsing one event per data set. Statefulness enforces the model to learn log message structures across several examples. Our model was tested on seven different, publicly available log file data sets and various kinds of mutations. Exhibiting an average F1‐Score of 0.98, it outperforms other Deep Learning methods as well as state‐of‐the‐art unsupervised parsers.

Journal Title
Journal of Software: Evolution and Process
Volume
34
Issue
3
Citation
Journal of Software: Evolution and Process 34.3 (2022): e2426. <https://onlinelibrary.wiley.com/doi/10.1002/smr.2426>
Zugehörige ORCIDs