一种云原生场景下容器日志采集方法及系统

By dynamically generating log collection configuration files and adaptive weight calculation in cloud-native scenarios, the system solves the problems of flexibility and accuracy in log collection under containerized mode, optimizes resource utilization, improves system stability and user experience, and provides intelligent operation and maintenance solutions.

CN120723372BActive Publication Date: 2026-07-17珠海盈米基金销售有限公司

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
珠海盈米基金销售有限公司
Filing Date
2025-06-10
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

In cloud-native scenarios, log collection programs in containerized mode cannot rely on static configurations, resulting in the inability to monitor container changes in real time and a lack of in-depth analysis and prediction capabilities of historical data. This affects the rational planning and load management of resources and may lead to insufficient container resources, causing service interruptions or performance degradation.

Method used

By acquiring container information to generate configuration files, dynamically generating log collection rules, monitoring container status changes, calculating adaptive weights and overall access popularity, using historical data to predict container access popularity, and dynamically adjusting the number of containers, the flexibility and accuracy of log collection are achieved.

Benefits of technology

Ensure the flexibility and accuracy of log collection, optimize resource utilization, improve system stability and user experience, reduce manual intervention, improve operation and maintenance efficiency, enhance system resilience and reliability, and provide intelligent operation and maintenance solutions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120723372B_ABST
    Figure CN120723372B_ABST
Patent Text Reader

Abstract

本发明提出了一种云原生场景下容器日志采集方法及系统,其中,所述方法包括:获取节点的容器信息生成需要采集的容器配置文件,所述容器配置文件按照容器特性对应生成日志采集规则,触发启动日志采集任务;所述日志采集任务监控节点容器的状态变化,根据所述节点容器的各维度数据变化获取节点容器各状态的自适应权重,基于所述自适应权重计算所述节点容器的综合访问热度;获取历史综合访问热度数据,根据历史综合访问热度数据预测容器的访问热度,根据容器的访问热度调整容器数量,通过此方法和对应的系统,可以预测综合访问热度进行精准资源分配,动态调整容器数量,提升系统稳定性和用户体验。
Need to check novelty before this filing date? Find Prior Art