Font Size: a A A

Design And Implementation Of Distributed Industrial Log System Based On Kafka And Elk

Posted on:2020-02-20Degree:MasterType:Thesis
Country:ChinaCandidate:H Q WuFull Text:PDF
GTID:2428330590960945Subject:Electronic and communication engineering
Abstract/Summary:PDF Full Text Request
In the industrial production process,enterprises often encounter the problem of production equipment malfunction.The equipment log plays an important role in analyzing the cause of equipment malfunction and understanding the equipment loss.The storage and analysis of the equipment log is completed by the industrial log system.In recent years,China has proposed to manufacture 2025 in China,which means higher requirements for industrial log systems.However,the traditional industrial log system cannot meet its needs,which is reflected in the inability to process log storage requests concurrently,lack of real-time analysis of log data,and the crude handling of raw log data.Therefore,it is important to design and implement a distributed industrial log system to solve the above problems.Based on the requirements of the log system of Company A,this paper designs and implements a distributed industrial log system based on ELK and kafka for solving the the problems existing in the traditional industrial log system.The idea of hierarchical design is adopted,and the log system is divided into collection layer and buffer Layer and search layer,The main work completed includes:(1)Aiming at the problem that the traditional industrial log system can't handle the log request concurrently,this paper designs and implements a log collection service subsystem.The subsystem uses Reactor event-driven mode and thread pool technology to implement high-consistent processing log request,and realizes the ring memory buffer,which reduces the impact of log file disk I/O on server performance.(2)Aiming at the lack of real-time analysis of log data in traditional industrial log system,this paper designs and implements a log computing center.The log computing center realizes real-time retrieval of log data based on Elasticsearch and provides a visual interface for log retrieval.(3)Aiming at the problem that the traditional industrial log system handles the original log data is relatively simple,this paper designs and implements a log cache service subsystem,which uses logstash to implement flexible configuration of log data processing rules and is implements a cache queue for log data based on distributed message Kafka system.Finally,this paper tests and analyzes the designed industrial log system,and verifies that the log system can process the log storage request of the industrial equipment concurrently,and the processing rules of the raw log data can be flexibly configured and the real-time retrieval of log data is realized..
Keywords/Search Tags:industrial log system, real-time retrieval, high concurrent, raw log processing
PDF Full Text Request
Related items