Log clustering for guided root cause analysis

The system addresses poor root cause analysis by preprocessing logs and using machine learning to automate investigative steps, minimizing downtime and improving reliability in computer systems.

JP2024132904AInactive Publication Date: 2024-10-01SERVICENOW INC
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2024023396
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-17
Filing Date
2024-02-20
Publication Date
2024-10-01
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Root cause analysis in computer systems is often poorly performed, leading to prolonged downtime and reduced reliability due to defects in networks, equipment, and software applications.

Method used

A system that preprocesses logs to identify problems, determines root causes, and suggests investigative steps using machine learning models trained on clusters of past incidents, enabling automated or semi-automated problem-solving.

Benefits of technology

Minimizes problem-solving time and improves equipment reliability by guiding future investigations based on probabilistic relationships between symptom clusters and root causes, reducing downtime and enhancing system performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024132904000001_ABST
    Figure 2024132904000001_ABST
Patent Text Reader

Abstract

To enable sufficient execution of root cause analysis and defect resolution in computing systems.SOLUTION: An example embodiment may comprise: obtaining a plurality of incident logs, each incident log including a sequence of events; classifying each of the sequences of events into an event class; determining cluster spaces respectively associated with the event classes; determining, from the plurality of incident logs, relationships between at least some clusters in the cluster spaces; and possibly based on the clusters and the relationships, suggesting one or more investigatory steps to determine a root cause of a symptom found in a subsequent incident log, where the symptom describes a problem experienced by a user.SELECTED DRAWING: Figure 9A
Need to check novelty before this filing date? Find Prior Art

Description

[Background technology]

[0001] Root cause analysis and defect resolution in computer systems is an important task that is often poorly performed. As a result, defects in networks of computer equipment, individual computer equipment, and / or the software applications running on them can leave these resources non-functional or with limited functionality for a period of time until the root cause of the defect is determined. Such delays can adversely affect the performance of the equipment, networks, and applications, causing the services they provide to be slower, less reliable, or completely unavailable. Summary of the Invention

[0002] Through the use of embodiments herein, these and other technical challenges may be overcome. In particular, these embodiments may include pre-processing a corpus of logs to identify problems, an investigative step, a determination of the root cause, and ultimately a resolution of the problem. Each log may include a user-provided, agent-provided, and / or automatically-generated problem description, the investigative steps taken to determine the nature of the problem, the root cause of the problem, and text describing how the problem was resolved.

[0003] Thousands, hundreds of thousands, millions, or more logs stored in the database can be processed and used to train machine learning models. These models may include classifiers that classify the events in the logs into one or more predefined classes, as well as clustering models that group similar symptoms, investigation steps, root cause determinations, and solutions found in the classified events into cluster spaces. Probabilistic relationships between these clusters can then be found. For example, given a symptom, different investigation steps may have different likelihoods of succeeding in identifying the root cause.

[0004] This allows automated, semi-automated, or agent-based investigation of future similar problems to proceed according to the likelihood. In other words, whenever a new problem is identified, a sequence of investigation steps can be determined. By performing these steps in a given order, the time to resolve the problem can be minimized or at least reduced. The result is less downtime and improved overall reliability of computer equipment, systems, networks, and applications.

[0005] Accordingly, a first exemplary embodiment may include obtaining a plurality of incident logs, each of which includes a respective series of events; classifying each of the respective series of events into a respective event class; determining a cluster space respectively associated with each of the event classes; determining relationships between at least some of the clusters in the cluster space from the plurality of incident logs; and suggesting one or more investigation steps to determine root causes of symptoms seen in a subsequent incident log based on the clusters and relationships, where the symptoms are indicative of a problem experienced by a user.

[0006] A second example embodiment may include obtaining an incident log including an event indicating a symptom indicative of a problem experienced by a user; performing a comparison between the event and a plurality of symptom clusters in a symptom cluster space, the plurality of symptom clusters representing symptoms associated with events in the plurality of previously captured incident logs; identifying a symptom cluster from the symptom cluster space based on the comparison; selecting an investigation step cluster from an investigation step cluster space based on the symptom cluster, the investigation step cluster being associated with one or more root cause clusters from a root cause cluster space, the investigation step cluster space being derived from events in the plurality of previously captured incident logs, the root cause cluster space also being associated with events in the plurality of previously captured incident logs; and determining that an investigation step of the investigation step cluster led to the identification of a root cause of the symptom, the root cause being from one of the root cause clusters.

[0007] A third exemplary embodiment may include a non-transitory computer-readable medium having stored thereon program instructions that, when executed by a computer system, cause the computer system to perform the operations described in the first and / or second exemplary embodiments.

[0008] In a fourth exemplary embodiment, a computer system may include at least one processor as well as a memory and program instructions that may be stored in the memory and that, when executed by the at least one processor, may cause the computer system to perform the operations described in the first and / or second exemplary embodiments.

[0009] In the fifth exemplary embodiment, the system may comprise various means for performing the operations of the first and / or second exemplary embodiments, respectively.

[0010] These and other embodiments, aspects, advantages, and alternatives will become apparent to those skilled in the art upon reading the following detailed description, with reference to the accompanying drawings, as appropriate. Moreover, this summary, as well as other descriptions and figures set forth herein, are intended to illustrate embodiments by way of example only, and many variations are possible. For example, structural elements and process steps can be rearranged, combined, distributed, removed, or otherwise modified while remaining within the scope of the embodiments, as claimed. [Brief description of the drawings]

[0011] [Figure 1] FIG. 2 is a schematic diagram of a computing device according to an exemplary embodiment. [Diagram 2] FIG. 2 is a diagram of a server device cluster in accordance with an exemplary embodiment. [Diagram 3] FIG. 1 illustrates a remote network management architecture according to an exemplary embodiment. [Figure 4] FIG. 1 illustrates a communication environment including a remote network management architecture according to an exemplary embodiment. [Diagram 5] FIG. 2 illustrates another communication environment including a remote network management architecture according to an exemplary embodiment. [Figure 6A] FIG. 1 illustrates a sequence of events from an incident log according to an exemplary embodiment. [Figure 6B] FIG. 11 illustrates a sequence of events from another incident log according to an exemplary embodiment. [Figure 7A] 4 is a flow chart illustrating a training phase, according to an exemplary embodiment. [Figure 7B] 1 is a flow chart illustrating a prediction stage, according to an exemplary embodiment. [Figure 8A] FIG. 2 is a diagram illustrating a cluster space according to an exemplary embodiment. [Figure 8B] FIG. 13 is a diagram illustrating probabilistic relationships between clusters according to an exemplary embodiment. [Figure 9A]1 is a flow chart according to an exemplary embodiment. [Figure 9B] 11 is another flowchart according to an exemplary embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0012] Exemplary methods, apparatus, and systems are described herein. It should be understood that the words "example" and "exemplary" are used herein to mean "serving as an example, instance, or illustration." Any embodiment or feature described herein as "example" or "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments or features, unless so stated. Thus, other embodiments can be utilized, and other changes can be made, without departing from the scope of the subject matter presented herein.

[0013] Accordingly, the exemplary embodiments described herein are not meant to be limiting in any way. It will be readily understood that the aspects of the present disclosure as described throughout this specification and illustrated in the drawings can be arranged, substituted, combined, separated, and designed in a wide variety of different configurations. For example, the separation of functionality into "client" and "server" components can be implemented in many ways.

[0014] Moreover, unless the context indicates otherwise, the features shown in each of the drawings can be used in combination with one another, with the understanding that the drawings should generally be viewed as component aspects of one or more overall embodiments, and that not all of the illustrated features are required for each embodiment.

[0015] Additionally, any recitation of elements, blocks, or steps in the specification or claims is for purposes of clarity, and therefore such recitation should not be construed as requiring or implying adherence to a particular arrangement of those elements, blocks, or steps, or performance in a particular order.

[0016] I. Introduction Large enterprises are complex entities with many interrelated activities. Some of these can be found across the enterprise, such as human resources (HR), supply chain, information technology (IT), and finance. However, each enterprise also has its own unique activities that provide critical capabilities and / or build competitive advantage.

[0017] To support a wide range of business operations, enterprises typically use off-the-shelf software applications, such as customer relationship management (CRM) and human capital management (HCM) packages. However, custom software applications may also be required to meet the unique requirements of the enterprise. Large enterprises often have dozens or even hundreds of these custom software applications. In contrast, the advantages provided by embodiments herein are not limited to large enterprises, but may be applicable to enterprises of any size or other types of organizations.

[0018] Many such software applications are developed by individual departments within a company. These range from simple spreadsheets to bespoke software tools and databases. However, the proliferation of disconnected, custom software applications has many drawbacks. This negatively impacts a company's ability to operate and grow its business, innovate, and meet regulatory requirements. Without a single system that integrates its subsystems and data, companies may find it difficult to integrate, streamline, and enhance their operations.

[0019] To efficiently generate custom applications, enterprises would benefit from remotely hosted application platforms that eliminate unnecessary development complexity. The goal of such platforms is to reduce time-consuming, repetitive application development tasks, allowing software engineers and other individuals to focus on developing high-value, unique functionality.

[0020] To achieve this goal, the concept of aPaaS (Application Platform as a Service) is introduced to intelligently automate workflows across an enterprise. The aPaaS system is hosted remotely from the enterprise, but has access to data, applications, and services within the enterprise through a secure connection. Such an aPaaS system has many advantageous features and characteristics. These advantages and characteristics are believed to improve the operations and workflows of an enterprise with respect to IT, HR, CRM, customer service, application development, and security. In contrast, the embodiments herein are not limited to enterprise applications or environments, but are more broadly applicable.

[0021] aPaaS systems may support the development and execution of Model-View-Controller (MVC) applications. MVC applications enable efficient code reuse and parallel development by separating the representation of information from the way that information is presented to the user by dividing each functionality into three interconnected parts (model, view, and controller). These applications may be web-based and provide create, read, update, and delete (CRUD) functionality. This allows new applications to be built on a common application infrastructure. In some cases, applications may be structured differently from MVC, such as those that use unidirectional data flow.

[0022] An aPaaS system may support standardized application components, such as a standardized set of widgets for graphical user interface (GUI) development. In this way, applications built using an aPaaS system have a common look and feel. Other software components and modules may be standardized as well. In some cases, this look and feel can be branded or skinned with a company's custom logo and / or color scheme.

[0023] aPaaS systems may support the ability to configure application behavior using metadata, allowing applications to quickly adapt their behavior to meet specific needs. Such an approach reduces development time and increases flexibility. Additionally, aPaaS systems may support GUI tools that make metadata creation and management easier, reducing metadata errors.

[0024] An aPaaS system may support well-defined interfaces between applications, allowing software developers to avoid unnecessary inter-application dependencies. To this end, an aPaaS system may implement a service layer where data such as persistent state information is stored.

[0025] An aPaaS system may support a rich set of integration capabilities so that applications on the system can interact with legacy and third-party applications. For example, an aPaaS system may support a custom employee training system that integrates with legacy HR, IT, and accounting systems.

[0026] The aPaaS system may support enterprise-level security. Additionally, because the aPaaS system may be hosted remotely, it should also utilize security procedures when interacting with enterprise systems or with third-party networks and services hosted outside the enterprise. For example, the aPaaS system may be configured to detect and identify common security threats by sharing data between parties such as enterprises.

[0027] There may also be other features, functions, and advantages of an aPaaS system. This description is for illustrative purposes and is not intended to be limiting in any way.

[0028] As an example of an aPaaS development process, a software developer may be tasked with creating a new application using an aPaaS system. The developer may first specify a data model that specifies the types of data the application will use and the relationships between each. The developer then inputs (e.g., uploads) the data model via the aPaaS system's GUI. The aPaaS system automatically creates all of the corresponding database tables, fields, and relationships, which are accessible through an object-oriented services layer.

