###
计算机系统应用英文版:2022,31(1):124-131
本文二维码信息
码上扫一扫!
基于微服务的通用性系统日志评估方案及应用
(1.上海电子信息职业技术学院 电子技术与工程学院, 上海 201411;2.上海诺基亚贝尔股份有限公司 固网事业部, 上海 201206)
Log Evaluation Scheme and Application of General System Based on Microservice
(1.School of Electronic Technology and Engineering, Shanghai Technical Institute of Electronics and Information, Shanghai 201411, China;2.Fix Network Business Group, Nokia Shanghai Bell Co. Ltd., Shanghai 201106, China)
摘要
图/表
参考文献
相似文献
本文已被:浏览 570次   下载 1037
Received:April 04, 2021    Revised:April 29, 2021
中文摘要: 针对系统日志类信息譬如系统运行日志、命令行文本输出等信息的分析评估,提出了一种基于微服务的通用性评估方案.该方案中的框架采用微服务构架,单控制节点/多工作节点模式,各个节点都具备相同的能力.节点角色控制节点或工作节点是按需进行配置,工作节点的数量可灵活扩展以支持大数据分析能力,支持TB级的系统日志分析评估.相对于目前流行的ELK等开源技术,本方案除具有类似日志提取、分析和图表呈现等功能外,还设计和实现了基于配置驱动的系统日志的通用性评估模型.该模型采用规则与引擎分离的原则,适用于各种系统日志类信息的处理.基于提出评估方案,采用Spring Boot/Spring Cloud微服务框架实现了一套PON网络健康检查系统.该系统在全球多个PON网络评估服务中得到了很好的应用,极大地提高了服务效率.
Abstract:This study proposes a general evaluation scheme based on microservice for the analysis and evaluation of system log information such as system operation log and command-line text output. The framework of this scheme adopts a microservice architecture and a model of one single master node and multiple worker nodes. Each node has the same ability. The node role, namely, whether the node is a master or worker one, is configured on demand. The number of worker nodes can be flexibly expanded to support the big data analysis ability and the TB-level system log analysis and evaluation. Compared with the popular open-source technologies such as elasticsearch logstash kibana (ELK), this scheme not only has similar functions of log extraction and analysis and chart presentation but also designs and implements a general evaluation model of system logs based on the configuration driver. The model, adopting the principle of separating rules from the engine, is suitable for processing many kinds of system log information. Under the proposed evaluation scheme, a PON network health examination system is built with the Spring Boot/Spring Cloud microservice framework. The system has been applied in many PON network evaluation services around the world and has greatly improved service efficiency.
文章编号:     中图分类号:    文献标志码:
基金项目:中国高校产学研科创新基金(2019ITA03035)
引用文本:
邵瑛,徐斌.基于微服务的通用性系统日志评估方案及应用.计算机系统应用,2022,31(1):124-131
SHAO Ying,XU Bin.Log Evaluation Scheme and Application of General System Based on Microservice.COMPUTER SYSTEMS APPLICATIONS,2022,31(1):124-131