Log detection method, device and equipment and computer readable storage medium

By automatically obtaining and detecting logs generated by processes in cloud services, and using eBPF monitoring system calls, the performance reduction problems caused by cumbersome log detection operations and centralized detection in the prior art are solved, and flexible, accurate and efficient log detection is achieved.

CN119829355APending Publication Date: 2025-04-15HUAWEI CLOUD COMPUTING TECHNOLOGIES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311773902.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-10-13
Filing Date
2023-12-21
Publication Date
2025-04-15

AI Technical Summary

Technical Problem

In the prior art, in the process of log detection in cloud computing, users need to manually input logs and regular expressions, which are cumbersome and prone to errors. Centralized log detection leads to data accumulation and performance reduction.

Method used

By receiving process identification information, the logs generated by the process are automatically obtained and detected, and the system calls are used to monitor the system to obtain file indication information and type information, reducing manual input, and improving detection efficiency and accuracy.

Benefits of technology

It realizes the flexibility and accuracy of log detection, reduces user usage costs, avoids the problems of data accumulation and performance reduction, and improves the governance and operation and maintenance efficiency of cloud services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119829355A_ABST
    Figure CN119829355A_ABST
Patent Text Reader

Abstract

The invention discloses a log detection method, device and equipment and a computer readable storage medium, and belongs to the technical field of cloud computing. The method comprises the steps that a first device receives a log detection request sent by a second device, the log detection request comprises identification information of a first process, and the first process is a process running in the first device; obtaining a first log generated by the first process based on the identification information of the first process; a regular expression of the first log is obtained, a first detection result of the first log is determined according to the regular expression of the first log, and the first detection result indicates whether the content of the first log conforms to the reference format described by the regular expression or not. According to the method, the first log needing to be detected can be automatically and flexibly obtained through the identification information of the first process, then the automatically obtained first log is accurately detected according to the regular expression of the first log, and errors caused by manual log input are avoided.
Need to check novelty before this filing date? Find Prior Art