[0029] The aPaaS system can also build a fully functional application with a client-side interface and server-side CRUD logic. This generated application can serve as a basis for the user's further development. Developers do not need to spend a lot of time on the basic functionality of the application, which is convenient. Furthermore, the application can be web-based, so that it can be accessed from any internet-enabled client device. Alternatively or additionally, a local copy of the application can be accessed, for example, when internet service is not available.

[0030] Additionally, aPaaS systems may support a rich set of predefined features that can be added to applications, including search, email, templates, workflow design, reporting, analytics, social media, scripting, mobile output, and support for customized GUIs.

[0031] Such an aPaaS system may represent the GUI in a variety of ways. For example, a server machine in the aPaaS system may generate a representation of the GUI using a combination of HyperText Markup Language (HTML) and JAVASCRIPT. JAVASCRIPT may include client-side executable code, server-side executable code, or both. The server machine may send or otherwise provide this representation to the client machine so that the client machine may display it on its screen according to a locally defined look and feel. Alternatively, the representation of the GUI may be in some other form, such as an intermediate form (e.g., JAVA bytecode) that the client machine can use to directly generate graphical output. There are other possibilities.

[0032] Additionally, user interaction with GUI elements, such as buttons, menus, tabs, sliders, checkboxes, toggles, etc., may be referred to as "selecting," "activating," or "actuating," respectively. These terms may be used regardless of whether the interaction with the GUI element is through a keyboard, a pointing device, a touch screen, or another mechanism.

[0033] The aPaaS architecture is particularly effective when integrated with and used to manage an enterprise's network. The following embodiments describe the architecture and functional aspects of an exemplary aPaaS system, as well as respective features and advantages.

[0034] II. Exemplary Computing Device and Cloud-Based Computing Environment 1 is a simplified block diagram illustrating a computing device 100 showing some of the components that may be included on the computing device and configured to operate in accordance with embodiments herein. The computing device 100 may be a client device (e.g., a device that is actively operated by a user), a server device (e.g., a device that provides computing services to client devices), or some other type of computing platform. Some server devices may act as client devices at times to perform certain operations, and some client devices may incorporate server functionality.

[0035] In this example, computing device 100 includes a processor 102, memory 104, a network interface 106, and input / output units 108, all of which may be coupled by a system bus 110 or similar mechanism. In some embodiments, computing device 100 may include other components and / or peripherals (e.g., removable storage, printers, etc.).

[0036] The processor 102 may be one or more of any type of computer processing element, such as a central processing unit (CPU), a co-processor (e.g., a mathematical, graphics, or encryption co-processor), a digital signal processor (DSP), a network processor, and / or in the form of an integrated circuit or controller that performs processor operations. In some cases, the processor 102 may be one or more single-core processors. In other cases, the processor 102 may be one or more multi-core processors with multiple independent processing units. The processor 102 may also include a register memory for temporarily storing instructions and associated data to be executed, as well as a cache memory for temporarily storing recently used instructions and data.

[0037] Memory 104 may be any form of computer usable memory, including, but not limited to, random access memory (RAM), read only memory (ROM), and non-volatile memory (e.g., flash memory, hard disk drives, solid state drives, compact disks (CDs), digital video disks (DVDs), and / or tape storage). Thus, memory 104 represents both a main memory unit and long term storage. Other types of memory include biological memory.

[0038] The memory 104 may store program instructions and / or data on which the program instructions may operate. As an example, the memory 104 may store program instructions on a non-transitory computer-readable medium such that, upon execution by the processor 102, these instructions may perform any of the methods, processes, or operations disclosed herein or in the accompanying drawings.

[0039] As shown in FIG. 1, the memory 104 may include firmware 104A, kernel 104B, and / or applications 104C. The firmware 104A may be program code used to boot or start some or all of the computing device 100. The kernel 104B may be an operating system including modules for memory management, processor scheduling and management, input / output, and communication. The kernel 104B may also include device drivers that allow the operating system to communicate with the hardware modules (e.g., memory units, network interfaces, ports, and buses) of the computing device 100. The applications 104C may be one or more user space software programs, such as a web browser or email client, as well as any software libraries used by these programs. The memory 104 may also store data used by these and other programs and applications.

[0040] The network interface 106 may be in the form of one or more wired interfaces, such as Ethernet (e.g., Fast Ethernet, Gigabit Ethernet). The network interface 106 may also support communication over one or more non-Ethernet media, such as coaxial cable or power line, or wide area media, such as Synchronous Optical Networking (SONET) or Digital Subscriber Line (DSL) technologies. The network interface 106 may also be in the form of one or more wireless interfaces, such as IEEE 802.11 (Wifi), BLUETOOTH, Global Positioning System (GPS), or wide area wireless interfaces. However, other forms of physical layer interfaces and other types of standard or proprietary communication protocols may be used over the network interface 106. Furthermore, the network interface 106 may include multiple physical interfaces. For example, some embodiments of the computing device 100 may include Ethernet, BLUETOOTH, and Wifi interfaces.

[0041] The input / output unit 108 may facilitate user and peripheral interaction with the computing device 100. The input / output unit 108 may include one or more types of input devices, such as a keyboard, a mouse, a touch screen, etc. Similarly, the input / output unit 108 may include one or more types of output devices, such as a screen, a monitor, a printer, and / or one or more light emitting diodes (LEDs). Additionally or alternatively, the computing device 100 may communicate with other devices, for example, by using a Universal Serial Bus (USB) or a High Definition Multimedia Interface (HDMI) port interface.

[0042] In some embodiments, an aPaaS architecture may be supported by the deployment of one or more computing devices, such as computing device 100. The exact physical location, connectivity, and configuration of these computing devices may not be known and / or important to the client devices. Thus, the computing devices may be referred to as "cloud-based" devices that may be housed in a variety of remote data center locations.

[0043] Figure 2 illustrates a cloud-based server cluster 200 according to an example embodiment. In Figure 2, the operation of a computing device (e.g., computing device 100) may be distributed among server devices 202, data storage 204, and routers 206, all of which may be connected by a local cluster network 208. The number of server devices 202, data storage 204, and routers 206 in server cluster 200 may depend on the computing tasks and / or applications assigned to server cluster 200.

[0044] For example, server devices 202 may be configured to perform various computational tasks for computer device 100. Thus, computational tasks may be distributed to one or more server devices 202. To the extent that these computational tasks can be performed in parallel, such distribution of tasks may reduce the total time to complete these tasks and return results. For simplicity, both server cluster 200 and individual server devices 202 may be referred to as "server devices." This nomenclature should be understood as an implication that one or more different server devices, data storage devices, and cluster routers may be involved in the operation of a server device.

[0045] Data storage 204 may be a data storage array including a drive array controller configured to manage read and write access to a set of hard disk drives and / or solid state drives. The drive array controller may also be configured, alone or in conjunction with server devices 202, to manage backup or redundant copies of data stored on data storage 204 to protect against drive failure or other types of failure that would prevent one or more server devices 202 from accessing units of data storage 204. Other types of memory besides drives may also be used.

[0046] Router 206 may include network equipment configured to provide internal and external communications to server cluster 200. For example, router 206 may include one or more packet switching and / or routing equipment (including switches and / or gateways) configured to provide (i) network communications between server equipment 202 and data storage 204 via local cluster network 208, and / or (ii) network communications between server cluster 200 and other equipment via communications link 210 to network 212.

[0047] The configuration of router 206 may also be based at least in part on the data communications requirements of server equipment 202 and data storage 204, the latency and throughput of local cluster network 208, the latency, throughput, and cost of communications links 210, and / or other factors that may contribute to the cost, speed, fault tolerance, resilience, efficiency, and / or other design goals of the system architecture.

[0048] As one possible example, data storage 204 may include any form of database, such as a Structured Query Language (SQL) database. In such a database, various types of data structures may store information, including, but not limited to, tables, arrays, lists, trees, and tuples. Furthermore, any database in data storage 204 may be monolithic or distributed across multiple physical devices.

[0049] Server device 202 may be configured to transmit data to and / or receive data from data storage 204. The transmission and retrieval may be in the form of SQL queries or other types of database queries and the output of such queries. Similarly, text, images, video, and / or audio may additionally be included. Additionally, server device 202 may organize the received data as a representation of a web page or web application. Such a representation may be in the form of a markup language such as HTML, Extensible Markup Language (XML), or some other standardized or proprietary format. Additionally, server device 202 may be capable of executing various types of computerized scripting languages, including, but not limited to, Perl, Python, PHP Hypertext Preprocessor (PHP), Active Server Pages (ASP), JAVASCRIPT, and the like. Computer program code written in these languages ​​may facilitate the provision of web pages to client devices as well as client device interaction with the web pages. Alternatively or additionally, JAVA may be used to facilitate the generation of web pages and / or provide web application functionality.

[0050] III. Exemplary Remote Network Management Architecture 3 illustrates a remote network management architecture according to an example embodiment, which includes three main components: a managed network 300, a remote network management platform 320, and a public cloud network 340, all connected by the Internet 350.

[0051] A. Managed Network Managed network 300 may be, for example, an enterprise network used by an entity for computing and communication tasks as well as storage of data. To this end, managed network 300 may include client devices 302, server devices 304, routers 306, virtual machines 308, firewalls 310, and / or proxy servers 312. Client devices 302 may be embodied by computing devices 100, server devices 304 may be embodied by computing devices 100 or server clusters 200, and routers 306 may be any type of router, switch, or gateway.

[0052] The virtual machine 308 may be embodied by one or more of the computer device 100 and the server cluster 200. In general, a virtual machine is an emulation of a computer system that mimics the functionality (e.g., processor, memory, and communication resources) of a physical computer. A single physical computer system, such as the server cluster 200, can support up to thousands of individual virtual machines. In some embodiments, the virtual machines 308 may be managed by a centralized server device or application that facilitates allocation of physical computing resources to the individual virtual machines, as well as performance and error reporting. Enterprises often employ virtual machines to efficiently allocate computing resources as needed. Providers of virtualized computer systems include VMWARE® and MICROSOFT®.

[0053] Firewall 310 may be one or more dedicated routers or server devices that protect managed network 300 from unauthorized attempts to access internal devices, applications, and services while allowing legitimate communications originating from managed network 300. Firewall 310 may also provide intrusion detection, web filtering, virus scanning, application layer gateways, and other applications or services. In some embodiments not shown in FIG. 3, managed network 300 may include one or more virtual private network (VPN) gateways for communicating with a remote network management platform 320 (see below).

[0054] The managed network 300 may also include one or more proxy servers 312. An embodiment of the proxy server 312 may be a server application that facilitates communication and movement of data between the managed network 300, the remote network management platform 320, and the public cloud network 340. In particular, the proxy server 312 may be capable of establishing and maintaining secure communication sessions with one or more computing instances of the remote network management platform 320. Such sessions may enable the remote network management platform 320 to discover and manage aspects of the architecture and configuration of the managed network 300 and its components.

[0055] In some cases, the proxy servers 312 may also enable the remote network management platform 320 to discover and manage aspects of the public cloud networks 340 used by the managed network 300. Although not shown in FIGURE 3, one or more proxy servers 312 may be located in any of the public cloud networks 340 to facilitate this discovery and management.

