Unified error monitoring, alerting, and debugging of distributed systems

US2020201699A1 · US · A1

Patent metadata
FieldValue
Publication numberUS-2020201699-A1
Application numberUS-201816226405-A
CountryUS
Kind codeA1
Filing dateDec 19, 2018
Priority dateDec 19, 2018
Publication dateJun 25, 2020
Grant date

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

The disclosed embodiments provide a system for performing unified error monitoring, alerting, and debugging of distributed systems. During operation, the system receives logs of activity within a distributed system over event streams in a distributed streaming platform. Upon identifying an error in the received logs, the system collects, from the event streams, log entries generated within a time window of the error into a contextual log associated with the error. The system then outputs an alert containing metadata for accessing the contextual log.

First claim

Opening claim text (preview).

What is claimed is: 1 . A method, comprising: receiving, by one or more computer systems, logs of activity within a distributed system over event streams in a distributed streaming platform; upon identifying an error in the received logs, collecting, by the one or more computer systems from the event streams, log entries generated within a time window of the error into a contextual log associated with the error; and outputting, by the one or more computer systems, an alert comprising metadata for accessing the contextual log. 2 . The method of claim 1 , further comprising: displaying a representation of the contextual log within a user interface; and updating the displayed representation based on one or more filters specified through the user interface. 3 . The method of claim 2 , wherein the representation of the contextual log comprises at least one of: a visualization of events represented by the log entries; a visual indication of a potential root cause of the error; and a time-based ordering of the log entries. 4 . The method of claim 2 , wherein the one or more filters comprise at least one of: a log file name; a host name; a time; a process; a logging source; a class of error; and a duration of execution. 5 . The method of claim 1 , wherein collecting the log entries within the time window of the error into the contextual log associated with the error comprises: searching the event streams for the log entries that fall within the time window of the error and match an attribute associated with the error; and aggregating the log entries into the contextual log. 6 . The method of claim 5 , wherein collecting the log entries within the time window of the error into the contextual log associated with the error further comprises: standardizing metadata fields in the log entries prior to aggregating the log entries into the contextual log. 7 . The method of claim 6 , wherein the metadata fields comprise at least one of: a timestamp; a host name; a cluster name; and a log file name. 8 . The method of claim 5 , wherein the attribute comprises at least one of: a cluster in which the error was generated; a tree of service calls related to the error; and a session associated with the error. 9 . The method of claim 1 , wherein the log entries comprise: an application log entry; and a machine state entry. 10 . The method of claim 9 , wherein the machine state entry comprises at least one of: processes running on a machine; a resource usage; a network status; and a socket status. 11 . The method of claim 1 , wherein the error comprises at least one of: an exception; a logged error; and a core dump. 12 . The method of claim 1 , wherein the metadata comprises at least one of: a link to the contextual log; and a path to a location of the contextual log. 13 . A system, comprising: one or more processors; and memory storing instructions that, when executed by the one or more processors, cause the system to: receive logs of activity within a distributed system over event streams in a distributed streaming platform; upon identifying an error in the received logs, collect, from the event streams, log entries generated within a time window of the error into a contextual log associated with the error; and output an alert comprising metadata for accessing the contextual log. 14 . The system of claim 13 , wherein the memory further stores instructions that, when executed by the one or more processors, cause the system to: display a representation of the contextual log within a user interface; and update the displayed representation based on one or more filters specified through the user interface. 15 . The system of claim 14 , wherein the representation of the contextual log comprises at least one of: a visualization of events represented by the log entries; a visual indication of a potential root cause of the error; and a time-based ordering of the log entries. 16 . The system of claim 14 , wherein the one or more filters comprise at least one of: a log file name; a host name; a time; a process; a logging source; a class of error; and a duration of execution. 17 . The system of claim 13 , wherein collecting the log entries within the time window of the error into the contextual log associated with the error comprises: searching the event streams for the log entries that fall within the time window of the error and match an attribute associated with the error; standardizing metadata fields in the log entries; and aggregating the log entries into the contextual log. 18 . The system of claim 17 , wherein the metadata fields comprise at least one of: a timestamp; a host name; a cluster name; and a log file name. 19 . A non-transitory computer-readable storage medium storing instructions that when executed by a computer cause the computer to perform a method, the method comprising: receiving logs of activity within a distributed system over event streams in a distributed streaming platform; upon identifying an error in the received logs, collecting, from the event streams, log entries generated within a time window of the error into a contextual log associated with the error; and outputting an alert comprising metadata for accessing the contextual log. 20 . The non-transitory computer-readable storage medium of claim 19 , the method further comprising: displaying a representation of the contextual log within a user interface; and updating the displayed representation based on one or more filters specified through the user interface.

Assignees

Inventors

Classifications

  • G06F11/079Primary

    Root cause analysis, i.e. error or fault diagnosis (in a hardware test environment G06F11/22; in a software test environment G06F11/36) · CPC title

  • Alarm or error message display · CPC title

  • Error filtering or prioritizing based on a policy defined by the user or on a policy defined by a hardware/software module, e.g. according to a severity level · CPC title

  • Dumping, i.e. gathering error/state information after a fault for later diagnosis · CPC title

  • where the reporting involves the use of self describing data formats, i.e. metadata, markup languages, human readable formats · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US2020201699A1 cover?
The disclosed embodiments provide a system for performing unified error monitoring, alerting, and debugging of distributed systems. During operation, the system receives logs of activity within a distributed system over event streams in a distributed streaming platform. Upon identifying an error in the received logs, the system collects, from the event streams, log entries generated within a ti…
Who is the assignee on this patent?
Microsoft Technology Licensing Llc
What technology area does this patent fall under?
Primary CPC classification G06F11/079. Mapped technology areas include Physics.
When was this patent published?
Publication date Thu Jun 25 2020 00:00:00 GMT+0000 (Coordinated Universal Time) (A1). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 3 related publications on this page (citations in our corpus or others sharing the same primary CPC).