基于ELK的内容分发网络日志分析平台设计林黄智1,田柳2,范之国3(1.安徽职业技术学院机电工程系,安徽合肥230011;2.安徽职业技术学院汽车工程系,安徽合肥230011;3.合肥工业大学计算机与信息学院,安徽合肥230009)摘要:随着内容分发网络系统承载着越来越多的大流量视频业务,其规模不断增大且对用户日志收集和集中处理的需求也越来越高,为提升日志处理效率,本文设计了一种基于实时日志搜索和分析系统(ELK)的日志分析平台,可通过对海量的用户访问日志进行实时采集和检索,并捕获用户异常访问记录,从而实现了对系统性能和业务质量的可视化自动监控及提前预警,并提高了内容分发网络系统智能化运维效率。关键词:内容分发网络;实时日志搜索和分析系统;系统监控;日志分析中图分类号:TP399文献标志码:A文章编号:1007-4260(2023)01-0079-06DesignofContentDistributionNetworkLogAnalysisPlatformBasedonELKLINHuangzhi1,TIANLiu2,FANZhiguo3(1.DepartmentofMechanicalandElectricalEngineering,AnhuiVocationalandTechnicalCollege,Hefei230011,China;2.DepartmentofAutomotiveEngineering,AnhuiVocationalandTechnicalCollege,Hefei230011,China;3.SchoolofComputerandInformation,HefeiUniversityofTechnology,Hefei230009,China)Abstract:WiththeContentDeliveryNetwork(CDN)systemcarryingmoreandhighertrafficvideoservices,thescaleofthesystemisincreasing,andthedemandforcollectionandcentralizedprocessingofuserlogsisincreasing.Toimprovetheef-ficiencyoflogprocessing,thispaperdesignsandimplementsaloganalysisplatformbasedonthereal-timelogsearchandanalysissystem(ELK).Throughreal-timecollectionandretrievalofmassiveuseraccesslogs,thesystemrealizesthevisual-ization,automaticmonitoringandearlywarningofthesystemperformanceandbusinessquality,andimprovestheintelligentoperationandmaintenanceefficiencyofthecontentdistributionnetworksystem.Keywords:contentdeliverynetwork;real-timelogsearchandanalysissystem;systemmonitoring;loganalysis随着互联网上视频等大流量业务的快速发展,宽带提速持续推进,内容分发网络已成为承载大流量业务的主要网络。然而,目前对内容分发网络中用户服务日志的分析尚存在短板,如用户访问数据无法被实时检索,日志查询效率低下,且监控告警时效性无法满足大...