[0056] A firewall such as firewall 310 typically denies all communication sessions coming in via Internet 350 unless such sessions ultimately originate behind the firewall (i.e., a device on managed network 300) and the firewall is explicitly configured to support the sessions. Locating proxy server 312 behind firewall 310 (e.g., by being located within managed network 300 and protected by firewall 310) may allow proxy server 312 to initiate these communication sessions through firewall 310. This may mean that firewall 310 does not need to be specially configured to support incoming sessions from remote network management platform 320, thus avoiding a potential security risk to managed network 300.

[0057] In some cases, managed network 300 may consist of just a few devices and a few networks. In other deployments, managed network 300 may span multiple physical locations and include hundreds of networks and hundreds of thousands of devices. Thus, the architecture shown in FIG. 3 can be scaled up or down by orders of magnitude.

[0058] Furthermore, the number of proxy servers 312 deployed may vary depending on the size, architecture, and connectivity of the managed network 300. For example, each proxy server 312 may be responsible for communicating with a remote network management platform 320 for a portion of the managed network 300. Alternatively or additionally, sets of two or more proxy servers may be assigned to such portions of the managed network 300 to provide load balancing, redundancy, and / or improved availability.

[0059] B. Remote Network Management Platform The remote network management platform 320 is a hosted environment that provides aPaaS services to users, particularly operators of the managed network 300. These services may be in the form of a web-based portal, for example using the web-based technologies mentioned above. This allows users to securely access the remote network management platform 320, for example from the client device 302 or potentially from a client device outside the managed network 300. The web-based portal allows users to design, test, and deploy applications, generate reports, review analytics, and perform other tasks. The remote network management platform 320 may also be referred to as a multi-application platform.

[0060] As shown in FIG. 3, the remote network management platform 320 includes four compute instances 322, 324, 326, and 328. Each of these compute instances may represent one or more nodes running a dedicated copy of the aPaaS software and / or one or more database nodes. Flexible placement of servers and databases on physical server equipment and / or virtual machines may be allowed and may change based on the needs of the enterprise. In combination, these nodes may provide a set of web portals, services, and applications available to a particular enterprise (e.g., a fully functional aPaaS system). In some cases, a single enterprise may use multiple compute instances.

[0061] For example, managed network 300 may be an enterprise customer of remote network management platform 320 and may use compute instances 322, 324, and 326. A reason for providing multiple compute instances to a customer may be that the customer desires to independently develop, test, and deploy its applications and services. Thus, compute instance 322 may be dedicated to developing applications associated with managed network 300, compute instance 324 may be dedicated to testing these applications, and compute instance 326 may be dedicated to live operation of the tested applications and services. Computing instances may also be referred to as hosted instances, remote instances, customer instances, or some other designation. Any application deployed to a computing instance may be considered a scoped application in that access to the database within the computing instance may be restricted to specific elements therein (e.g., specific database table(s) or specific rows within one or more database tables).

[0062] For simplicity, this disclosure refers to the configuration of application nodes, database nodes, the aPaaS software running thereon, and the underlying hardware as a "computing instance." Note that users may colloquially refer to the graphical user interface provided thereby as an "instance." However, unless otherwise defined herein, a "computing instance" is a computer system disposed within the remote network management platform 320.

[0063] The multi-instance architecture of the remote network management platform 320 provides several advantages as opposed to traditional multi-tenant architectures. In a multi-tenant architecture, data from different customers (e.g., enterprises) is mixed in a single database. The data of these customers is isolated from each other, but this isolation is enforced by the software that operates the single database. As a result, a security breach in the system affects all of the customers' data, creating additional risks, especially for government, healthcare, and / or financial regulated entities. Furthermore, any database operation that affects one customer may affect all customers that share the database. Thus, in the case of an outage due to a hardware or software error, the outage affects all such customers. Similarly, when a database is upgraded to meet the needs of one customer, the upgrade process makes it unavailable to all customers. Such maintenance windows are often long due to the size of the shared database.

[0064] In contrast, a multi-instance architecture provides each customer with its own database in a dedicated compute instance. This prevents intermingling of customer data and allows for independent management of each instance. For example, if one customer's instance goes down due to an error or upgrade, other compute instances are not affected. Maintenance downtime is limited because the database contains only one customer's data. In addition, the simpler design of a multi-instance architecture allows redundant copies of each customer database and instance to be deployed geographically diversely. This promotes high availability and allows the live version of a customer's instance to be moved when a failure is detected or maintenance is performed.

[0065] In some embodiments, the remote network management platform 320 may include one or more central instances controlled by the entity that operates the platform. Similar to the computing instances, the central instance may include several application and database nodes distributed on several physical server devices or virtual machines. Such a central instance may act as a repository for the computing instances as well as a particular configuration of data that may be shared by at least some of the computing instances. For example, there may be definitions of common security threats that may occur on the computing instances, software packages commonly found on the computing instances, and / or an application store for applications that may be deployed on the computing instances. The computing instances may communicate with the central instance by well-defined interfaces to obtain this data.

[0066] To efficiently support multiple computing instances, remote network management platform 320 may run multiple of these instances on a single hardware platform. For example, when running on a server cluster, such as server cluster 200, the aPaaS system may run virtual machines that allocate different amounts of computing, storage, and communication resources to the instances. However, full virtualization of server cluster 200 is not required, and other mechanisms may provide for isolation of instances. In some examples, each instance may have a dedicated account on server cluster 200 as well as one or more dedicated databases. Alternatively, a computing instance, such as computing instance 322, may span multiple physical devices.

[0067] In some cases, a single server cluster of remote network management platform 320 may support multiple independent enterprises. Additionally, as described below, remote network management platform 320 may include multiple server clusters deployed in geographically diverse data centers to facilitate load balancing, redundancy, and / or high availability.

[0068] C. Public Cloud Networks The public cloud network 340 may be remote server equipment (e.g., multiple server clusters, such as server cluster 200) available for outsourced computing, data storage, communication, and service hosting operations. These servers may be virtualized (i.e., virtual machines). Examples of the public cloud network 340 include Amazon AWS Cloud, Microsoft Azure Cloud (Azure), Google Cloud Platform (GCP), and IBM Cloud Platform. Similar to the remote network management platform 320, multiple server clusters supporting the public cloud network 340 may be deployed in diverse geographic locations for load balancing, redundancy, and / or high availability purposes.

[0069] The managed network 300 may use one or more public cloud networks 340 to deploy applications and services to its clients and customers. For example, if the managed network 300 provides an online music streaming service, the public cloud network 340 may store the music files and provide a web interface and streaming capabilities. In this way, the businesses in the managed network 300 do not need to build and maintain their own servers for these operations.

[0070] The remote network management platform 320 may include modules that expose internal virtual machines and managed services to the managed network 300 through integration with the public cloud network 340. These modules may enable users to request virtual resources, discover allocated resources, and flexibly report to the public cloud network 340. To establish this functionality, a user of the managed network 300 may first open an account with the public cloud network 340 and request a set of related resources. The user may then input the account information into the appropriate modules of the remote network management platform 320. These modules may then automatically discover the manageable resources of the account and provide reports related to usage, performance, and billing.

[0071] D. Communications Support and Other Operations Internet 350 may represent a portion of the global Internet, although Internet 350 may alternatively represent different types of networks, such as private wide-area or local-area packet-switched networks.

[0072] Figure 4 further illustrates the communication environment between managed network 300 and computing instances 322, introducing additional features and alternative embodiments. In Figure 4, all or a portion of computing instances 322 are replicated in both data centers 400A and 400B. These data centers may be geographically separate from one another, perhaps in different cities or different countries. Each data center includes managed network 300 as well as supporting facilities that facilitate communication with remote users.

[0073] In the data center 400A, network traffic to external devices flows through a VPN gateway 402A or a firewall 404A. The VPN gateway 402A may be peered with a VPN gateway 412 of the managed network 300 by a security protocol such as Internet Protocol Security (IPSEC) or Transport Layer Security (TLS). The firewall 404A may be configured to allow access from authorized users, such as the user 414 and the remote user 416, and to deny access to unauthorized users. The firewall 404A allows these users to access the computing instance 322 and possibly other computing instances. The load balancer 406A may be used to distribute traffic among one or more physical or virtual server devices hosting the computing instance 322. The load balancer 406A may simplify user access by hiding the internal configuration of the data center 400A (e.g., the computing instance 322) from client devices. For example, if a computing instance 322 includes multiple physical or virtual computing machines that share access to multiple databases, the load balancer 406A may distribute network traffic and processing tasks among those computing machines and databases so that some computing machines or databases are not significantly busier than others. In some embodiments, a computing instance 322 may include a VPN gateway 402A, a firewall 404A, and a load balancer 406A.

[0074] Data center 400B may have its own versions of the components of data center 400A, such that VPN gateway 402B, firewall 404B, and load balancer 406B may perform the same or similar operations as VPN gateway 402A, firewall 404A, and load balancer 406A, respectively. Additionally, computing instances 322 may exist simultaneously in data centers 400A and 400B, with real-time or near real-time database replication and / or other operations.

[0075] Data centers 400A and 400B as shown in Figure 4 may facilitate redundancy and high availability. In the configuration of Figure 4, data center 400A is active and data center 400B is passive. Thus, data center 400A serves all traffic for managed network 300 while the versions of computing instances 322 in data center 400B are updated in near real-time. Other configurations, such as a configuration in which both data centers are active, may be supported.

[0076] If data center 400A experiences some kind of failure or becomes unavailable to users, data center 400B can take over as the active data center. For example, a Domain Name System (DNS) server that associates the domain name of computing instance 322 with one or more Internet Protocol (IP) addresses of data center 400A may reassociate the domain name with one or more IP addresses of data center 400B. After this reassociation is complete (which may take less than a second or a few seconds), computing instance 322 is made accessible to users by data center 400B.

[0077] FIG. 4 also illustrates possible configurations of managed network 300. As described above, proxy server 312 and user 414 can access compute instance 322 through firewall 310. Proxy server 312 can also access configuration items 410. In FIG. 4, configuration items 410 can represent any or all of client device 302, server device 304, router 306, and virtual machine 308, any of these components, any applications or services running thereon, as well as relationships between the devices, components, applications, and services. Thus, the term "configuration item" may be shorthand for any physical or virtual device, any application or service capable of being remotely discovered or managed by compute instance 322, or some or all of the relationships between the discovered devices, applications, and services. Configuration items can be represented in a configuration management database (CMDB) of compute instance 322.

[0078] When stored or transmitted, a configuration item may be a list of attributes that characterize the hardware or software that it represents. These attributes may include manufacturer, vendor, location, owner, unique identifier, description, network address, operational state, serial number, last updated time, etc. The class of a configuration item may determine the subset of attributes that exist for the configuration item (e.g., software and hardware configuration items may have different attribute lists).

[0079] As mentioned above, VPN gateway 412 may provide a dedicated VPN to VPN gateway 402A. Such a VPN may be useful when there is a large amount of traffic between managed network 300 and compute instance 322, or when security policies suggest or require the use of a VPN between these sites. In some embodiments, any device of managed network 300 and / or compute instance 322 that communicates directly through the VPN may be assigned a public IP address. Other devices of managed network 300 and / or compute instance 322 may be assigned a private IP address (e.g., an IP address selected from the ranges 10.0.0.0-10.255.255.255 or 192.168.0.0-192.168.255.255, abbreviated as subnets 10.0.0.0 / 8 and 192.168.0.0 / 16, respectively). In various alternatives, devices in managed network 300, such as proxy server 312, may communicate directly with one or more data centers using a secure protocol (eg, TLS).

[0080] IV. Exemplary Detection To manage the devices, applications, and services of the managed network 300, the remote network management platform 320 may initially determine the devices present in the managed network 300, their configurations, components, and operational states, and the applications and services they provide. The remote network management platform 320 may also determine relationships between the discovered devices, their respective components, applications, and services. Representations of each device, component, application, and service may be referred to as configuration items. The process of determining the configuration items and relationships in the managed network 300 is referred to as discovery, and may be facilitated, at least in part, by the proxy server 312. Representations of the configuration items and relationships are stored in the CMDB.

