Selecting target component of computing device for logging
By detecting and analyzing problems on computing devices in the information processing system, and using processing devices and clustering algorithms to select target components for log collection, the problem of low log collection efficiency is solved and efficient log collection and problem solving are achieved.
Patent Information
- Application Number
- CN202310224485.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-07
- Publication Date
- 2024-09-10
Smart Images

Figure CN118626326A
Abstract
Description
Technical Field
[0001] The field relates generally to information processing and, more particularly, to techniques for managing information processing systems. Background Art
[0002] Information handling systems increasingly utilize reconfigurable virtual resources to meet changing user needs in an efficient, flexible and cost-effective manner. For example, cloud computing and storage systems implemented using virtual resources such as virtual machines have been widely adopted. Other virtual resources now widely used in information handling systems include Linux containers. Such containers can be used to provide at least a portion of the virtualization infrastructure of a given cloud-based information handling system. However, significant challenges may arise in service management in cloud-based information handling systems. Similar challenges may arise in other types of information handling systems. Summary of the invention
[0003] Illustrative embodiments of the present disclosure provide techniques for selecting target components of a computing device for logging.
[0004] In one embodiment, an apparatus includes at least one processing device, the at least one processing device including a processor, the processor coupled to a memory. The at least one processing device is configured to detect a given problem encountered on a given computing device among a plurality of computing devices in an information technology infrastructure, identify a given cluster in a set of two or more different clusters of the plurality of computing devices to which the given computing device belongs, and determine a similarity between the given problem encountered on the given computing device and one or more historical problems encountered on one or more other computing devices among the plurality of computing devices belonging to the given cluster. The at least one processing device is also configured to select a subset of a plurality of components of the given computing device as one or more target components for log collection based at least in part on the determined similarity between the given problem encountered on the given computing device and one or more historical problems encountered on one or more other computing devices among the plurality of computing devices belonging to the given cluster. The at least one processing device is also configured to collect logs from the one or more target components of the given computing device, and perform one or more remediation measures on the given computing device to resolve the given problem, the one or more remediation measures being determined based at least in part on the logs collected from the one or more target components of the given computing device.
[0005] These and other illustrative embodiments include, but are not limited to, methods, apparatus, networks, systems, and processor-readable storage media. BRIEF DESCRIPTION OF THE DRAWINGS
[0006] Figure 1 is a block diagram of an information processing system configured for selecting a target component of a computing device for logging in an illustrative embodiment.
[0007] Figure 2 is a flow chart of an exemplary process for selecting a target component of a computing device for logging in an illustrative embodiment.
[0008] Figure 3 An edge computing architecture including an edge data center coupled to edge nodes in an illustrative embodiment is shown.
[0009] Figure 4 An intelligent log collection optimization system configured to determine target components of edge nodes for logging in an illustrative embodiment is shown.
[0010] Figure 5 Clustering of edge nodes into categories in an illustrative embodiment is shown.
[0011] Figure 6 A footprint of a vulnerability encountered on an edge node in an illustrative embodiment is shown.
[0012] Figure 7 A mapping of vulnerability footprints to different domains in an illustrative embodiment is shown.
[0013] Figure 8 A process flow for determining a target component of an edge node for logging in an illustrative embodiment is shown.
[0014] Fig. 9 and Fig.10 An example of a processing platform that may be used to implement at least a portion of an information handling system in an illustrative embodiment is shown. DETAILED DESCRIPTION
[0015] Illustrative embodiments will be described herein with reference to an exemplary information handling system and associated computers, servers, storage devices, and other processing devices. However, it should be understood that the embodiments are not limited to use with the specific illustrative system and device configurations shown. Therefore, the term "information handling system" as used herein is intended to be broadly interpreted to cover processing systems including, for example, cloud computing and storage systems, as well as other types of processing systems including various combinations of physical and virtual processing resources. Thus, an information handling system may include, for example, at least one data center or other type of cloud-based system including one or more clouds hosting tenants accessing cloud resources.
[0016] Figure 1An information handling system 100 configured according to an illustrative embodiment is shown. The information handling system 100 is assumed to be built on at least one processing platform and provides functionality for selecting a target component of a computing device (e.g., an edge computing device) for logging. The target component can be, for example, one or more specific log collection tools running on or associated with a given computing device. The target component can also or alternatively include one or more specific hardware and / or software components of a given computing device. The target component can also or alternatively include specific data or metrics that can be obtained from one or more specific hardware and / or software components of a given computing device, or specific types of data or metrics that can be collected from one or more specific log collection tools that run on or are associated with a given computing device, and so on.
[0017] The information processing system 100 includes a set of core computing sites 102-1, 102-2, ... 102-S (collectively referred to as core computing sites 102) and a set of edge computing sites 104-1, 104-2, ... 104-N (collectively referred to as edge computing sites 104, also referred to as edge computing nodes or edge data centers 104). It is assumed that the core computing site 102 (also referred to as the core data center 102) includes a plurality of core devices or core nodes (hereinafter referred to as core hosted applications 108-C-1, 108-C-2, ... 108-CS) running a set of core hosted applications 108-C. Figure 1 108-E-1, 108-E-2, . . . 108-EN (collectively referred to as edge hosted applications 108-E)). In some embodiments, the core computing site 102 includes or is part of one or more cloud computing platforms and may include one or more clouds on which the core hosted applications 108-C run. In such embodiments, the core hosted applications 108-C may alternatively be referred to as cloud hosted applications 108-C. It is assumed that each of the edge computing sites 104 includes computing infrastructure or edge assets ( Figure 1 ). The core-hosted applications 108-C and the edge-hosted applications 108-E are collectively referred to as applications 108. As used herein, the term "application" is intended to be broadly interpreted to include applications, microservices, and other types of services.
[0018] The information processing system 100 includes a plurality of edge devices coupled to each of the edge computing sites 104. A set of edge devices 106-1-1, ... 106-1-M (collectively referred to as edge devices 106-1) are coupled to the edge computing site 104-1, a set of edge devices 106-2-1, ... 106-2-M (collectively referred to as edge devices 106-2) are coupled to the edge computing site 104-2, and a set of edge devices 106-N-1, ... 106-NM (collectively referred to as edge devices 106-N) are coupled to the edge computing site 104-N. The edge devices 106-1, 106-2, ... 106-N are collectively referred to as edge devices 106. It should be understood that the specific number "M" of edge devices 106 connected to each of the edge computing sites 104 can be different. In other words, the number M of edge devices 106-1 coupled to the edge computing site 104-1 may be the same as or different from the number M of edge devices 106-2 coupled to the edge computing site 104-2. Furthermore, a particular one of the edge devices 106 may be connected or coupled to only a single one of the edge computing sites 104 at any given time, may be coupled to multiple ones of the edge computing sites 104 at any given time, or may be connected to different ones of the edge computing sites 104 at different times.
[0019] The edge device 106 may include, in any combination, for example, a physical computing device, such as an Internet of Things (IoT) device, a sensor device (e.g., for telemetry, video, images, etc.), a mobile phone, a laptop computer, a tablet computer, a desktop computer, or other types of devices utilized by enterprise members. Such devices are examples of what are more generally referred to herein as "processing devices." Some of these processing devices are also generally referred to herein as "computers." The edge device 106 may also or alternatively include virtualized computing resources, such as virtual machines (VMs), containers, and the like. In this illustration, the edge device 106 may be tightly coupled or loosely coupled with other devices such as one or more input sensors and / or output instruments (not shown). Coupling can take many forms, including but not limited to the use of intermediate networks, docking devices, connections, and the like.
[0020] In some embodiments, edge devices 106 include individual computers associated with a particular company, organization, or other enterprise. Additionally, at least portions of system 100 may also be referred to herein as collectively constituting an "enterprise." Many other operational scenarios involving a wide variety of different types and arrangements of processing nodes are possible, as will be appreciated by those skilled in the art.
[0021] like Figure 1As shown, the edge computing site 104 is connected to the core computing site 102 via one or more networks 112. Although not explicitly shown, the edge device 106 can be coupled to the edge computing site 104 via the network 112. It is assumed that the network 112 coupling the core computing site 102, the edge computing site 104, and the edge device 106 includes a global computer network such as the Internet, but other types of private and public networks may also be used, including a wide area network (WAN), a local area network (LAN), a satellite network, a telephone or wired network, a cellular network, a wireless network (such as a WiFi or WiMAX network), or various parts or combinations of these and other types of networks. In some embodiments, a first type of network (e.g., a public network) couples the edge device 106 to the edge computing site 104, while a second type of network (e.g., a private network) couples the edge computing site 104 to the core computing site 102. Various other examples are possible.
[0022] In some embodiments, one or more of the core computing sites 102 and one or more of the edge computing sites 104 jointly provide at least a portion of the information technology (IT) infrastructure operated by the enterprise, wherein the edge device 106 is operated by the user of the enterprise. Therefore, the IT infrastructure including such core computing sites 102 and edge computing sites 104 can be referred to as an enterprise system. As used herein, the term "enterprise system" is intended to be broadly interpreted as a system or other computing device including any group. In some embodiments, the enterprise system includes a cloud infrastructure, which includes one or more clouds (e.g., one or more public clouds, one or more private clouds, one or more hybrid clouds, combinations thereof, etc.). The cloud infrastructure can host at least a portion of one or more of the core computing sites 102 and / or one or more of the edge computing sites 104. A given enterprise system can host assets associated with multiple enterprises (e.g., two or more different merchants, organizations, or other entities). In another exemplary embodiment, one or more of the edge computing sites 104 can be operated by an enterprise that is separate from but communicates with an enterprise that operates one or more core computing sites 102.
[0023] Despite Figure 1 Not explicitly shown, one or more input-output devices such as a keyboard, display, or other types of input-output devices may be used to support one or more user interfaces to the core computing site 102, the edge computing site 104, and the edge device 106, as well as to support communications between the core computing site 102, the edge computing site 104, the edge device 106 and other related systems and devices not explicitly shown.
[0024] As described above, the core computing site 102 hosts the core-hosted application 108-C, and the edge computing site 104 hosts the edge-hosted application 108-E, where the core-hosted application 108-C and the edge-hosted application 108-E are collectively referred to as the application 108. The edge device 106 can exchange information with the application 108. For example, the edge device 106 or the edge-hosted application 108-E can send information to the core-hosted application 108-C. In some embodiments, such information includes logs for analyzing and repairing problems encountered on different edge devices in the edge device 106. The edge device 106 or the edge-hosted application 108-E can also receive information (e.g., such as instructions) from the core-hosted application 108-C. In some embodiments, such information or instructions can include root cause information of problems encountered on different edge devices in the edge device 106, remedial measures to be taken for problems encountered on different edge devices in the edge device 106, target components of the edge device 106 from which logs should be obtained to handle the problems encountered, etc. Using the technical solutions described herein, the edge computing site 104 is configured to process and publish customized selected, authorized, and processed information to a core hosted application 108-C (e.g., logs collected for a target component of the edge device 106 on which a problem was encountered), as further described in detail elsewhere herein.
[0025] It should be noted that in some embodiments, requests and responses or other information may be routed through multiple edge computing sites. Figure 1 An embodiment is shown in which each edge computing site 104 is directly connected to the core computing site 102 via the network 112, but this is not required. In other embodiments, one or more of the edge computing sites 104 can be connected to one or more of the core computing sites 102 via one or more other edge computing sites in the edge computing sites 104 (e.g., the edge computing sites 104 can be arranged in a hierarchy having multiple levels, possibly including one or more edge data centers coupling the edge computing sites 104 with the core computing sites 102).
[0026] When a problem is encountered on the edge device 106, various log data may be collected from the edge device 106 and provided to the edge-hosted application 108-E and / or the core-hosted application 108-C for processing. Such processing may include analyzing such log data to identify the root cause of the problem encountered, and for identifying a remediation measure for resolving the problem encountered. Such remediation measures may include, but are not limited to, measures to modify the configuration of the edge device 106 so that similar problems will not be encountered in the future. The edge device 106 may have limited available resources, so that collecting all possible logs from the edge device 106 when a problem is encountered may cause a significant performance impact on the edge device 106. The edge computing site 104 and the core computing site 102 may implement edge log collection orchestration logic that provides dynamic determination of target components of the edge device 106 from which log data should be collected to handle different problems encountered at the core computing site 102 and the edge computing site 104.
[0027] In some embodiments, log data generated at different edge devices in edge devices 106 will be consumed by different endpoints. The endpoints may be other edge devices in edge devices 106, one or more of edge computing sites 104, one or more of core computing sites 102, or one or more other processing devices coupled to edge computing sites 104 (e.g., client devices coupled to an Internet connection on network 112, Figure 1 10-CS (collectively, edge log collection orchestration logic 110-C) at core computing site 102. Edge log collection orchestration logic 110-C and 110-E (collectively, edge log collection orchestration logic 110) may be used, for example, to identify target components of edge device 106 from which log data should be collected for different problems encountered.
[0028] In some embodiments, edge data from edge devices 106 may be stored in a database or other data store (not shown), locally at edge computing site 104, and / or in a processed or transformed format at different endpoints (e.g., core computing site 102, edge computing site 104, other edge devices in edge device 106, etc.). The database or other data store may be implemented using one or more of the storage systems that are part of or otherwise associated with one or more of core computing site 102, edge computing site 104, and edge device 106. The storage system may include a scale-out all-flash content addressable storage array or other type of storage array. Therefore, the term "storage system" as used herein is intended to be broadly interpreted and should not be considered limited to a content addressable storage system or a flash-based storage system. A given storage system, as a term broadly used herein, may include, for example, network attached storage (NAS), storage area network (SAN), direct attached storage (DAS), and distributed DAS, as well as combinations of these and other storage types (including software-defined storage). Other specific types of storage products that can be used to implement the storage system in the illustrative embodiments include all-flash and hybrid flash storage arrays, software-defined storage products, cloud storage products, object-based storage products, and horizontally scaled NAS clusters. In the illustrative embodiments, a combination of multiple storage products in these and other storage products can also be used to implement a given storage system.
[0029] Although shown as an element of core computing sites 102 and edge computing sites 104 in this embodiment, edge log collection orchestration logic 110 in other embodiments can be implemented at least partially external to core computing sites 102 and / or edge computing sites 104 as, for example, a standalone server, a collection of servers, or other types of systems coupled to one or more of core computing sites 102 and / or edge computing sites 104 via one or more networks 112. In some embodiments, edge log collection orchestration logic 110 can be implemented at least partially within one or more of edge devices 106. In other embodiments, edge log collection orchestration logic 110 can be implemented at a subset of core computing sites 102 and edge computing sites 104, rather than implementing an instance at each of core computing sites 102 and each of edge computing sites 104. Various other examples are possible.
[0030] Assume that at least one processing device is used to implement Figure 1 In the embodiment of the present invention, the core computing site 102 and the edge computing site 104 are shown. Each such processing device generally includes at least one processor and associated memory, and implements at least a portion of the functionality of the edge log collection orchestration logic 110.
[0031] It should be understood that Figure 1 The specific arrangement of core computing site 102, edge computing site 104, edge device 106, application 108, edge log collection orchestration logic 110, and network 112 shown in the embodiments of the present invention is presented by way of example only, and alternative arrangements may be used in other embodiments. As discussed above, for example, edge log collection orchestration logic 110 may be implemented external to one or both of core computing site 102 and edge computing site 104. At least portions of edge log collection orchestration logic 110 may be implemented at least in part in the form of software stored in a memory and executed by a processor.
[0032] It should be understood that Figure 1 The specific set of elements shown in the for selecting the target components of the computing device for logging are presented only by way of illustrative examples, and in other embodiments, additional or alternative elements may be used. Thus, another embodiment may include additional or alternative systems, devices, and other network entities, as well as different arrangements of modules and other components.
[0033] As described above and in more detail below, the core computing sites 102, edge computing sites 104, edge devices 106, and other portions of the system 100 may be part of a cloud infrastructure.
[0034] Assuming that at least one processing platform including one or more processing devices is used to implement Figure 1 In the embodiment of the core computing site 102, edge computing site 104, edge device 106 and other components of the information processing system 100, each processing device has a processor coupled to a memory. Such processing devices can illustratively include a specific arrangement of computing, storage and network resources.
[0035] The core computing site 102, edge computing site 104, and edge device 106 or components thereof may be implemented on various different processing platforms, but many other arrangements are possible. For example, in some embodiments, edge device 106 and at least portions of edge computing site 104 may be implemented on the same processing platform. One or more of edge devices 106 may thus be implemented at least in part within at least one processing platform that implements at least a portion of edge computing site 104 and / or core computing site 102. In other embodiments, one or more of edge devices 106 may be separate from but coupled to one or more of edge computing sites 104.
[0036] The term "processing platform," as used herein, is intended to be interpreted broadly so as to include, for example, but not limited to, multiple groups of processing devices and associated storage systems configured to communicate over one or more networks. For example, distributed implementations of system 100 are possible in which certain components of the system reside in one data center in a first geographic location, while other components of the system reside in one or more other data centers in one or more other geographic locations that may be remote from the first geographic location. Thus, in some implementations of system 100, core computing sites 102, edge computing sites 104, and edge devices 106, or portions or components thereof, may reside in different data centers. Many other distributed implementations are possible.
[0037] The following will be combined Fig. 9 and Fig.10 Additional examples of processing platforms used to implement core computing sites 102, edge computing sites 104, and edge devices 106, as well as other components of system 100 in illustrative embodiments, are described in greater detail.
[0038] It should be understood that these and other features of the illustrative embodiments are presented by way of example only and are not to be construed as limiting in any way.
[0039] Now refer to Figure 2 The flowchart of describes in more detail an exemplary process for selecting a target component of a computing device for logging. It should be understood that this specific process is only an example, and additional or alternative processes for selecting a target component of a computing device for logging can be used in other embodiments.
[0040] In this embodiment, the process includes steps 200 to 210. It is assumed that these steps are performed by edge computing sites 104 and possibly core computing sites 102 using edge log collection orchestration logic 110. The process begins at step 200 by detecting a given problem encountered on a given computing device among a plurality of computing devices. In step 202, a given cluster among a set of two or more different clusters of the plurality of computing devices to which the given computing device belongs is identified. Step 202 may include using a mean shift clustering algorithm.
[0041] In step 204, similarities between a given problem encountered on the given computing device and one or more historical problems encountered on one or more other computing devices in the plurality of computing devices that belong to the given cluster are determined. Each of the historical problems may be associated with a root cause and at least one fix for resolving the historical problem. Each of the historical problems may also or alternatively be associated with one or more target components that are log sources having information for diagnosing the one or more historical problems.
[0042] Step 204 may include, for a given historical problem among the one or more historical problems encountered on at least one of the one or more other computing devices belonging to the given cluster among the plurality of computing devices, generating a first data structure including a plurality of fields describing the given problem, and calculating a similarity measure between the first data structure and a second data structure including a plurality of fields describing the given historical problem. Calculating the similarity measure may include calculating a cosine similarity between the first data structure and the second data structure. The plurality of fields may include at least one of the following: an identifier of an error that occurred on the given computing device, at least one identifier of a code file that is a source of the error that occurred on the given computing device, and at least one identifier of a location in a code file that is a cause of the error that occurred on the given computing device. The plurality of fields may also or alternatively include at least one identifier of one or more software components running on the given computing device, the one or more software components being affected by the given problem that occurred on the given computing device.
[0043] In step 206, a subset of the plurality of components of the given computing device is selected as target components for log collection based at least in part on a determined similarity between a given problem encountered on the given computing device and one or more historical problems encountered on one or more other computing devices of the plurality of computing devices belonging to the given cluster. In some embodiments, step 204 includes determining whether any of the one or more historical problems exhibits at least a first threshold level of similarity to the given problem, and in response to determining that none of the one or more historical problems exhibits at least the first threshold level of similarity to the given problem, determining whether any of the one or more historical problems exhibits at least a second threshold level of similarity to the given problem, the second threshold level of similarity being less than the first threshold level of similarity. Step 206 may include selecting target components associated with historical problems of the one or more historical problems that have at least the first threshold level of similarity to the given problem. Step 206 may also or alternatively include selecting target components associated with a subset of the one or more historical problems that exhibit at least a second threshold level of similarity to the given problem.
[0044] Figure 2The process continues to step 208, where logs are collected from target components of the given computing device. In step 210, one or more remedial measures are performed on the given computing device to resolve the given problem, and the one or more remedial measures are determined at least in part based on the logs collected from the target components of the given computing device. At least one of the one or more remedial measures may include performing a root cause analysis on the given problem using the logs collected from the target components of the given computing device. At least one of the one or more remedial measures may include applying one or more patches to update one or more software components of the given computing device, and the one or more software components are determined to be the source of the given problem via analyzing the logs collected from the target components of the given computing device.
[0045] Cloud computing plays an important role in improving decision making and provides various benefits, including reduced IT costs and scalability. Edge computing is another option that can provide some benefits over cloud computing, such as faster response times and greater data security. As IoT and other types of edge devices become more widespread and powerful, organizations will need to implement an effective edge computing architecture to harness the potential of edge computing technology.
[0046] Typically, there are multiple edge computing nodes (also called edge nodes) located at different sites in a hybrid edge network. Compared to core computing nodes and cloud computing infrastructure, edge nodes usually have limited storage and processing capabilities. Figure 3 An edge computing architecture 300 is shown, which includes an edge data center 301 coupled to a collection of edge nodes 303-1, 303-2, ... 303-P (collectively referred to as edge nodes 303). When a "vulnerability" is encountered on a given edge node (e.g., edge node 303-1) in the edge nodes 303, it is important, but also resource-intensive, to collect the required logs from the given edge node 303-1 in order to diagnose and fix the vulnerability. As used herein, a vulnerability or error is an example of what is more commonly referred to as a problem. Such logs can, for example, be provided from a given edge node 303-1 to an edge data center 301 for debugging or other analysis (e.g., diagnosis, determining a repair measure for correcting the vulnerability, etc.).
[0047] Collecting too many logs may cause heavy pressure on the relatively limited resources of a given edge node 303-1, which may affect the normal operation of a given edge node 303-1. However, collecting too few logs may cause missing or loss of potential key information, and these information are required for finding the root cause of the vulnerability. The illustrative embodiment provides a technical solution for the edge node log collection mechanism that is optimized or improved. The technical solution described herein can provide benefits for the resource saving of edge nodes 303, the edge data center 301 coupled by edge nodes 303 to process and debug vulnerabilities faster. In some embodiments, the edge node log collection mechanism first (for example, using a mean shift algorithm) pre-classifies edge nodes 303. When a given vulnerability occurs on a given node 303-1, identify the given category to which a given edge node 303-1 belongs. Then collect the given historical vulnerability pool encountered on the edge node 303 in the given category. Then determine the similarity score between the given vulnerability encountered on a given edge node 303-1 and the historical vulnerability in a given historical problem or error pool. The similarity score is used to match a given vulnerability with historical vulnerabilities and determine the target component to be used to collect logs from a given edge node 303-1. Therefore, the technical solution described herein can improve and more effectively collect key and necessary logs for debugging while minimizing or reducing the impact on the system performance of the edge node 303. In addition, accurate component logs also help the edge data center 301 to analyze vulnerabilities faster to improve the debugging process.
[0048] Figure 4 An intelligent log collection optimization system 401 coupled to an edge node 403 is shown. Assuming that the edge node 403 encounters a vulnerability, the vulnerability will be repaired at least in part by analyzing one or more logs collected using a log collection tool 430, which is run on the edge node 403 or otherwise associated with the edge node. The intelligent log collection optimization system 401 implements edge node pre-classification logic 410, historical vulnerability sample analysis logic 412, vulnerability similarity assessment logic 414, and log collection target component determination logic 416. As will be discussed in further detail below, the edge node pre-classification logic 410 is configured to cluster edge nodes into different categories. In some embodiments, the edge nodes are clustered using a mean shift algorithm. In response to detecting that the edge node 403 encounters a vulnerability, the intelligent log collection optimization system 401 determines one or more target edge node categories to which the edge node 403 belongs. The target edge node category is then provided to the historical vulnerability sample analysis logic 412.
[0049] The historical vulnerability sample analysis logic 412 is configured to search the data storage area or database for valid historical vulnerabilities encountered by edge nodes in the target edge node category (e.g., with known root causes and associated fixes related to specific components of the edge node). Such a list of historical vulnerabilities for the target edge node category is then provided to the vulnerability similarity assessment logic 414. The vulnerability similarity assessment logic 414 is configured to analyze the detailed footprint information and field / value list of the vulnerabilities encountered on the edge node 403, and calculate the similarity score between the footprint and the sample vulnerabilities in the historical vulnerability list for the target edge node category (e.g., using cosine similarity). The vulnerability similarity assessment logic 414 provides the similarity score to the log collection target component determination logic 416. The log collection target component determination logic 416 is configured to match and determine the target component of the edge node 403 from which logs should be collected according to the rules. This can include defining a similarity threshold φ, which is used in various rules to match the similarity with the target component. The determined target components are then sent to the log collection tool 430 of the edge node 403 , so that logs of such target components are collected and used to analyze vulnerabilities encountered on the edge node 403 .
[0050] The functionality of the edge node pre-classification logic 410 will now be described in more detail. The edge node pre-classification process is important because it determines the accuracy of future error learning. The more similar the edge nodes in a given category, the greater their learning value in determining the target components from which logs should be collected to analyze newly encountered vulnerabilities. In some embodiments, the edge node pre-classification logic 410 uses a mean shift algorithm to cluster edge nodes into different groups or categories. Assuming that there are M attributes for each node, for an edge node X represented as X = {x1, x2, ..., x M}. For example, in a smart irrigation system scenario, there may be data generated by different sensors such as temperature, humidity, soil moisture, ontological decision, light, rain, flow, etc. Edge nodes are clustered using the mean shift algorithm, which can better cluster edge nodes into multiple groups, where the number of groups is not predefined. Mean shift clustering is an unsupervised learning algorithm that iteratively assigns data points to clusters by drifting points towards a pattern (for example, in the context of mean shift, the pattern is the highest density of data points in the area). Unlike the k-means clustering algorithm, mean shift does not require the number of clusters to be specified in advance. The number of clusters is determined by the mean shift algorithm on the data, so it is very suitable for edge node clustering.
[0051] The edge node pre-classification logic 410 pre-classifies edge nodes into clusters or categories and can be performed periodically or in response to various conditions such as determining that the edge computing environment has changed (e.g., determining that a certain threshold number of edge nodes have been added or deleted from the edge computing environment, the configuration of at least a threshold number of edge nodes in the edge computing environment has changed, etc.). Edge nodes clustered into the same category have more similar attributes and system performance and anomalies (e.g., vulnerabilities, errors, or other types of problems). Figure 5 A collection of edge nodes 503-1, 503-2, 503-3, 503-4, 503-5, 503-6, etc. (collectively referred to as edge nodes 503) clustered into categories 505-1, 505-2, 505-3, etc. (collectively referred to as categories 505) is shown. Here, for example: edge nodes 503-1 and 503-5 are clustered into category 505-1; edge nodes 503-2, 503-3, and 503-6 are clustered into category 505-2; and edge node 503-4 is clustered into category 505-3.
[0052] The functionality of the historical vulnerability sample analysis logic 412 and the vulnerability similarity assessment logic 414 will now be described in more detail. When a new vulnerability occurs on the edge node 403, the "footprint" of the vulnerability is collected and reported to the intelligent log collection optimization system 401 (for example, which can be implemented in an edge data center). The vulnerability footprint is a concise description of the vulnerability. Different user scenarios may have different definitions of vulnerability footprints, but they will all contain a detailed description of the vulnerability. Figure 6 An example 600 of a vulnerability footprint is shown, which includes a set of fields and corresponding values that provide a detailed description of the vulnerability. In example 600, the fields include defect, type, component, module, line, method, assertion, and stack. However, it should be understood that various other fields can be used in addition to or instead of one or more of these fields. Based on the information of the footprint, the vulnerability similarity assessment logic 414 can use one or more similarity metrics to determine the similarity between two vulnerabilities. In some embodiments, cosine similarity is used to calculate the similarity score. The advantage of cosine similarity is low complexity and is very suitable for text information retrieval and data mining. The cosine similarity between vulnerabilities i and j can be calculated as follows:
[0053]
[0054] Among them, V vulnerability i , field k Represents the digitized value of vulnerability i for field k. Here, digitized value is normalized value, where as non-normalized value can be string or any other format. N represents the count of fields defined in the footprint. S vulnerability i , vulnerability jThe value range is from 0 to 1. A value of 0 indicates that there is no correlation between the two vulnerabilities i and j, while a value of 1 indicates that the two vulnerabilities i and j are almost identical. i , vulnerability j The closer the value of is to 1, the more similar the two vulnerabilities i and j are. For a new vulnerability occurring on edge node 403, vulnerability similarity evaluation logic 414 may calculate its similarity to selected historical vulnerabilities (e.g., using cosine similarity). Selected historical vulnerabilities are defined as at least a specified threshold number of historical vulnerabilities that originated from edge nodes belonging to the same category as edge node 403.
[0055] The functionality of the log collection target component determination logic 416 will now be described in more detail. As discussed above, the log collection target component determination logic 416 is configured to define a similarity threshold φ. For historical vulnerabilities with a similarity greater than the threshold φ, relevant components are selected and added to a multi-target component list. A valid historical vulnerability sample list should include historical vulnerabilities for which the root cause was successfully found and fixed and which are related to a clear and accurate target component list from which the relevant logs originated. Here, a log is "relevant" if it is determined that the log can be used to identify the root cause of the vulnerability or can be used to identify which repair measures to take to correct the vulnerability. Figure 7 An example set of footprints of historical vulnerabilities 705-1, 705-2, 705-3, 705-4, etc. (collectively referred to as historical vulnerability footprints 705) and a set of domains 710-1, 710-2, 710-3, 710-4, 710-5, 710-6, etc. (collectively referred to as domains 710) are shown. Domains 710 represent a set of target components. The value of the similarity threshold φ can be determined by the user for real scenarios, and the definition can vary with different use case scenarios and accuracy requirements.
[0056] An example will now be described. If after matching, the similarity of one or more historical vulnerabilities is greater than or equal to a first threshold (e.g., 98%), these historical vulnerabilities are selected and the related components of these historical vulnerabilities are added to the multi-target component list. This scenario corresponds to the newly encountered vulnerability being a frequently occurring vulnerability (e.g., it may be repeated in many historical vulnerabilities). If after matching, no historical vulnerability has a similarity greater than or equal to the first threshold (e.g., 98%), but the similarity of the historical vulnerability is greater than the second threshold (e.g., 88%) and less than the first threshold (e.g., 98%), these historical vulnerabilities are sorted by similarity, and the related components of the top X (e.g., top 3) historical vulnerabilities are added to the multi-target component list. This scenario corresponds to the newly encountered vulnerability being similar to one or more historical vulnerabilities, so the historical analysis path is worth referring to. If after matching, no historical vulnerability has a similarity greater than or equal to the second threshold (e.g., 88%), manual classification can be triggered. This scenario corresponds to the newly encountered vulnerability being rare (e.g., not encountered in history) or the available historical vulnerability data is still not abundant. Therefore, manual debugging of newly encountered vulnerabilities can help enrich the historical vulnerability pool so that a higher similarity hit rate is added in the future. It should be noted that the examples of values given for the first threshold, the second threshold, and the third threshold are presented by way of example, and these thresholds can be customized as needed for a specific use case. By learning from the vulnerability handling history, the log collection target component determination logic 416 is configured to evaluate and determine which target components are most needed or most useful for collecting debugging and handling of newly encountered vulnerabilities.
[0057] Figure 8A process flow 800 for intelligently collecting required logs when a vulnerability is encountered on a given edge node (e.g., edge node 403) is shown. The process flow 800 can be performed using the intelligent log collection optimization system 401. The process flow 800 begins at step 801, and in step 803 (e.g., using the edge node pre-classification logic 410), the edge nodes in the network are pre-classified. Step 803 can use a mean shift algorithm to determine the target category (or multiple categories) of a given edge node. In step 805, a historical vulnerability pool (e.g., vulnerabilities previously encountered on edge nodes in one or more target categories) is obtained for one or more target categories of a given edge node (e.g., using the historical vulnerability sample analysis logic 412). In step 807, a similarity score is calculated for a published vulnerability (e.g., encountered on a given edge node) and a historical vulnerability in the historical vulnerability pool (e.g., using the vulnerability similarity evaluation logic 414). Then, in step 809 (e.g., using log collection target component determination logic 416), a target component for logging (e.g., for a published vulnerability on a given edge node) is determined based at least in part on matching the published vulnerability with a historical vulnerability from a historical vulnerability pool. Then, in step 811, logs are collected from the target component in the given edge node with the published vulnerability, and process flow 800 ends in step 813.
[0058] It should be understood that the specific advantages described above and elsewhere herein are associated with specific illustrative embodiments and need not exist in other embodiments. Moreover, the specific types of information handling system features and functionality as shown in the drawings and described above are merely exemplary, and numerous other arrangements may be used in other embodiments.
[0059] Now refer to Fig. 9 and Fig.10 Illustrative embodiments of processing platforms for implementing functionality for selecting target components of a computing device for logging are described in more detail. Although described in the context of system 100, in other embodiments, these platforms may also be used to implement at least portions of other information processing systems.
[0060] Fig. 9 An exemplary processing platform including cloud infrastructure 900 is shown. Cloud infrastructure 900 includes Figure 1The cloud infrastructure 900 includes a combination of physical and virtual processing resources of at least a portion of the information processing system 100 in the cloud. The cloud infrastructure 900 includes a plurality of virtual machines (VMs) and / or container sets 902-1, 902-2, ... 902-L implemented using a virtualization infrastructure 904. The virtualization infrastructure 904 runs on a physical infrastructure 905 and illustratively includes one or more hypervisors and / or operating system-level virtualization infrastructure. The operating system-level virtualization infrastructure illustratively includes a kernel control group of a Linux operating system or other type of operating system.
[0061] The cloud infrastructure 900 further includes a set of applications 910-1, 910-2, ... 910-L running on a corresponding set of VMs / containers in the sets of VMs / containers 902-1, 902-2, ... 902-L according to the control of the virtualization infrastructure 904. The set of VMs / containers 902 may include a corresponding VM, a corresponding set of one or more containers, or a corresponding set of one or more containers running in a VM.
[0062] exist Fig. 9 In some implementations of the embodiments, the VM / container set 902 includes corresponding VMs implemented using a virtualization infrastructure 904 including at least one hypervisor. A hypervisor platform can be used to implement a hypervisor within the virtualization infrastructure 904, wherein the hypervisor platform has an associated virtual infrastructure management system. The underlying physical machine may include one or more distributed processing platforms, which include one or more storage systems.
[0063] exist Fig. 9 In other implementations of the embodiments, VM / container set 902 includes respective containers implemented using a virtualization infrastructure 904 that provides operating system-level virtualization functionality (such as support for Docker containers running on a bare metal host or Docker containers running on a VM). The containers are illustratively implemented using respective kernel control groups of the operating system.
[0064] As apparent from the above, one or more of the processing modules or other components of system 100 may each run on a computer, server, storage device, or other processing platform element. A given such element may be considered an example of what is more generally referred to herein as a "processing device." Fig. 9 The cloud infrastructure 900 shown may represent at least a portion of a processing platform. Another example of such a processing platform is Fig.10 The processing platform 1000 is shown in FIG.
[0065] In this embodiment, processing platform 1000 comprises a portion of system 100 and includes a plurality of processing devices, represented as 1002 - 1 , 1002 - 2 , 1002 - 3 , . . . , 1002 -K, which communicate with each other via a network 1004 .
[0066] Network 1004 may include any type of network including, for example, a global computer network (such as the Internet), a WAN, a LAN, a satellite network, a telephone or wired network, a cellular network, a wireless network (such as a WiFi or WiMAX network), or portions or combinations of these and other types of networks.
[0067] The processing device 1002 - 1 in the processing platform 1000 includes a processor 1010 coupled to a memory 1012 .
[0068] Processor 1010 may include a microprocessor, a microcontroller, an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), a central processing unit (CPU), a graphics processing unit (GPU), a tensor processing unit (TPU), a video processing unit (VPU), or other types of processing circuits, as well as portions or combinations of such circuit elements.
[0069] The memory 1012 may include random access memory (RAM), read-only memory (ROM), flash memory, or other types of memory in any combination. The memory 1012 and other memories disclosed herein should be viewed as illustrative examples of what is more generally referred to as a "processor-readable storage medium" that stores executable program code for one or more software programs.
[0070] Articles comprising such processor-readable storage media are considered to be illustrative embodiments. A given such article may include, for example, a storage array, a storage disk, or an integrated circuit comprising RAM, ROM, flash memory or other electronic memory, or any of a variety of other types of computer program products. The term "article" as used herein should be understood to exclude transient propagation signals. Numerous other types of computer program products including processor-readable storage media may be used.
[0071] Also included in the processing device 1002-1 is a network interface circuit 1014 for interfacing the processing device with the network 1004 and other system components, and may include a conventional transceiver.
[0072] The other processing devices 1002 of the processing platform 1000 are assumed to be configured in a manner similar to that shown for the processing device 1002 - 1 in the figure.
[0073] Moreover, the particular processing platform 1000 shown in the figure is presented only by way of example, and the system 100 may include additional or alternative processing platforms, as well as a multitude of different processing platforms in any combination, with each such platform including one or more computers, servers, storage devices, or other processing devices.
[0074] For example, other processing platforms for implementing the illustrative embodiments may include a converged infrastructure.
[0075] Therefore, it should be understood that in other embodiments, different arrangements of additional or alternative elements may be used.At least a subset of these elements may be implemented together on a common processing platform, or each such element may be implemented on a separate processing platform.
[0076] As previously indicated, components of an information handling system as disclosed herein may be implemented at least in part in the form of one or more software programs stored in a memory and executed by a processor of a processing device. For example, at least portions of the functionality for selecting a target component of a computing device for logging as disclosed herein are illustratively implemented in the form of software running on one or more processing devices.
[0077] It should be emphasized again that the above embodiments are presented for illustrative purposes only. Many variations and other alternative embodiments may be used. For example, the disclosed technology may be applicable to a variety of other types of information processing systems, edge computing environments, applications, and the like. Moreover, the specific configurations of the system and device elements illustratively shown in the accompanying drawings and the associated processing operations may change in other embodiments. In addition, the various assumptions made in the process of describing the illustrative embodiments above should also be regarded as exemplary, rather than requirements or limitations on the present disclosure. Numerous other alternative embodiments within the scope of the appended claims will be apparent to those skilled in the art.
Claims
1. A device comprising: at least one processing device, the at least one processing device comprising a processor, the processor coupled to a memory; The at least one processing device is configured to: detecting a given problem encountered on a given computing device among a plurality of computing devices in an information technology infrastructure; identifying a given cluster in a set of two or more different clusters of the plurality of computing devices to which the given computing device belongs; determining a similarity between the given problem encountered on the given computing device and one or more historical problems encountered on one or more other computing devices of the plurality of computing devices that belong to the given cluster; selecting a subset of the plurality of components of the given computing device as one or more target components for log collection based at least in part on a determined similarity between the given problem encountered on the given computing device and the one or more historical problems encountered on the one or more other computing devices of the plurality of computing devices that belong to the given cluster; collecting logs from the one or more target components of the given computing device; as well as One or more remedial measures are performed on the given computing device to resolve the given problem, the one or more remedial measures being determined based at least in part on the logs collected from the one or more target components of the given computing device.
2. The apparatus of claim 1, wherein the plurality of computing devices comprises an edge computing device, and wherein the at least one processing device is part of an edge data center coupled to the edge computing device. 3 . The apparatus of claim 1 , wherein identifying the given cluster to which the given computing device belongs comprises utilizing a mean-shift clustering algorithm.
4. The apparatus of claim 1 , wherein determining the similarity between the given problem encountered on the given computing device and a given historical problem of the one or more historical problems encountered on at least one of the one or more other computing devices of the plurality of computing devices belonging to the given cluster comprises: generating a first data structure including a plurality of fields describing the given problem; as well as A similarity measure is calculated between the first data structure and a second data structure including the plurality of fields describing the given historical question. The apparatus of claim 4 , wherein calculating the similarity metric comprises calculating a cosine similarity between the first data structure and the second data structure.
6. An apparatus according to claim 4, wherein the plurality of fields comprises at least one of: an identifier of an error that occurred on the given computing device, at least one identifier of a code file that is a source of the error that occurred on the given computing device, and at least one identifier of a location in the code file that is a cause of the error that occurred on the given computing device.
7. The apparatus of claim 4, wherein the plurality of fields comprises at least one identifier of one or more software components running on the given computing device, the one or more software components being affected by the given problem occurring on the given computing device.
8. An apparatus according to claim 1, wherein at least a given historical problem among the one or more historical problems encountered on the one or more other computing devices among the multiple computing devices belonging to the given cluster is associated with a root cause and at least one remediation measure for resolving the given historical problem.
9. An apparatus according to claim 1, wherein at least a given historical problem among the one or more historical problems encountered on the one or more other computing devices among the multiple computing devices belonging to the given cluster is related to one or more target components that are the source of a log having information for diagnosing the given historical problem.
10. The apparatus of claim 1 , wherein determining the similarity between the given problem encountered on the given computing device and the one or more historical problems encountered on the one or more other computing devices of the plurality of computing devices belonging to the given cluster comprises: determining whether any of the one or more historical questions exhibit at least a first threshold level of similarity to the given question; as well as In response to determining that none of the one or more historical questions exhibit at least the first threshold level of similarity to the given question, determine whether any of the one or more historical questions exhibit at least a second threshold level of similarity to the given question, the second threshold level of similarity being less than the first threshold level of similarity.
11. An apparatus according to claim 10, wherein selecting the subset of the multiple components of the given computing device as the one or more target components for log collection includes selecting target components related to historical issues among the one or more historical issues that have at least the first threshold level of similarity with the given issue.
12. An apparatus according to claim 10, wherein selecting the subset of the multiple components of the given computing device as the one or more target components for log collection includes selecting target components associated with a subset of the one or more historical issues that exhibit at least the second threshold level of similarity with the given issue.
13. The apparatus of claim 1, wherein at least one of the one or more remedial measures comprises utilizing the logs collected from the one or more target components of the given computing device to perform a root cause analysis on the given problem.
14. An apparatus according to claim 1, wherein at least one of the one or more remedial measures includes applying one or more patches to update one or more software components of the given computing device, and the one or more software components are determined to be the source of the given problem through analyzing the logs collected from the one or more target components of the given computing device.
15. A computer program product comprising a non-transitory processor-readable storage medium having stored therein program code of one or more software programs, wherein the program code, when executed by at least one processing device, causes the at least one processing device to: detecting a given problem encountered on a given computing device among a plurality of computing devices in an information technology infrastructure; identifying a given cluster in a set of two or more different clusters of the plurality of computing devices to which the given computing device belongs; determining a similarity between the given problem encountered on the given computing device and one or more historical problems encountered on one or more other computing devices of the plurality of computing devices that belong to the given cluster; selecting a subset of the plurality of components of the given computing device as one or more target components for log collection based at least in part on a determined similarity between the given problem encountered on the given computing device and the one or more historical problems encountered on the one or more other computing devices of the plurality of computing devices that belong to the given cluster; collecting logs from the one or more target components of the given computing device; as well as One or more remedial measures are performed on the given computing device to resolve the given problem, the one or more remedial measures being determined based at least in part on the logs collected from the one or more target components of the given computing device.
16. A computer program product according to claim 15, wherein at least a given historical problem among the one or more historical problems encountered on the one or more other computing devices among the multiple computing devices belonging to the given cluster is associated with a root cause and at least one remediation measure for resolving the given historical problem.
17. A computer program product according to claim 15, wherein at least a given historical problem among the one or more historical problems encountered on the one or more other computing devices among the multiple computing devices belonging to the given cluster is related to one or more target components that are the source of a log having information for diagnosing the given historical problem.
18. A method comprising: detecting a given problem encountered on a given computing device among a plurality of computing devices in an information technology infrastructure; identifying a given cluster in a set of two or more different clusters of the plurality of computing devices to which the given computing device belongs; determining a similarity between the given problem encountered on the given computing device and one or more historical problems encountered on one or more other computing devices of the plurality of computing devices that belong to the given cluster; selecting a subset of the plurality of components of the given computing device as one or more target components for log collection based at least in part on a determined similarity between the given problem encountered on the given computing device and the one or more historical problems encountered on the one or more other computing devices of the plurality of computing devices that belong to the given cluster; collecting logs from the one or more target components of the given computing device; as well as One or more remedial measures are performed on the given computing device to resolve the given problem, the one or more remedial measures being determined based at least in part on the logs collected from the one or more target components of the given computing device. The method is performed by at least one processing device, the at least one processing device comprising a processor coupled to a memory.
19. The method of claim 18, wherein at least a given historical problem among the one or more historical problems encountered on the one or more other computing devices among the plurality of computing devices belonging to the given cluster is associated with a root cause and at least one remedial measure for resolving the given historical problem.
20. A method according to claim 18, wherein at least a given historical problem among the one or more historical problems encountered on the one or more other computing devices belonging to the given cluster among the multiple computing devices is related to one or more target components that are the source of a log having information for diagnosing the given historical problem.
Citation Information
Cited By
Dynamically configured incident log collection
US20260072777A1
