{"id":{"repo_id":"calgary","oai_identifier":"oai:ucalgary.scholaris.ca:1880/116136"},"canonical_url":"https://search.ndltd.org/etd/calgary/oai:ucalgary.scholaris.ca:1880/116136","repository":{"repo_id":"calgary","name":"University of Calgary","base_url":"https://ucalgary.scholaris.ca/server/oai/request"},"display":{"title":"Log-based Anomaly Detection of Enterprise Software: An Empirical Study","abstract":"With software increasing in scale and playing an important role in today’s society, application reliability has become a crucial metric. Most applications use logging as a mechanism to diagnose anomalies, but is often employed post-failure. However, since logs provide insight into current software health, they can be leveraged to detect anomalies, which could help with reducing system downtime. Anomaly detection using software execution logs has been explored in several prior studies, using both classical and deep neural network based machine learning models. In recent years, the research has largely focused in using variations of sequence-based deep neural networks (e.g., Long-Short Term Memory and Transformer-based models) for log-based anomaly detection on open-source data. However, they have not been applied in industrial datasets as often. In addition, the studied open-source datasets are typically very large in size with logging statements that do not change over time, which may not be the case with a dataset from an industrial service that is relatively new. In this thesis, we evaluate several state-of-the-art anomaly detection models on an industrial dataset from our research partner, which is much smaller and loosely structured than most open-source datasets. Results show that while all models are capable of detecting anomalies, certain models are better suited for less-structured datasets. We also see that model effectiveness changes when data leaks associated with a random train-test split is removed. A qualitative study of error types identified by the developers on the industrial dataset further shows strengths and weaknesses of the models in detecting different types of anomalies. Finally, we explore the effect of limited training data by gradually increasing the training set size, to evaluate if the model effectiveness does depend on the training set size.","abstract_html":"With software increasing in scale and playing an important role in today’s society, application reliability has become a crucial metric. Most applications use logging as a mechanism to diagnose anomalies, but is often employed post-failure. However, since logs provide insight into current software health, they can be leveraged to detect anomalies, which could help with reducing system downtime. Anomaly detection using software execution logs has been explored in several prior studies, using both classical and deep neural network based machine learning models. In recent years, the research has largely focused in using variations of sequence-based deep neural networks (e.g., Long-Short Term Memory and Transformer-based models) for log-based anomaly detection on open-source data. However, they have not been applied in industrial datasets as often. In addition, the studied open-source datasets are typically very large in size with logging statements that do not change over time, which may not be the case with a dataset from an industrial service that is relatively new. In this thesis, we evaluate several state-of-the-art anomaly detection models on an industrial dataset from our research partner, which is much smaller and loosely structured than most open-source datasets. Results show that while all models are capable of detecting anomalies, certain models are better suited for less-structured datasets. We also see that model effectiveness changes when data leaks associated with a random train-test split is removed. A qualitative study of error types identified by the developers on the industrial dataset further shows strengths and weaknesses of the models in detecting different types of anomalies. Finally, we explore the effect of limited training data by gradually increasing the training set size, to evaluate if the model effectiveness does depend on the training set size.","abstract_has_math":false,"creators":["Wijesinghe, Nadun"],"institution":"Graduate Studies","degree_name":"Master of Science (MSc)","degree_level":null,"degree_discipline":"Engineering – Electrical & Computer","degree_department":null,"school":null,"contributors":[],"advisors":["Hemmati, Hadi"],"committee_chairs":[],"committee_members":["Krishnamurthy, Diwakar","Drew, Steve","Hemmati, Hadi","de Souza, Roberto Medeiros"],"year":2023,"date_issued":"2023-04-25","date_published":"2023-04-25","updated_at":"2026-11-19T07:30:49Z","subjects":["Deep Learning","Anomaly Detection","Log Mining","Machine Learning","Software Engineering"],"languages":["en"],"rights":["University of Calgary graduate students retain copyright ownership and moral rights for their thesis. You may use this material in any way that is permitted by the Copyright Act or through licensing that has been assigned to the document. For uses that are not allowable under copyright legislation or licensing, you are required to seek permission."],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier.doi","label":"DOI","values":["https://dx.doi.org/10.11575/PRISM/dspace/40981"],"render_values":[{"text":"https://dx.doi.org/10.11575/PRISM/dspace/40981","href":"https://dx.doi.org/10.11575/PRISM/dspace/40981","code":true}]},{"key":"dc:identifier.citation","label":"Dc Identifier Citation","values":["Wijesinghe, N. (2023). Log-based anomaly detection of enterprise software: an empirical study (Master's thesis, University of Calgary, Calgary, Canada). Retrieved from https://prism.ucalgary.ca."],"render_values":[{"text":"Wijesinghe, N. (2023). Log-based anomaly detection of enterprise software: an empirical study (Master's thesis, University of Calgary, Calgary, Canada). Retrieved from https://prism.ucalgary.ca.","href":null,"code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"http://hdl.handle.net/1880/116136","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"http://hdl.handle.net/1880/116136","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","download_url":null,"download_label":null,"download_source":null,"access_status":null,"embargo_until":null,"access_note":null},"source_record":{"url":"https://ucalgary.scholaris.ca/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Aucalgary.scholaris.ca%3A1880%2F116136","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Hemmati, Hadi"]},{"key":"dc:contributor.committeemember","label":"Committee Member","values":["Krishnamurthy, Diwakar","Drew, Steve","Hemmati, Hadi","de Souza, Roberto Medeiros"]},{"key":"dc:creator","label":"Author","values":["Wijesinghe, Nadun"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["2023-06"]},{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2023-05-01T16:30:24Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2023-05-01T16:30:24Z"]},{"key":"dc:date.issued","label":"Date","values":["2023-04-25"]},{"key":"dc:publisher.faculty","label":"Dc Publisher Faculty","values":["Graduate Studies"]},{"key":"dc:publisher.institution","label":"Dc Publisher Institution","values":["University of Calgary"]},{"key":"dc:type","label":"Dc Type","values":["master thesis"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Engineering – Electrical & Computer"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science (MSc)"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["University of Calgary"]},{"key":"thesis:release_request","label":"Thesis Release Request","values":["I do not require a thesis withhold – my thesis will have open access and can be viewed and downloaded publicly as soon as possible."]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Deep Learning","Anomaly Detection","Log Mining","Machine Learning","Software Engineering"]},{"key":"dc:subject.classification","label":"Dc Subject Classification","values":["Artificial Intelligence","Computer Science"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]},{"key":"dc:rights","label":"Dc Rights","values":["University of Calgary graduate students retain copyright ownership and moral rights for their thesis. You may use this material in any way that is permitted by the Copyright Act or through licensing that has been assigned to the document. For uses that are not allowable under copyright legislation or licensing, you are required to seek permission."]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.citation","label":"Dc Identifier Citation","values":["Wijesinghe, N. (2023). Log-based anomaly detection of enterprise software: an empirical study (Master's thesis, University of Calgary, Calgary, Canada). Retrieved from https://prism.ucalgary.ca."]},{"key":"dc:identifier.doi","label":"DOI","values":["https://dx.doi.org/10.11575/PRISM/dspace/40981"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["http://hdl.handle.net/1880/116136"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["With software increasing in scale and playing an important role in today’s society, application reliability has become a crucial metric. Most applications use logging as a mechanism to diagnose anomalies, but is often employed post-failure. However, since logs provide insight into current software health, they can be leveraged to detect anomalies, which could help with reducing system downtime. Anomaly detection using software execution logs has been explored in several prior studies, using both classical and deep neural network based machine learning models. In recent years, the research has largely focused in using variations of sequence-based deep neural networks (e.g., Long-Short Term Memory and Transformer-based models) for log-based anomaly detection on open-source data. However, they have not been applied in industrial datasets as often. In addition, the studied open-source datasets are typically very large in size with logging statements that do not change over time, which may not be the case with a dataset from an industrial service that is relatively new. In this thesis, we evaluate several state-of-the-art anomaly detection models on an industrial dataset from our research partner, which is much smaller and loosely structured than most open-source datasets. Results show that while all models are capable of detecting anomalies, certain models are better suited for less-structured datasets. We also see that model effectiveness changes when data leaks associated with a random train-test split is removed. A qualitative study of error types identified by the developers on the industrial dataset further shows strengths and weaknesses of the models in detecting different types of anomalies. Finally, we explore the effect of limited training data by gradually increasing the training set size, to evaluate if the model effectiveness does depend on the training set size."]},{"key":"dc:title","label":"Title","values":["Log-based Anomaly Detection of Enterprise Software: An Empirical Study"]},{"key":"dspace:entity.type","label":"Dspace Entity Type","values":["Publication"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.advisor":["Hemmati, Hadi"],"dc:contributor.committeemember":["Krishnamurthy, Diwakar","Drew, Steve","Hemmati, Hadi","de Souza, Roberto Medeiros"],"dc:creator":["Wijesinghe, Nadun"],"dc:date":["2023-06"],"dc:date.accessioned":["2023-05-01T16:30:24Z"],"dc:date.available":["2023-05-01T16:30:24Z"],"dc:date.issued":["2023-04-25"],"dc:description.abstract":["With software increasing in scale and playing an important role in today’s society, application reliability has become a crucial metric. Most applications use logging as a mechanism to diagnose anomalies, but is often employed post-failure. However, since logs provide insight into current software health, they can be leveraged to detect anomalies, which could help with reducing system downtime. Anomaly detection using software execution logs has been explored in several prior studies, using both classical and deep neural network based machine learning models. In recent years, the research has largely focused in using variations of sequence-based deep neural networks (e.g., Long-Short Term Memory and Transformer-based models) for log-based anomaly detection on open-source data. However, they have not been applied in industrial datasets as often. In addition, the studied open-source datasets are typically very large in size with logging statements that do not change over time, which may not be the case with a dataset from an industrial service that is relatively new. In this thesis, we evaluate several state-of-the-art anomaly detection models on an industrial dataset from our research partner, which is much smaller and loosely structured than most open-source datasets. Results show that while all models are capable of detecting anomalies, certain models are better suited for less-structured datasets. We also see that model effectiveness changes when data leaks associated with a random train-test split is removed. A qualitative study of error types identified by the developers on the industrial dataset further shows strengths and weaknesses of the models in detecting different types of anomalies. Finally, we explore the effect of limited training data by gradually increasing the training set size, to evaluate if the model effectiveness does depend on the training set size."],"dc:identifier.citation":["Wijesinghe, N. (2023). Log-based anomaly detection of enterprise software: an empirical study (Master's thesis, University of Calgary, Calgary, Canada). Retrieved from https://prism.ucalgary.ca."],"dc:identifier.doi":["https://dx.doi.org/10.11575/PRISM/dspace/40981"],"dc:identifier.uri":["http://hdl.handle.net/1880/116136"],"dc:language.iso":["en"],"dc:publisher.faculty":["Graduate Studies"],"dc:publisher.institution":["University of Calgary"],"dc:rights":["University of Calgary graduate students retain copyright ownership and moral rights for their thesis. You may use this material in any way that is permitted by the Copyright Act or through licensing that has been assigned to the document. For uses that are not allowable under copyright legislation or licensing, you are required to seek permission."],"dc:subject":["Deep Learning","Anomaly Detection","Log Mining","Machine Learning","Software Engineering"],"dc:subject.classification":["Artificial Intelligence","Computer Science"],"dc:title":["Log-based Anomaly Detection of Enterprise Software: An Empirical Study"],"dc:type":["master thesis"],"dspace:entity.type":["Publication"],"others:access_status":["open.access"],"thesis:degree_discipline":["Engineering – Electrical & Computer"],"thesis:degree_name":["Master of Science (MSc)"],"thesis:institution_name":["University of Calgary"],"thesis:release_request":["I do not require a thesis withhold – my thesis will have open access and can be viewed and downloaded publicly as soon as possible."]},"updated_at":"2026-11-19T07:30:49Z"}