[0081] This section describes discovery performed on managed network 300, although the same or similar discovery procedures may be used on public cloud network 340. Thus, in some environments, "discovery" may refer to discovery of configuration items and relationships on the managed network and / or one or more public cloud networks.

[0082] For purposes of embodiments herein, an "application" may represent one or more processes, threads, programs, client software modules, server software modules, or any other software running on a device or group of devices. A "service" may represent advanced functionality provided by one or more applications running on one or more devices acting in conjunction with each other. For example, a web service may include multiple web application server threads running on one device and accessing information from a database application running on another device.

[0083] 5 is a logical depiction of how configuration items and relationships may be discovered, as well as how information associated with them may be stored. For simplicity, the remote network management platform 320, the public cloud network 340, and the Internet 350 are not shown.

[0084] 5, the CMDB 500, task list 502, and identification and reconciliation engine (IRE) 514 are located and / or operated within a compute instance 322. The task list 502 represents a connection point between the compute instance 322 and the proxy server 312. The task list 502 may also be referred to as a queue, or more specifically, an external communication channel (ECC) queue. The task list 502 may represent not only the queue itself, but also any associated processing, such as adding, deleting, and / or manipulating information in the queue.

[0085] Once detection has occurred, the computing instance 322 may store detection tasks (jobs) in a task list 502 for the proxy server 312 to execute until the proxy server 312 requests these tasks in one or more batches. Placing a task in the task list 502 may trigger or cause the proxy server 312 to initiate the respective detection operation. For example, the proxy server 312 may poll the task list 502 periodically or ad-hoc, or may otherwise notify the proxy server 312 of the detection command in the task list 502. Alternatively or additionally, detection may be manually or automatically triggered based on a trigger event (e.g., detection may be automatically initiated once a day at a particular time).

[0086] Nevertheless, the computing instance 322 may send these detection commands to the proxy server 312 upon request. For example, the proxy server 312 may repeatedly query the task list 502 to obtain the next task therein and execute this task until the task list 502 is exhausted or another stop condition is reached. In response to receiving the detection command, the proxy server 312 may query various devices, components, applications, and / or services in the managed network 300 (represented in FIG. 5 as devices 504, 506, 508, 510, and 512 for simplicity). These devices, components, applications, and / or services may provide responses to the proxy server 312 regarding their respective configurations, operations, and / or status. In response, the proxy server 312 may then provide this detection information to the task list 502 (i.e., the task list 502 may have a send queue to hold the detection commands until requested by the proxy server 312 and a receive queue to hold the detection information until it is retrieved).

[0087] IRE 514 may be a software module that takes discovery information from task list 502 and organizes it as configuration items (e.g., representing devices, components, applications, and / or services discovered on managed network 300) and the relationships between each. IRE 514 may then provide these configuration items and relationships to CMDB 500 for storage. The operation of IRE 514 is described in more detail below.

[0088] In this manner, the configuration items stored in CMDB 500 represent the environment of managed network 300. By way of example, these configuration items may represent a set of physical and / or virtual devices (e.g., client devices, server devices, routers, or virtual machines), applications running on them (e.g., web servers, email servers, databases, or storage arrays), as well as services that include multiple individual configuration items. Relationships may be pairwise definitions of placements or dependencies between configuration items.

[0089] To allow such detection, the proxy server 312, the CMDB 500, and / or one or more credential stores may be populated with credentials for the devices to be detected. The credentials may include any type of information required to access the devices. These may include user ID / password pairs, certificates, etc. In some embodiments, these credentials may be stored in encrypted fields in the CMDB 500. The proxy server 312 may include a decryption key for these credentials so that the credentials can be used to log on to or access the devices to be detected.

[0090] There are two general types of detection: horizontal and vertical (top-down), each of which is discussed below.

[0091] A.Horizontal detection Horizontal discovery is used to scan the managed network 300, discover devices, components, and / or applications, and then populate the CMDB 500 with configuration items that represent those devices, components, and / or applications. Horizontal discovery also generates relationships between configuration items. For example, there can be a "runs on" relationship between a configuration item that represents a software application and a configuration item that represents the server device on which it runs. Horizontal discovery is typically not service aware and does not generate relationships between configuration items based on the services they run on.

[0092] There are two versions of horizontal discovery: one relies on probes and sensors, while the other also employs patterns. Probes and sensors may be scripts (e.g., written in JAVASCRIPT) that collect and process detection information on devices and then update CMDB 500 accordingly. More specifically, probes explore or probe devices on managed network 300, and sensors analyze the detection information returned by the probes.

[0093] Patterns are also scripts that collect and process data on one or more devices to update the CMDB. Patterns differ from probes and sensors in that they are written in a specific discovery programming language and are used to perform detailed discovery procedures on specific devices, components, and / or applications that more general probes and sensors often cannot reliably discover (or at all). In particular, patterns can specify a set of actions that dictate how to discover a particular deployment of devices, components, and / or applications, what credentials to use, and which CMDB tables to populate with configuration items as a result of this verification.

[0094] Both versions may follow four logical stages: scanning, classification, identification, and discovery. Both versions may also require specification of one or more ranges of IP addresses on the managed network 300 where discovery will occur. Each stage may involve communication between devices on the managed network 300 and the proxy server 312, as well as between the proxy server 312 and the task list 502. Some stages may store partial or preliminary configuration items in the CMDB 500, which may be updated at later stages.

[0095] During the scanning phase, proxy server 312 may determine the general type of device and its operating system by probing each IP address within a specified range of IP addresses for open Transmission Control Protocol (TCP) and / or User Datagram Protocol (UDP) ports. The presence of such open ports at an IP address indicates that a particular application is running on the device to which the IP address is assigned, thereby allowing the operating system used by the device to be identified. For example, if TCP port 135 is open, the device is likely running the WINDOWS operating system. Similarly, if TCP port 22 is open, the device is likely running a UNIX operating system such as LINUX. If UDP port 161 is open, the device may be otherwise identifiable through the Simple Network Management Protocol (SNMP). Other possibilities exist.

[0096] During the classification phase, the proxy server 312 may further probe each detected device to determine its operating system type. The probes used for a particular device are based on information collected about the device during the scan phase. For example, if a device is found with TCP port 22 open, a set of UNIX-specific probes may be used. Similarly, if a device is found with TCP port 135 open, a set of WINDOWS-specific probes may be used. In either case, an appropriate set of tasks may be placed in the task list 502 for the proxy server 312 to execute. These tasks enable the proxy server 312 to log on to or access information from the particular device. For example, if TCP port 22 is open, the proxy server 312 may be instructed to open a Secure Shell (SSH) connection to the particular device and retrieve information from a particular location in the file system about the particular type of operating system on the device. Based on this information, the operating system may be determined. As an example, a UNIX® device with an open TCP port 22 may be classified as AIX®, HPUX, LINUX®, MACOS®, or SOLARIS®. This classification information may be stored in the CMDB 500 as one or more configuration items.

[0097] During the identification phase, the proxy server 312 may determine specific details about the classified device. The probes used during this phase may be based on information collected about the particular device during the classification phase. For example, if the device is classified as LINUX, a set of LINUX specific probes may be used. Similarly, if the device is classified as WINDOWS 10, a set of WINDOWS 10 specific probes may be used. As with the classification phase, an appropriate set of tasks may be placed in the task list 502 for execution by the proxy server 312. These tasks enable the proxy server 312 to retrieve information from the particular device, such as basic input / output system (BIOS) information, serial numbers, network interface information, media access control addresses assigned to those network interfaces, IP addresses used by the particular device, etc. This identification information may be stored in the CMDB 500 as one or more configuration items along with any associated relationships between them. At this time, by passing the identification information through the IRE 514, it is possible to avoid the generation of duplicate configuration items for the purpose of eliminating ambiguity and / or to determine the table in the CMDB 500 into which the detected information should be written.

[0098] During the discovery phase, the proxy server 312 may determine further details regarding the operational status of the classified device. The probes used during this phase may be based on information collected about the particular device during the classification and / or identification phase. Again, an appropriate set of tasks may be placed in the task list 502 for the proxy server 312 to execute. These tasks enable the proxy server 312 to retrieve additional information from the particular device, such as processor information, memory information, a list of running processes (software applications), etc. Here again, the detection information may be stored in the CMDB 500 as one or more configuration items and relationships.

[0099] Horizontal discovery may be performed on certain devices, such as switches and routers, using SNMP. As an alternative or in addition to determining a list of running processes or other application-related information, discovery may involve the router determining additional subnets known to it and the operational state (e.g., active, inactive, queue lengths, number of dropped packets, etc.) of the router's network interfaces. The IP addresses of the additional subnets may be candidates for further discovery procedures. Thus, horizontal discovery may proceed iteratively or recursively.

[0100] Patterns are used only in the identification and search phases. In pattern-based detection, the scan and classification phases work as if probes and sensors were used. After the classification phase is complete, a pattern probe is designated as the probe to use for identification. The pattern probe and the pattern it designates are then activated.

[0101] Patterns, through their discovery programming language, support many features that are not available or difficult to achieve with discovery using probes and sensors. For example, using pattern-based discovery, it is much easier to achieve discovery of equipment, components, and / or applications in public cloud networks, as well as tracking of configuration files. Additionally, these patterns are more easily customizable by users than probes and sensors. Also, because patterns are more focused on specific equipment, components, and / or applications, they can execute faster than the more general approaches used by probes and sensors.

[0102] Once horizontal discovery is complete, a configuration item representation of each discovered device, component, and / or application is available in CMDB 500. For example, after discovery, the operating system versions, hardware configurations, and network configuration details of the client devices, server devices, and routers in managed network 300, as well as the applications running thereon, may be stored as configuration items. This collected information may be presented to a user in various ways to allow the user to ascertain the hardware configuration and operational status of the devices.

[0103] Further, the CMDB 500 may include entries regarding relationships between configuration items. More specifically, it is assumed that a server device includes many hardware components (e.g., a processor, a memory, a network interface, a storage, and a file system) on which multiple software applications are installed or executed. The relationships between the components and the server device (e.g., a "contains" relationship) and the relationships between the software applications and the server device (e.g., an "runs" relationship) may be so represented in the CMDB 500.

[0104] More generally, relationships between software configuration items installed or executed on hardware configuration items may take various forms, such as hosting, executing, or depending. Thus, a database application installed on a server device may have a "hosting" relationship with the server device to indicate that the database application is hosted on the server device. In some embodiments, a server device may have a "using" mutual relationship with a database application to indicate that the server device is used by the database application. While these relationships may be discovered automatically using the discovery procedures described above, it is also possible to configure the relationships manually.

[0105] In this manner, the remote network management platform 320 can discover and inventory the hardware and software deployed and provisioned on the managed network 300 .

[0106] B. Vertical detection Vertical discovery is a technique used to discover and map configuration items that are part of an overall service, such as a web service. For example, vertical discovery can map a web service by showing the relationships between web server applications, LINUX server devices, and databases that store data for the web service. Typically, horizontal discovery is performed first to find configuration items and the basic relationships between them, and then vertical discovery is performed to establish the relationships between the configuration items that make up the service.

[0107] Patterns can be used to discover specific types of services because they can be programmed to look for specific configurations of hardware and software that match a description of how the service is deployed. Alternatively or additionally, traffic analysis (e.g., studying network traffic between devices) can be used to facilitate vertical discovery. In some cases, service parameters can be manually configured to aid in vertical discovery.

