Digital Repository

Anomaly detection in microservices using machine learning techniques

Show simple item record

dc.contributor.author Mahagama Kamkanamge, Sahan Thinusha Wijayananda
dc.date.accessioned 2026-03-10T07:31:32Z
dc.date.available 2026-03-10T07:31:32Z
dc.date.issued 2025
dc.identifier.citation Mahagama Kamkanamge, Sahan Thinusha Wijayananda (2025) Anomaly detection in microservices using machine learning techniques. Msc. Dissertation, Informatics Institute of Technology en_US
dc.identifier.issn 20210811
dc.identifier.uri http://dlib.iit.ac.lk/xmlui/handle/123456789/2895
dc.description.abstract Problem: Monitoring microservices in an environment with many interactions between services and a tremendous amount of log data can be a challenge. The traditional methods have the difficulty of finding new or subtle anomaly, and those aren’t real time. Addressing these challenges is the goal of this project, which builds upon the development of a machine learning based anomaly detection system intended to enhance both accuracy and adaptability when working with microservices that are dynamically constructed. Methodology: Machine learning methods are used to analyse log data from microservices in this project, the combination of supervised and unsupervised learning approaches. It prepares data through log parsing, tokenization and sequence extraction before analysing. Deep learning tools, autoencoders, are used by the model to discover patterns and infer anomalies and based on those reports are generated. Results: The model for anomaly detection with LSTM yields accuracy of 94% on the test dataset, having the weighted precision of 94.73% and recall of 93.55% and F1 score of 93.95%. The model is able to account for sequential dependencies in the log data and demonstrates a good level of generalization while overfitting is kept at a minimum. Its performance is good over the major classes like CRITICAL, SEVERE, WARNING and NORMAL class with high precision and recall. Though, false positives and false negatives are in the acceptable limits. en_US
dc.language.iso en en_US
dc.subject Anomaly Detection en_US
dc.subject Microservices en_US
dc.subject Machine Learning en_US
dc.subject Deep Learning en_US
dc.title Anomaly detection in microservices using machine learning techniques en_US
dc.type Thesis en_US


Files in this item

This item appears in the following Collection(s)

Show simple item record

Search


Advanced Search

Browse

My Account