In English

Log-Based Anomaly Detection for System Surveillance

Josefina Andreasson ; Cecilia Geijer
Göteborg : Chalmers tekniska högskola, 2015. 71 s.
[Examensarbete på avancerad nivå]

As log les increase in size, it becomes increasingly dicult to manually detect errors within them. There is a need for automated tools for anomaly detection that do not require human assistance. This thesis aims to develop a prototype for such a tool that can be used to monitor the system state based on the produced log les. A speci c and a generic approach for analyzing the data is explored to form a foundation for design decisions. Insights from the approaches are then used to build the prototype, which is done in three stages consisting of a basic prototype, extension of the prototype, and evaluation. The prototype is evaluated based on a number of interviews as well as through nding its accuracy and performance.

The resulting prototype graphs total lines, words and bigrams per hour. It visualizes the words, bigrams and anomalous messages that occur in each log le. A user specified blacklist highlights undesired words in any file. Anomaly detection is done by comparing historical and current values while taking the overall trends into account. The prototype was found to be useful by two professionals whose work involve log handling, and the interface was thought to be functional. It is able to correctly handle most data but suffers from false alarms, and found 11 out of 14 known errors. A shift in normality is handled well, and the prototype adapts within a week.

In conclusion, the developed prototype is usable, mainly for large log files. It requires more accurate anomaly detection, and the interface can be further improved.

Nyckelord: log analysis, anomaly detection, information visualization

Publikationen registrerades 2015-06-29.

CPL ID: 219089

Detta är en tjänst från Chalmers bibliotek