[0108] Generally, vertical discovery attempts to find certain kinds of relationships between devices, components, and / or applications. Some of these relationships can be inferred from configuration files. For example, a configuration file for a web server application may indicate the IP addresses and port numbers of databases it relies on. A vertical discovery pattern can be programmed to look for such references and infer relationships from them. Relationships can also be inferred from traffic between devices. For example, if there is a large amount of web traffic (e.g., TCP port 80 or 8080) between a load balancer and a device hosting a web server, it is likely that the load balancer and the web server have some kind of relationship.

[0109] The relationships found by vertical discovery may take a variety of forms. As an example, an email service may include an email server software configuration item and a database application software configuration item, each installed on a different hardware device configuration item. The email service may have a "dependency" relationship with these software configuration items, while the software configuration items have a "use" interrelationship with the email service. Such services may not be fully determined by a horizontal discovery procedure, and instead vertical discovery and possibly some degree of manual configuration may be relied upon.

[0110] C. Advantages of Detection Regardless of how it is obtained, discovery information can be beneficial to the operation of a managed network. Among other things, IT personnel can quickly determine where specific software applications are deployed and the configuration items that make up the service. This allows for quick identification of the root cause of a service outage or degradation. For example, if two different services have slow response times, a CMDB query can determine (among other possible actions) that the root cause is high processor utilization in a database application used by both services. IT personnel can then address the database application without wasting time considering the health and performance of other configuration items that make up the service.

[0111] In another example, a database application is running on a server device and is used by a payroll service as well as an employee training service. Therefore, if the server device is taken down for maintenance, the employee training service and the payroll service will obviously be affected. Similarly, dependencies and relationships between configuration items could represent the services that will be affected if a particular hardware device fails.

[0112] Typically, the configuration items and / or relationships between the configuration items may be displayed and represented as a hierarchy in a web-based interface through which modification of such configuration items and / or relationships in the CMDB may be accomplished.

[0113] Additionally, users of managed network 300 can develop workflows that allow for the execution of specific coordinated actions across multiple discovered devices. For example, an IT workflow could allow a user to change a common administrator password for all discovered LINUX devices in a single operation.

[0114] V. CMDB Identification Rules and Reconciliation A CMDB such as CMDB 500 provides a repository of configuration items and relationships. If properly provisioned, it can play a key role in higher level applications deployed within or including the computing instances. These applications may relate to an enterprise's IT service management, operations management, asset management, configuration management, regulatory compliance, etc.

[0115] For example, an IT service management application may use information in the CMDB to determine which applications and services may be affected by a malfunction, outage, or a highly loaded component (e.g., server equipment). Similarly, an asset management application may use information in the CMDB to determine the hardware and / or software components used to support a particular enterprise application. As a result of the importance of the CMDB, it is desirable for the information stored therein to be accurate, consistent, and up-to-date.

[0116] Population of the CMDB can occur in a variety of ways. As mentioned above, a discovery procedure may automatically populate the CMDB with information including configuration items and relationships. However, the CMDB may also be populated in whole or in part by manual entry, configuration files, and third-party data sources. Given that multiple data sources may be able to update the CMDB at any time, one data source may overwrite an entry in another data source. Also, two data sources may each generate slightly different entries for the same configuration item, resulting in the CMDB containing duplicate data. If any of these occur, the health and usefulness of the CMDB may be reduced.

[0117] To mitigate this situation, these data sources may not write configuration items directly to the CMDB, but instead may write to an Identification and Reconciliation Application Programming Interface (API) of the IRE 514. The IRE 514 may then use a set of configurable identification rules to uniquely identify the configuration item and determine if and how to write it to the CMDB.

[0118] In general, an identification rule specifies a set of configuration item attributes that can be used for this unique identification. Identification rules may also have a priority, with higher priority rules being considered before lower priority rules. Rules may also be considered independent in that they identify configuration items independent of other configuration items, or dependent in that they first use metadata rules to identify dependent configuration items.

[0119] Metadata rules describe other configuration items contained in a particular configuration item or the hosts to which a particular configuration item is deployed. For example, a network directory service configuration item may contain a domain controller configuration item, while a web server application configuration item may be hosted on a server appliance configuration item.

[0120] The goal of each identification rule is to use a combination of attributes that can clearly distinguish a configuration item from all other configuration items and that are not expected to change during the lifetime of the configuration item. Possible attributes for an example server device include serial number, location, operating system, operating system version, memory capacity, etc. If a rule specifies attributes that do not uniquely identify a configuration item, multiple components may be represented in the CMDB as the same configuration item. Also, if a rule specifies attributes that change for a particular configuration item, duplicate configuration items may be created.

[0121] Thus, when a data source provides information about a configuration item to IRE 514, IRE 514 may attempt to match this information against one or more rules. If a match is found, the configuration item is written to the CMDB or updated if already in the CMDB. If no match is found, the configuration item may be retained for separate analysis.

[0122] A configuration item reconciliation procedure may be used to ensure that only authoritative data sources are allowed to overwrite configuration item data in the CMDB. Again, this reconciliation may be rule-based. For example, reconciliation rules may specify that a particular data source is authoritative for a particular configuration item type and set of attributes. The IRE 514 may then only allow the authoritative data sources to write to a particular configuration item, preventing unauthorized data sources from writing to it. In this way, the legitimate data source is the single source of truth for a particular configuration item. In some cases, an unauthorized data source may be allowed to write to a configuration item if it is generating the configuration item or if the attributes it is writing to are empty.

[0123] Also, multiple data sources may be authoritative for the same configuration item or its attributes. For clarity, these data sources may be assigned priorities that are taken into account when writing to the configuration item. For example, a second most authoritative data source may be able to write to a configuration item attribute until the first most authoritative data source writes to this attribute. After that, the second most authoritative data source may be prevented from further writing to the attribute.

[0124] In some cases, duplicate configuration items may be automatically detected by the IRE 514 or otherwise detected, and these configuration items may be cleared or flagged for manual de-duplication.

[0125] VI. Reporting and Resolution of Incidents Given the large-scale networks described herein, at any given time, improper operation of some components (e.g., computer equipment, systems, applications, services, and / or networks) is inevitable. These imperfections may result from improper configurations, incompatibilities, software bugs, hardware failures, or mismatches between resource supply and demand (e.g., insufficient RAM or disk storage on equipment). These imperfections cause delays, unreliability, and / or outages of services on which users depend. Specifically, these are technical challenges in that one or more hardware or software components do not operate as designed, adversely affecting the system as well as users.

[0126] Defects such as these may be referred to as "problems" and may be reported, investigated, and resolved through incident logs (also referred to as "incidents," "IT trouble tickets," or "tickets"). Incident logs are documents or records used to report and track problems associated with computer systems, software, and network infrastructure. These incident logs are typically generated by a user experiencing technical difficulties and then assigned to a virtual agent (e.g., chatbot) and / or a human agent for resolution. An incident log will typically contain information such as the user's contact information (e.g., email address and phone number), a user-written description of the problem, the date and time the incident was generated, and any relevant system details (e.g., the user's client machine and / or local network). As an agent attempts to resolve the problem, additional information such as investigative steps taken, the status of the problem, etc. may be added to the incident log.

[0127] Although embodiments herein are described in the context of incident logs, they may be used with other types of logs as well, and thus the examples provided below are for illustrative purposes and not limiting in any way.

