Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Cluster log collection method and device, equipment and storage medium

A collection method and log technology, applied in climate sustainability, electrical components, transmission systems, etc., can solve the problems of low efficiency of cluster log collection, achieve flexible data collection methods, solve low efficiency, and improve efficiency

Active Publication Date: 2022-06-07
PING AN TECH (SHENZHEN) CO LTD
View PDF3 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention provides a cluster log collection method, device and computer-readable storage medium, the main purpose of which is to solve the problem of low efficiency of cluster log collection

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Cluster log collection method and device, equipment and storage medium
  • Cluster log collection method and device, equipment and storage medium
  • Cluster log collection method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0058] It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.

[0059]The embodiment of the present application provides a cluster log collection method. The execution subject of the cluster log collection method includes, but is not limited to, at least one of electronic devices, such as a server and a terminal, that can be configured to execute the method provided by the embodiments of the present application. In other words, the cluster log collection method may be executed by software or hardware installed in a terminal device or a server device, and the software may be a blockchain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, and the like. The server can be an independent server, or can provide cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network se...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a base frame operation and maintenance technology, and discloses a cluster log acquisition method, which comprises the following steps of: deploying a first log agent at each node in a cluster by utilizing a first acquisition mode; collecting the log of each node by using a first log agent, and obtaining the collection speed of the log; acquiring a log quantity corresponding to the log, and when the log quantity is smaller than a first preset threshold value and the acquisition speed is greater than a second preset threshold value, continuously acquiring the log of each node by using the first log agent; when at least one condition that the log quantity is greater than a first preset threshold value and the collection speed is smaller than a second preset threshold value is met, detecting the collection progress of the logs in the cluster according to the logs; and deploying a second log agent in each node in the cluster according to the collection progress by using a second collection mode, and collecting the log of each node by using the second log agent. The invention further provides a cluster log collection device, equipment and a medium. According to the invention, the cluster log collection efficiency can be improved.

Description

technical field [0001] The present invention relates to the technical field of rack operation and maintenance, and in particular, to a cluster log collection method, device, electronic device and computer-readable storage medium. Background technique [0002] Log collection and analysis is an important part of the work of the cluster system. It can record detailed access requests and error information, which is very helpful for problem location. Many log systems in the industry use DaemonSet, Sidecar and other collection methods to deal with the log collection of clusters in different situations. Among them, the DaemonSet method occupies much less resources, but has limited scalability and tenant isolation, and is more suitable for clusters with a single function or not many services; the Sidecar method occupies more resources, but has strong flexibility and multiple isolation. , more suitable for large clusters. [0003] However, in reality, clusters often do not grow int...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L67/125H04L67/562
CPCH04L67/125Y02D10/00
Inventor 冯洋
Owner PING AN TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products