Diagnostic system for the analysis of log files from remote data processing nodes
DOI:
https://doi.org/10.34121/1028-9763-2022-1-62-70Keywords:
diagnostic system, log file, remote node, MongoDB, діагностична система, log-файл, віддалений вузолAbstract
To monitor and maintain the proper functioning of distributed systems, there are used log events to further analyze and identify the circumstances and causes of deviations from normal operation. Tools to achieve this goal should primarily provide: 1) rapid search and processing of log files in the process of analysis and identification of failure causes; 2) generation of offers for solving the identified problem. This article presents the results of the analysis of the existing tools for logging and log file processing and substantiates the feasibility of the development of the proposed diagnostic system. The general structure of the developed diagnostic system and its functional model are described. In the paper, there are considered the functions of the main software modules: a parser that processes a log file and collects parts of messages into a single log object; a diagnostic module that processes information about an error in a log file object; and a module for accumulating and using knowledge about the known node malfunctions, ways to fix them and problems that were not previously identified. The choice of MongoDB NoSQL for saving the log file data and knowledge base storage DBMS is substantiated. A unified structure for log file objects has been developed for the MongoDB environment. Diagnostics system control – interoperability of modules and their interaction with the database and knowledge base in the MongoDB environment – is provided by the main program LogHelper which allows the user to perform different queries on log objects, monitor their results, inspect known and not previously identified errors, work with unknown malfunctions, manually set their statuses and find a solution from an existing set of solutions. The results of the conducted research show that the developed diagnostic system is highly effective as a maintenance solution for remote data processing nodes and it supports rapid identification of the malfunction and generation of proposed solutions.References
1. Парсер журналов LogParser 2.2. URL: https://www.microsoft.com/en-us/download/details.aspx?id=24659.
2. Logstash: Collect, Parse, Transform Logs | Elastic. URL: https://www.elastic.co/logstash/.
3. Web Log Explorer – Web Log Analyzer. URL: https://www.exacttrend.com/WebLogExplorer/.
4. Брацький В.О., М’якшило О.М. Дослідження особливостей застосування реляційних і нереляційних баз даних на прикладі SQL SERVER та MONGODB. Наукові праці НУХТ. 2016. Т. 22, № 5. С. 18–24.
5. Брацький В.О., М’якшило О.М. Дослідження та розробка методу обробки log-файлів у розподіленій інформаційній системі з використанням нереляційної бази даних MongoDB. Наукові праці НУХТ. 2018. Т. 24, № 1. С. 17–25.
6. Брацький В.О. Оброблення й аналіз log-файлів за допомогою програмного продукту LogHelper. Наукові праці Таврійського національного університету ім. В.І. Вернадського. 2018. Т. 29 (68), № 5, Ч. 1. С. 34–41.
7. А.с. Міністерство розвитку економіки, торгівлі та сільського господарства України. Комп’ютерна програма «Аналіз log-файлів» / В.О. Брацький, О.М. М’якшило. № 95824 від 06.02.2020.
8. Грибков С.В., Литвинов В.А., Олійник Г.В. Інструментальна модель веб-орієнтованої програмної реалізації підсистеми підтримки прийняття рішень у складі програмного комплексу ситуаційного центру. Математичні машини і системи. 2020. № 1. С. 73–81.
Published
Issue
Section
License
Copyright (c) 2022 Mathematical Machines and Systems

This work is licensed under a Creative Commons Attribution 4.0 International License.