[0128] An incident log is typically in the form of one or more associated text files or database entries that contain a time-stamped record of each action taken by the user and agent, as well as any interactions between the user and agent. This text content may include the user's description of the problem, the conversation between the user and agent, the agent's investigative notes (which may include output from the agent's diagnostic steps), a description of the root cause of the problem (if applicable), and a description of the resolution steps taken to address (respond to) the problem.

[0129] When a problem is reported, its root cause may not be clear. The initial description of the problem that appears in the incident log may be vague. For example, a user may generate an incident log that contains the problem description "unable to connect to network." An agent investigating this problem then attempts to determine the type of client device the user is using (e.g., laptop, mobile phone, or tablet), the operating system used on this device, and the network the user is trying to access.

[0130] To this end, the agent may ask the user (e.g., via phone, email, and / or chat session) a series of questions so that the user's operating environment is identified. The agent may then ask the user to perform one or more steps on the device, such as resetting the interface, changing configuration settings, or rebooting. The agent may also take a number of steps, such as remotely accessing routers or Wifi access points near the user to check the status of these devices and the network of which they are a part. Some of the user or agent's actions may also involve running diagnostic tools (e.g., apps or scripts) that may provide further insight into the problem.

[0131] Finally, the agent may identify the root cause of the problem. For example, assume that a user is unable to use their local Wifi access point. Possible root causes include wireless interference from other devices, distance to the access point, incorrect Wifi settings on the user's client device, outdated firmware installed on the access point, hardware failure of the access point, overloading of the Wifi network or downstream network, etc. To determine which of these is the actual root cause, the agent may potentially require many investigative steps.

[0132] As mentioned above, the results of each investigation step, whether or not successful in determining a root cause, may be recorded in the incident log, as may the output from any diagnostic tools.

[0133] Once the root cause is identified, the solution is usually clear. For example, if the root cause is that the user is trying to connect to a Wifi access point that is too far away (and therefore has low signal strength at the user's location), the solution might be for the user to move closer to the access point or connect to a closer access point. If the root cause is that the access point is out of memory (perhaps due to a memory leak defect in the firmware), the solution might be for the agent to reboot the access point. In either case, the actions taken by any party to resolve the issue might also be recorded in the incident log.

[0134] An incident log may be closed when the user is satisfied with the solution or is no longer impeded by the problem. However, the closed incident log is retained in the database for audit purposes and to aid in the resolution of similar problems in the future. Thus, even in a moderately sized organization, the database may grow over time to contain tens of thousands of incident logs or more.

[0135] Although the general context of the embodiments herein is that of an enterprise network potentially containing many users, the techniques described are also applicable to smaller environments with fewer users. For example, problems experienced by users in a home, home office, or small office may be similarly addressed. Thus, the applicability of the embodiments is not limited to the embodiments described herein.

[0136] 6A shows an example excerpt from an incident log that contains a sequence of events. The sequence focuses on a problem reported by a user, the investigative steps taken by an agent, the determination of the root cause, and the subsequent resolution of the problem. Each event has a timestamp, a party involved (the person or agent who initiated the event), and text describing the event.

[0137] In event 600, user John Doe opens an incident log (ticket 0000001). The event includes the user's contact information and a brief description of the problem they are experiencing. In this case, the symptom of the problem being reported is that the user is unable to connect to the network.

[0138] At event 602, the incident log is assigned to agent Jane Smith.

[0139] Event 604 includes a probing step in which the agent speaks with the user to determine the brand and model of the user's laptop, as well as its operating system.

[0140] Event 606 includes an investigation step in which the agent determines that the user's laptop is connected to a Wifi access point with good signal strength.

[0141] Event 608 involves an investigation step in which the agent determines that the user cannot access any websites, regardless of the web browser used.

[0142] Event 610 includes an investigation step in which the agent performs a "ping" transaction on the user's laptop with no response. Ping is an application that sends packets from one computer to another and receives a corresponding response along with an estimate of the latency between the computers.

[0143] Event 612 includes an investigation step in which the agent performs a "ping" transaction to the Wifi access point and determines that packet loss exists between the agent's computer and the Wifi access point because ping times are irregular and long.

[0144] Event 614 identifies the root cause. The agent determines that the root cause is that the Wifi access point has very high memory utilization (98%) and has not been rebooted for approximately 6 months.

[0145] In event 616, the agent resolves the problem by rebooting the Wifi access point, and the user is able to access the network and determines that the Wifi access point is working properly.

[0146] At event 618, the agent marks the incident log as resolved.

[0147] In particular, event 600 represents a symptom of a problem a user is experiencing. Events 604, 606, 608, 610, and 612 represent investigation steps. Event 614 represents the root cause of the problem, and event 616 represents a solution to the problem. This sequence of events is typical in that there are multiple investigation steps before the root cause is determined. Events 602 and 618 are incident log management steps that are not strictly related to the problem, investigation, root cause, or solution.

[0148] FIG. 6B shows another exemplary excerpt from an incident log.

[0149] In event 650, user Teri Dactyl opens an incident log (ticket 0000004). The event includes the user's contact information and a brief description of the problem they are experiencing. In this case, the symptom of the problem being reported is that the user cannot access Wifi.

[0150] At event 652, the incident log is assigned to agent Bob Jones.

[0151] At event 654, the incident log is updated to add additional details about the symptoms of the problem.

[0152] Event 656 includes an investigation step in which the agent provides the user with an updated password, but discovers that the new password also does not work.

[0153] Event 658 includes a check step to grant permission to use Wifi after the agent determines that the authentication server did not authorize the user to use this.

[0154] Event 660 identifies the root cause and resolves the issue: the agent determined that the user's credentials on the authentication server were out of date and updated them to allow access, allowing the user to use Wifi. This event also marks the incident log as resolved.

[0155] At event 662 the incident log is closed.

[0156] In particular, events 650 and 654 represent symptoms of the problem the user is experiencing. Events 656 and 658 represent investigation steps. Event 660 represents the root cause of the problem as well as a solution to the problem. Events 652 and 662 are incident log management steps that are not strictly related to the problem, investigation, root cause, or solution. Unlike the series of events in Figure 6A, this series has two separate events that represent symptoms and one event that represents both the root cause and solution.

[0157] These two examples alone illustrate the various ways in which symptoms, investigation steps, root cause determinations, and solutions may be implemented and displayed in the Incident Log, although other configurations of this content are possible in the Incident Log, and thus the examples of Figures 6A and 6B are intended to be illustrative and not limiting in any way.

[0158] There is a wealth of information in incident logs, and as mentioned above, many organizations generate large numbers of such logs (e.g., tens, hundreds, or thousands) on a weekly, monthly, quarterly, etc. In combination, incident logs can contain organizational memory (a record of problems the organization experienced and how they were resolved), which can be beneficial when attempting to solve similar problems in the future.

[0159] Thus, an organization can benefit from mining its incident logs to determine the investigative steps most likely to resolve a given problem quickly and efficiently. Agents can then use or be guided by this insight as they attempt to determine root cause and resolve new problems. One potentially important observation is that not all investigative steps are equally likely to lead to a root cause determination.

[0160] For example, in the incident log of Figure 6A, obtaining the brand, model, and operating system of the user's laptop in event 604 does not contribute to determining the root cause, whereas pinging the Wifi access point in event 612 and determining memory utilization by remotely accessing the access point in event 614 lead directly to identifying the root cause and solution of the problem.

[0161] Embodiments herein provide techniques for processing incident logs using various types of machine learning-based natural language processing tools. These techniques result in summaries and characterizations of past incident logs that can be used to guide agents on how to proceed while dealing with similar incidents encountered in the future. First, a corpus of existing incident logs is used to train an incident log model. This model is then used to predict the investigation steps most likely to lead to determining the root cause of a subsequent incident.

[0162] 7A shows the training phase. Each of these blocks is defined in more detail below.

[0163] At block 700, the incident log is pre-processed in preparation for use in training the model. At block 702, events from the incident log are summarized to obtain shorter, yet relevant, textual representations. At block 704, the summarized events are classified into symptoms, investigation steps, root causes, and solutions. At block 706, a cluster space is determined for each class of events. At block 708, probabilistic relationships between clusters of events are determined. These probabilistic relationships provide the likelihood that any particular investigation step will lead to a determination of the root cause of a given problem.

[0164] Figure 7B shows the prediction stage. Each of these blocks is defined in more detail below.

[0165] At block 750, the new incident log is pre-processed, summarized, and / or classified to prepare it for use with the model. At block 752, from the symptom cluster space, one or more symptoms similar to the new incident log are determined. At block 754, from the investigation step cluster space, an investigation step is selected that is most likely to lead to a determination of a root cause. Since block 754 may be performed for more than one investigation step, only unselected investigation steps are considered. At block 756, it is determined whether a root cause has been determined based on the selected investigation step. If not, control returns to block 754. If so, control passes to block 758. At block 758, a solution may be applied to the determined root cause.

[0166] These embodiments provide technical solutions to technical problems. One of the technical problems to be solved is how to quickly resolve problems with computer equipment, systems, and / or networks. Indeed, quickly resolving such problems is important because outages can adversely affect the performance of such equipment, systems, and networks, causing them to fall short of specifications or expectations. As a result, the services provided, if they are operational at all, may be unreliable or slow.

[0167] In the prior art, individual agents determine the sequence of investigation steps based on pre-built scripts or their own experience and knowledge. However, these scripted, ad-hoc techniques do not always lead to a solution, much less in a reasonable period of time. Furthermore, the prior art relies on the subjective judgments and experiences of individual agents, resulting in widely varying results from case to case. Thus, the prior art does little to address the rapid resolution of equipment, system, or network performance degradation.

[0168] The embodiments herein overcome these limitations by increasing the speed of resolution of new problems using incident logs available to the organization. In this way, problem resolution may be achieved more quickly, accurately, and robustly. This results in several advantages. First, there is no need to develop dozens of scripts for agents when different types of symptoms appear. Second, these techniques do not rely on the individual proclivities and preconceptions of agents, but instead employ an objective process for root cause determination. Third, as a result of these embodiments, downtime due to degradation and outages of computer equipment, systems, and networks may be reduced, and the services offered may be accessible with much greater reliability. Other technical improvements may also be derived from these embodiments, and other technical problems may be solved.

[0169] A. Training Phase In this section, the blocks associated with the training phase are disclosed in detail, however, more or fewer blocks may be used, with the same or different characters, for example, in some embodiments the pre-processing and summarization blocks may be omitted.

[0170] 1. Pre-processing of incident logs Prior to starting the training itself, the corpus of incident logs may be pre-processed. This may include, for example, any type of normalization or outlier removal. In some cases, it may also include removing boilerplate or form text from the incident logs. An example of boilerplate or form text may be content that is automatically added to some or all incident log events, such as "This incident has been queued for review by an agent." If an agent has questions while investigating an incident, they will ask. Since such text is common across incidents and does not help in determining the root cause, it can be safely removed to focus the model on the remaining content that is likely to lead to a root cause prediction. Other types of pre-processing include removal of punctuation and / or stop words, stemming, lemmatization, etc. In some cases, the pre-processing step may also replace the names of the user and agent with generic names such as "user" and "agent," respectively.

[0171] For example, a preprocessed version of event 616 might be, "I restarted NetworkSouth. The user is using NetworkSouth to access the Internet. I am able to ping his IP address and NetworkSouth IP addresses with low latency, and I have observed that NetworkSouth memory utilization is around 50%."

[0172] 2. Summary of the event After any processing, each event in the corpus (preprocessed or not) may be transformed or summarized. This block may be performed using various techniques such as extractive or abstractive summarization. Extractive summarization involves selecting the most relevant sentences or phrases from the events and assembling them to make them shorter. Abstractive summarization involves making events shorter by generating new sentences that capture the main semantic meaning of the events.

[0173] For example, the summary of preprocessed event 616 might be "Restarted NetworkSouth and confirmed Internet access. Pings to IP addresses and NetworkSouth IP addresses have low latency. Memory utilization for NetworkSouth is around 50%."

[0174] 3. Event Classification After summarization, each event is classified into one or more classes. These classes may be symptoms of a problem, investigation steps, determination of the root cause, or resolution of the problem. In many cases, each event will be placed into exactly one of these classes. However, some events may contain content that is relevant to more than one class and therefore may be classified into more than one class.

[0175] This classification may be performed using various types of pre-trained classifiers. For example, a Naive Bayes, Support Vector Machine, Decision Tree, Random Forest, or Neural Network classifier may be trained on the set of events with the labeled ground truth classifications. Here, after manually labeling many events, such a classification model may be trained to predict the class of new events based on their textual content. For example, the summary of event 616 may be classified into the investigation step class based on the classifier being trained on similar types of events that represent investigation steps.

[0176] In some cases, additional heuristics may be used to enhance or enforce the classification, such as initially assuming that all events containing text from the user are associated with a symptom of a problem, and / or using the terms "root cause" and "solution" to place events into their respective classes. Some classifiers may also have a fifth class that is a default or catch-all class in which events that cannot be classified into one of the above four classes are placed. This class may be where events associated with management steps, such as events 602 and 618, are placed.

[0177] 4.Determining the cluster space Events within each event class may then be clustered. In other words, there may be a set of clusters (e.g., symptoms, investigation steps, root causes, and solutions) for a class of events. This clustering may be performed independently or semi-independently for each class. The clustering process for each class may include feature selection followed by the actual clustering. In the embodiment shown herein, the clustering is unsupervised, although some form of supervision is contemplated.

[0178] Feature selection involves determining measurable qualities in the text of each class that are used as criteria for clustering. These qualities may relate to word choice, word frequency, word length, word meaning, sentence sentiment, or some other features. Finally, each of these features may be mapped to one or more dimensions. Thus, for each event in a class, the combination of features forms a (usually numerical) multidimensional vector.

[0179] In practice, clustering can use a variety of techniques, such as k-means (partitioning events into a predefined number of clusters based on their vectors, with each event assigned to the cluster with the closest mean value), hierarchical modeling (building a tree-like structure of clusters, where events are grouped together based on the similarity of their vectors), topic modeling (e.g., identifying underlying topics or themes of events based on the distribution of words and grouping events into clusters accordingly), and / or spectral modeling (projecting the text of events into a higher-dimensional space and then identifying clusters based on the similarity between events in that space).

[0180] To further explain clustering, word vector modeling is an example of spectral modeling, where a neural network is trained to assign each word in an event to a vector representation based on context words that often co-occur with it. Once a vector is established for each word, the meaning of the event's context as a whole can be represented by the use of vector operations (e.g., some form of averaging) on ​​the words in the event. Other techniques may be used to implement this aspect, such as paragraph vectors, Bidirectional Encoder Representations from Transformers (BERT), or various types of large-scale language models.

[0181] FIG. 8A illustrates an example of a clustering process. For illustrative purposes, each event is mapped into a two-dimensional cluster space 800. In various embodiments, a larger cluster space (e.g., n-space) may be used. As illustrated in FIG. 8, the cluster space 800 is for the symptom class. Separate cluster spaces (not shown) may be used for other classes (e.g., investigation steps, root causes, and / or solutions).

[0182] The vectors of events 1, 2, and 3 are given. In particular, the feature selection process has determined that the vector for event 1 is (-0.7461, 0.8854), the vector for event 2 is (-0.4653, 0.7222), and the vector for event 3 is (-0.3815, 0.6837). Each of these events is represented by an X in cluster space 800. Similarly, other events whose vectors are not explicitly shown in FIG. 8 are also represented by an X in cluster space 800.

[0183] Once all events in a class are projected into vectors and these vectors are mapped into a cluster space, groups of nearby events can be associated into clusters by using clustering techniques. The goal of this n-dimensional clustering is to group events together based on their mutual proximity in the cluster space. Such techniques work by first initializing a set of centroids (points that represent the centers of clusters). The technique may then iteratively assign each data point to the closest centroid and update the centroid to be the average of all assigned data points. This process continues until the centroids converge and the clusters stabilize. Finally, each centroid may be, for example, the point that minimizes the sum of the squared distance between all points in the cluster and the centroid itself. In some cases, this clustering technique may result in one or more residual points that do not belong to any cluster. Residual points may occur when the data set is noisy.

[0184] 8A shows three clusters and one remaining point. Cluster 802 contains events 2 and 3, while clusters 804 and 806 contain other events. Event 1 is a remaining point that is not a member of any cluster. Since clustering occurs based on the semantic content of the events, all events in each cluster (e.g., of the same or similar topic) are likely to be semantically similar to each other. Events in different clusters are likely to be semantically dissimilar to each other (or semantically different) and therefore of different topics.

[0185] In some cases, the clusters may be given human readable and / or human understandable names or labels. Such labels may be single words or short strings of words that semantically describe or summarize the type of event assigned to the cluster. In some embodiments, this may involve identifying the most frequent or semantically representative features in the cluster (e.g., by techniques such as feature importance or frequency analysis to extract the most common keywords or phrases, topic modeling, sentiment modeling, etc.). For example, a cluster of all symptoms related to a user's inability to access a Wifi network may be labeled with the text "Wifi Not Working."

[0186] 5. Determining probabilistic relationships between clusters After the cluster space and the clusters within are established, probabilistic relationships between the clusters may be determined. This may include identifying, for each cluster of events, which subsequent clusters of events are most likely to follow. For example, given a symptom cluster, there may be a relatively limited set of investigation step clusters in the training data that resulted in a root cause cluster. In other words, given a particular symptom, there are one or more types of investigation steps that are most likely to lead to the identification of a root cause.

[0187] 8B illustrates such a mapping for a small number of clusters (one set each for symptoms, investigation steps, root causes, and solutions). Each symptom cluster 850 is for a different type of symptom as determined in block 706. Each investigation step cluster 852 is for a different type of investigation step as determined in block 706. Each root cause cluster 854 is for a different type of root cause as determined in block 706. Each solution cluster 856 is for a different type of solution as determined in block 706.

[0188] Given these clusters, an analysis of the events within each can determine the probabilities of the paths in FIG. 8B. As shown, symptom cluster A (containing events associated with a particular type of symptom) can only be followed by investigation steps of the type found in investigation step clusters B and C. Similarly, investigation step clusters B and C can only be followed by root causes of the type found in root cause clusters D, E, F, and G. As noted above, once a root cause is identified, the solution is usually clear. Thus, root cause clusters D, E, F, and G each lead to a relatively small number of possible solutions. It is therefore generally accepted that if a root cause can be identified using the procedures herein, in most cases a suitable solution will also be identified.

[0189] Consider the relationship between investigation step clusters B and C and root cause clusters D, E, F, and G in terms of probability. Each of investigation step clusters B and C has a certain likelihood (probability) of identifying the root cause of the associated symptom. For example, the investigation steps of investigation step cluster B have a 30% probability of leading to a root cause in root cause cluster D and a 60% probability of leading to a root cause in root cause cluster F. The remaining 10% probability is that the investigation steps of investigation step cluster B do not lead to a root cause. Similarly, the investigation steps of investigation step cluster C have a 10% probability of leading to a root cause in root cause cluster E, a 20% probability of leading to a root cause in root cause cluster F, and a 10% probability of leading to a root cause in root cause cluster G. The remaining 60% probability is that the investigation steps of investigation step cluster C do not lead to a root cause.

[0190] Given this information alone, it is clear that the investigation steps in investigation step cluster B are more likely to lead to the root cause than the investigation steps in investigation step cluster C. Alternatively, these probabilities may be conditioned on the symptom clusters; that is, given symptoms in symptom cluster A, the investigation steps in investigation step cluster B have a 90% chance of leading to the root cause, while the investigation steps in investigation step cluster C have a 40% chance of leading to the root cause. These probabilities may be different if the symptoms come from different clusters (not shown in FIG. 8B).

[0191] These probabilities may be represented in the form of a directed acyclic graph between the various clusters, with edges representing the probabilities of going from one cluster to another, although other graph representations are possible.

[0192] In any case, Figure 8B is merely an example for illustrative purposes. In embodiments herein, there may be dozens, hundreds, or more clusters of various types interconnected in various complex ways. How these probabilistic relationships are used to recommend investigation steps is described below.

[0193] B. Prediction stage In this section, we disclose in detail the blocks associated with the predictions in Figure 7B, while more or fewer blocks may be used, with the same or different characters. We also assume that events have been identified from a corpus of incident logs, and that these events are used to generate probabilistic relationships between clusters of events, as shown in Figure 8B.

[0194] The block of Figure 7B is typically performed on data from a new incident log before the symptoms have been resolved. In particular, given a symptom, the block of Figure 7B provides a technique for recommending the specific investigative steps most likely to lead to identification of the root cause. This recommendation may be provided to a human or a virtual agent.

[0195] 1. Pre-processing, summarizing, and categorizing new incident logs As discussed above, preprocessing may apply any type of normalization or outlier removal to the new incident logs, including, but not limited to, punctuation and / or stop word removal, stemming, lemmatization, word or phrase replacement, word or phrase elimination, etc. The preprocessing performed as part of block 750 may be the same as or similar to block 700.

[0196] Also, as described above, summarization may apply, for example, extractive or abstract summarization to the pre-processed incident log. The summarization performed as part of block 750 may be the same as or similar to block 702.

[0197] As also described above, classification may involve applying a trained classifier to the new pre-processed and summarized incident log. The trained classifier may be a Naive Bayes, Support Vector Machine, Decision Tree, Random Forest, or Neural Network classifier. The classification performed as part of block 750 may be the same or similar to block 704. Since the purpose of block 750 is to identify one or more symptoms from the incident log, only events classified as symptoms may be subject to the following steps.

[0198] 2. Identifying similar symptoms Determining similar symptoms may involve taking one or more events classified as a symptom and applying feature selection as described above. As described above, feature selection may involve projecting the symptom text into a multi-dimensional vector. This vector may then be compared against the characteristics of the symptom clusters established during the training phase. For example, the Euclidean distance (the straight-line distance between two points in n-space) or cosine similarity (the cosine of the angle between two vectors in n-space) between this vector and the centroid of each symptom cluster may be calculated. A symptom from a new incident log may then be likely to be a member of the closest symptom cluster (in terms of Euclidean distance) or the most similar symptom cluster (in terms of cosine similarity). Or it may be something else. For example, in some cases, two or more closest symptom clusters may be identified.

[0199] 3. Selecting the research step cluster After the symptom and similar symptom clusters are identified, an investigation step cluster is selected based on the likelihood that this investigation step cluster leads to a root cause. Since for this symptom, multiple investigation step clusters may lead to a single root cause, this selection may be iterative in nature, as shown in blocks 754 and 756.

[0200] Consider Figure 8B as an illustrative example, a new incident log is determined to contain symptoms similar to those in symptom cluster A. In this case, there are two possible investigation step clusters to recommend: investigation step cluster B and investigation step cluster C. As discussed above, one or both of these clusters may be recommended to a human or virtual agent based on a probabilistic relationship to one or more of the root cause clusters 854.

[0201] Various techniques may be used to determine the order in which these investigation step clusters are proposed. For example, the investigation step cluster with the highest probability of leading to a root cause (i.e., investigation step cluster B) may be proposed first. This cluster may include a label or associated text representing one or more investigation steps that the agent will perform. If, at block 756, these steps identify a root cause of the symptom, control passes to block 758. Otherwise, control passes back to block 754 where the investigation step cluster with the next highest probability of leading to a root cause (i.e., investigation step cluster C) may be proposed. This process continues until a root cause is identified or there are no more investigation step clusters to try. Another suggestion criterion may be the investigation step cluster with the highest probability of reducing the number of candidate root cause clusters.

[0202] In other words, the system (e.g., a remote network management platform) suggests a series of investigation steps to the agent based on the trained model. The agent executes each suggested investigation step until either the root cause is identified or the system exhausts its suggestions. In the latter case, the agent acts on the incident log based on its subjective experience.

[0203] For example, if the symptom is "No Wifi working," the first suggested investigation step might be to identify the Wifi access point the user is trying to connect to, the second suggested investigation step might be to verify that the user is using the correct Wifi password, etc. In some cases, dozens or more investigation steps may be available for suggestions.

[0204] 4. Applying the solution Once the root cause has been identified, a solution will usually be obvious, or the number of possible solutions may at least be reduced (e.g., to at most two or three). If the agent is virtual, it may automatically execute the solution (e.g., reset the password, provide the user with the necessary information, reboot the device, etc.) when feasible. If the agent is human, it may execute the solution itself.

[0205] VII. Exemplary Operations Figures 9A and 9B are flow charts illustrating an exemplary embodiment. The processes illustrated by Figures 9A and 9B may be performed by a computing device, such as computing device 100, and / or a cluster of computing devices, such as server cluster 200. However, the processes may also be performed by other types of devices or device subsystems. For example, the processes may be performed by a computing instance of a remote network management platform or a portable computer, such as a laptop or tablet device.

[0206] The embodiments of Figures 9A and 9B may be simplified by removing any one or more of the features shown therein. Furthermore, these embodiments may be combined with each other and / or with features, aspects, and / or implementations of any of the figures above or described herein.

[0207] In FIG. 9A, at block 900, a plurality of incident logs may be obtained, each of the plurality of incident logs including a respective series of events. At block 902, each of the respective series of events may be classified into a respective event class. At block 904, a cluster space associated with each of the respective event classes may be determined. At block 906, a relationship between at least some of the clusters in the cluster space may be determined from the plurality of incident logs. At block 908, one or more investigation steps may be suggested based on the clusters and the relationships to determine a root cause of a symptom seen in a subsequent incident log, the symptom being indicative of a problem experienced by a user.

[0208] In some embodiments, each event class includes a symptom, an investigation step, and a root cause, where the symptom represents a problem experienced by a user, the investigation step represents the action taken to determine the root cause of the corresponding symptom, and the root cause is the primary reason for the observation of the corresponding symptom.

[0209] In some embodiments, each event class also includes a solution, which represents the action taken to correct the corresponding root cause.

[0210] In some embodiments, at least a portion of the incident log includes textual content, and the embodiments further include performing one or more of stop word removal, form text removal, stemming, or lemmatization on the incident log prior to classifying each respective series of events.

[0211] In some embodiments, at least a portion of the incident log includes textual content, and the embodiments further include performing abstractive or abstractive summarization on the incident log prior to classifying each respective series of events.

[0212] In some embodiments, classifying each of the series of events into a respective event class includes using a classifier pre-trained on a corpus of labeled events from the incident log, where the labels of the labeled events indicate each event class, and where the classifier has learned associations between content of the incident log and each event class.

[0213] In some embodiments, determining a cluster space respectively associated with each event class includes, for each event class, projecting the classified events onto a multidimensional representation and forming clusters in the cluster space based on distances or angles between the multidimensional representations.

[0214] In some embodiments, determining a relationship between at least some of the clusters in the cluster space includes determining a probabilistic likelihood of an event progressing from a first cluster of two of the clusters to a second cluster of the two of the clusters based on each series of events.

[0215] In some embodiments, determining the probabilistic likelihoods includes constructing a directed acyclic graph of the clusters, where the edges of the directed acyclic graph represent the probabilistic likelihoods.

[0216] Some embodiments further include labeling each of the clusters based on the semantic content of the events being classified.

[0217] Some embodiments further include, after determining the root cause of the symptoms seen in the subsequent incident log, causing the computing device to change its configuration, change one or more applications it is running, or reboot.

[0218] In FIG. 9B, at block 950, an incident log may be obtained that includes an event that indicates a symptom that is indicative of a problem experienced by a user. At block 952, a comparison may be performed between the event and a plurality of symptom clusters in a symptom cluster space, the plurality of symptom clusters representing symptoms associated with events in the plurality of previously captured incident logs. At block 954, a symptom cluster may be identified from the symptom cluster space based on the comparison. At block 956, an investigation step cluster may be selected from an investigation step cluster space based on the symptom cluster, the investigation step cluster being associated with one or more root cause clusters from a root cause cluster space, the investigation step cluster space being derived from events in the plurality of previously captured incident logs, the root cause cluster space also being associated with events in the plurality of previously captured incident logs. At block 958, it may be determined that an investigation step from the investigation step cluster led to the identification of a root cause of the symptom, the root cause being from one of the root cause clusters.

[0219] In some embodiments, performing a comparison between the event and the plurality of symptom clusters includes determining a similarity metric between the event and each of the plurality of symptom clusters.

[0220] In some embodiments, identifying a symptom cluster from the symptom cluster space includes selecting a symptom cluster that is most similar to the event in terms of a similarity metric.

[0221] Some embodiments may further include, prior to performing a comparison between the events and the plurality of symptom clusters, classifying the events into symptom event classes using a classifier pre-trained on a corpus of labeled events from the incident log, where labels of the labeled events indicate each event class, and where the classifier has learned associations between content of the labeled events in the incident log and each event class.

[0222] In some embodiments, the investigation step clusters are selected because they have the highest probability, within the investigation step cluster space, of leading to one of the root cause clusters.

[0223] In some embodiments, the investigation step clusters are selected because they have the highest probability of reducing the number of candidate root cause clusters within the investigation step cluster space.

[0224] Some embodiments may further include selecting a solution cluster from the solution cluster space based on the root cause, where the solution cluster includes solutions that represent actions taken to remediate the root cause.

[0225] In some embodiments, the solution involves causing the computing device to change its configuration, change one or more applications it is running, or reboot.

[0226] VIII. Conclusion The present disclosure is not limited in terms of the specific embodiments described herein, which are intended to illustrate various aspects. As will be apparent to those skilled in the art, many modifications and variations are possible without departing from the scope thereof. From the foregoing description, functionally equivalent methods and apparatuses within the scope of the present disclosure, in addition to those described herein, will be apparent to those skilled in the art. Such modifications and variations are also intended to fall within the scope of the appended claims.

[0227] In the above detailed description, various features and operations of the disclosed system, apparatus, and method are described with reference to the accompanying drawings. The exemplary embodiments described herein and in the drawings are not meant to be limiting in any way. Other embodiments may be utilized and other changes may be made without departing from the scope of the subject matter presented herein. It will be readily understood that the aspects of the present disclosure as described throughout this specification and illustrated in the drawings can be arranged, substituted, combined, separated, and designed in a wide variety of different configurations.

[0228] With respect to any or all of the message flow diagrams, scenarios, and flowcharts in the figures, each step, block, and / or communication may represent information processing and / or information transmission according to an exemplary embodiment, as discussed herein. The scope of these exemplary embodiments includes alternative embodiments. In these alternative embodiments, for example, operations described as steps, blocks, transmissions, communications, requests, responses, and / or messages may be performed out of the order shown or described (including substantially simultaneously or in reverse order), depending on the functionality involved. Furthermore, any of the message flow diagrams, scenarios, and flowcharts discussed herein may use more or fewer blocks and / or operations, and some or all of these message flow diagrams, scenarios, and flowcharts may be combined with each other.

[0229] The steps or blocks representing the processing of information may correspond to circuitry that may be configured to perform certain logical functions of the methods or techniques described herein. Alternatively or additionally, the steps or blocks representing the processing of information may correspond to modules, segments, or portions of program code (including associated data). The program code may include one or more instructions executable by a processor to perform certain logical operations or actions in the methods or techniques. The program code and / or associated data may be stored in any type of computer-readable medium, such as a storage device, including a RAM, a disk drive, a solid-state drive, or another storage medium.

[0230] Computer readable media may also include non-transitory computer readable media, such as non-transitory computer readable media that store data for a short period of time, such as register memory and processor cache. Non-transitory computer readable media may further include non-transitory computer readable media that store program code and / or data for a long period of time. Thus, non-transitory computer readable media may include secondary or permanent long-term storage, such as, for example, ROM, optical or magnetic disks, solid-state drives, or compact disk read-only memories (CD-ROMs). Non-transitory computer readable media may also be any other volatile or non-volatile storage system. Non-transitory computer readable media may be considered, for example, computer readable storage media or tangible storage devices.

[0231] Furthermore, steps or blocks depicting one or more information transfers may correspond to information transfers between software and / or hardware modules in the same physical device, although other information transfers are possible between software and / or hardware modules in different physical devices.

[0232] The particular arrangement depicted in the figures should not be construed as limiting in any way. It is understood that other embodiments may show more or fewer elements in a given figure. Further, some of the depicted elements may be combined or omitted. Additionally, an example embodiment may include elements that are not shown in the figures.

[0233] Various aspects and embodiments are disclosed herein, and other aspects and embodiments will be apparent to those of ordinary skill in the art. The various aspects and embodiments disclosed herein are intended to be illustrative and not limiting, with the true scope being indicated by the following claims. [Explanation of symbols]

[0234] 100 Computer Equipment 102 processors 104 Memory 104A Firmware 104B Kernel 104C Application 106 Network Interface 108 Input / Output Unit 110 System Bus 200 Server Cluster 202 Server equipment 204 Data Storage 206 Router 208 Local Cluster Network 210 Communication Links 212 Network 300 Managed Networks 302 Client Device 304 Server Equipment 306 Router 308 Virtual Machines 310 Firewall 312 Proxy Server 320 Remote Network Management Platform 322 Computing Instances 324 Computing Instances 326 Computing Instances 328 Compute Instances 340 Public Cloud Network 350 Internet 400A Data Center 400B Data Center 402A VPN Gateway 402B VPN Gateway 404A Firewall 404B Firewall 406A load balancer 406B Load Balancer 410 Setting items 412 VPN Gateways 414 users 416 Remote User 500 CMDB 502 Task List 504 Equipment 506 Equipment 508 Equipment 510 Equipment 512 Equipment 514IRE 800 2D cluster space 802 Cluster 804 Cluster 806 Cluster 850 Symptom Clusters 852 Investigation Step Cluster 854 Root Cause Clusters 856 Solution Clusters

Claims

1. Obtaining multiple incident logs, each containing a respective sequence of events; classifying each of said series of events into respective event classes; determining a cluster space respectively associated with each of said event classes; determining relationships between at least some of the clusters in the cluster space from the plurality of incident logs; Suggesting one or more investigation steps to determine a root cause of symptoms seen in a subsequent incident log based on the clusters and the relationships, the symptoms indicative of a problem experienced by a user; and The method includes:

2. 2. The method of claim 1 , wherein each of the event classes includes a symptom, an investigation step, and a root cause, the symptom representing a problem experienced by a user, the investigation step representing an action taken in determining the root cause of the corresponding symptom, and the root cause being the primary reason for the observation of the corresponding symptom.

3. The method of claim 2 , wherein each of the event classes also includes a solution, the solution representing an action taken to correct a corresponding root cause.

4. at least a portion of the incident log includes textual content; 2. The method of claim 1, further comprising performing one or more of stop word removal, form text removal, stemming, or lemmatization on the incident log prior to classifying each of the series of events.

5. at least a portion of the incident log includes textual content; The method of claim 1 , further comprising performing abstractive or abstractive summarization on the incident log prior to classifying each of the series of events.

6. 2. The method of claim 1 , wherein classifying each of the series of events into each of the event classes comprises using a classifier pre-trained on a corpus of labeled events from an incident log, the labels of the labeled events being indicative of the respective event classes, and the classifier having learned associations between content of the incident log and the respective event classes.

7. Determining the cluster space associated with each of the event classes comprises, for each of the event classes: projecting the classified events into a multi-dimensional representation; configuring the clusters in the cluster space based on distances or angles between the multi-dimensional representations; The method of claim 1 , comprising:

8. 2. The method of claim 1 , wherein determining the relationship between at least some clusters in the cluster space comprises determining a probabilistic likelihood of an event proceeding from a first of two of the clusters to a second of the two of the clusters based on the respective series of events.

9. The method of claim 8 , wherein determining the probabilistic likelihoods comprises constructing a directed acyclic graph of the clusters, edges of the directed acyclic graph representing the probabilistic likelihoods.

10. The method of claim 1 , further comprising labeling each of the clusters based on semantic content of the events being classified.

11. 10. The method of claim 1, further comprising, after determining the root cause of the symptoms seen in the subsequent incident log, causing the computing device to change its configuration, change one or more applications it is running, or reboot.

12. obtaining an incident log including events indicative of symptoms indicative of a problem experienced by a user; performing a comparison between the event and a plurality of symptom clusters in a symptom cluster space, the plurality of symptom clusters representing symptoms associated with the event in a plurality of historical incident logs; identifying a symptom cluster from the symptom cluster space based on the comparison; and selecting an investigation step cluster from an investigation step cluster space based on the symptom cluster, the investigation step cluster being associated with one or more root cause clusters from a root cause cluster space, the investigation step cluster space being derived from the events in the plurality of historical incident logs, the root cause cluster space also being associated with the events in the plurality of historical incident logs; determining that the investigation step of the investigation step cluster has led to the identification of a root cause of the symptom, the root cause being from one of the root cause clusters; The method includes:

13. The method of claim 12 , wherein performing the comparison between the event and the plurality of symptom clusters comprises determining a similarity metric between the event and each of the plurality of symptom clusters.

14. The method of claim 13 , wherein identifying the symptom cluster from the symptom cluster space comprises selecting the symptom cluster that is most similar to the event in terms of the similarity measure.

15. 13. The method of claim 12, further comprising, prior to performing the comparison between the event and the plurality of symptom clusters, classifying the event into a symptom event class using a classifier pre-trained on a corpus of labeled events from an incident log, wherein labels of the labeled events indicate each event class, and the classifier has learned associations between content of the labeled events in the incident log and each event class.

16. The method of claim 12 , wherein the investigation step clusters are selected in the investigation step cluster space because they have the highest probability of leading to one of the root cause clusters.

17. The method of claim 12 , wherein the investigation step clusters are selected because they have the highest probability of reducing a number of candidate root cause clusters within the investigation step cluster space.

18. 13. The method of claim 12, further comprising: selecting a solution cluster from a solution cluster space based on the root cause, the solution cluster including solutions that represent actions taken to remediate the root cause.

19. 20. The method of claim 18, wherein the solution includes causing the computing device to change its configuration, change one or more applications it is running, or reboot.

20. When executed by a computer system, Obtaining multiple incident logs, each containing a respective sequence of events; classifying each of said series of events into respective event classes; determining a cluster space respectively associated with each of said event classes; determining relationships between at least some of the clusters in the cluster space from the plurality of incident logs; Suggesting one or more investigation steps to determine a root cause of symptoms seen in a subsequent incident log based on the clusters and the relationships, the symptoms indicative of a problem experienced by a user; and A non-transitory computer-readable medium having stored thereon program instructions that cause the computer system to perform operations including:

Citation Information

Patent Citations

  • Device and method for instance retrieval and device and method for structuring instance base

    JP1998240536A

  • Defective reoccurrence prevention device, defective reoccurrence prevention method, program and recording medium

    JP2006011744A

  • Fault part location support system

    JP2021015328A

  • Systems and methods for artificial intelligence-based root cause analysis of service incidents

    US20220358005A1