IP Library › Granted Patent US 11,347,373
Granted Patent B2
US 11,347,373 · App. 15/286,366 · Granted May 31, 2022

Methods and systems to sample event messages

Inventors: Udi Wieder (Palo Alto, CA); Dahlia Malkhi (Palo Alto, CA); Eric Schkufza (Palo Alto, CA); Mayank Agarwal (Seattle, WA); Nicholas Kushmerick (Seattle, WA); Ramses Morales (Palo Alto, CA)
Assignee: VMware, Inc.
G06F3/0482G06F3/04855G06F16/188
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,347,373
App. No.
15/286,366
Granted
May 31, 2022
Kind
B2
Abstract

Methods and systems to sample event messages are described. As event messages are generated by one or more sources, the event messages are stored in a storage queue. An event message policy that represents conditions for storing event messages in a sample log file are input. For each event message output from the storage queue, the event message may be stored in a sample log file when one or more of the conditions of the event message policy are satisfied. The event messages of the sample log file may be displayed in a graphical user interface that enables a user to change the event message policy.

Claims (57)

1. In a process for sampling and querying event messages generated by various sources of event messages of a distributed computing system, the improvement comprising:

temporarily storing each event message in a storage queue;

displaying on a display screen of a computer system a graphical user interface that enables a user to set an event message policy for sampling a fraction of the event messages and storing copies of the fraction of sampled event messages in a sample log file;

for each event message in the storage queue,

storing the event message in an event-log file, and

storing a copy of the event message in the sample log file when the event message satisfies the event message policy set by the user; and

displaying event types of the event messages stored in the sample log file in the graphical user interface, thereby enabling a user to query the event messages stored in the sample log file to determine if a specific type of event message has been generated.

2. The process of claim 1 , wherein the graphical user interface that enables the user to set the event message policy comprises enables the user to set a sample rate that represents a fraction of event messages that satisfy the event message policy to be stored in the sample log file.

3. The process of claim 1 , wherein the graphical user interface that enables the user to set the event message policy comprises enables the user to set a plurality of sample rates, each sample rate corresponding to a different event type and representing a fraction of event messages having the same event type to be stored in the sample log file.

4. The process of claim 1 , wherein storing the copy of the event message in the sample log file comprises:

generating a random number;

calculating a threshold based on the event message policy that represents a fraction of event messages to be stored in the sample log file; and

when the random number is less than or equal to the threshold, storing the copy of the event message in the sample log file.

5. The process of claim 1 , wherein storing the copy of the event message in the sample log file comprises:

generating a random number; determining an event type of each event message using event-type analysis;

displaying in the graphical user interface event types of the event messages and fields that enable a user to set a sample rate for each event type, each sample rate representing a fraction of event messages of the event type to be stored in the sample log file;

calculating a threshold based on the sample rate; and when the random number is less than or equal to the threshold, storing the copy of the event message in the sample log file.

6. A computer system that samples and queries event messages generated by one or more sources of event messages of a distributed computing system, the computer system comprising:

one or more processors;

one or more data-storage devices; and

machine-readable instructions stored in the one or more data-storage devices that when executed using the one or more processors controls the system performs the operations comprising:

temporarily storing the event messages in a storage queue;

displaying on a display screen of the computer system a graphical user interface that enables a user to set an event message policy for sampling a fraction of the event messages and storing copies of the fraction of sampled event messages in a sample log file;

for each event message in the storage queue,

storing the event message in an event-log file, and

storing a copy of the event message in the sample log file when the event message satisfies the event message policy set by the user; and

displaying event types of the event messages stored in the sample log file in a graphical user interface that enables a user to query the event messages stored in the sample log file.

7. The computer system of claim 6 , wherein the graphical user interface that enables the user to set the event message policy comprises enables the user to set a sample rate that represents a fraction of event messages that satisfy the event message policy to be stored in the sample log file.

8. The computer system of claim 6 , wherein the graphical user interface that enables the user to set the event message policy comprises enables the user to set a plurality of sample rates, each sample rate corresponding to a different event type and representing a fraction of event messages having the same event type to be stored in the sample log file.

9. The computer system of claim 6 , wherein storing the copy of the event message in the sample log file comprises:

generating a random number;

calculating a threshold based on the event message policy that represents a fraction of event messages to be stored in the sample log file; and

when the random number is less than or equal to the threshold, storing the copy of the event message in the sample log file.

10. The computer system of claim 6 , wherein storing the copy of the event message in the sample log file comprises:

generating a random number;

determining an event type of each event message using event-type analysis; displaying in the graphical user interface event types of the event messages and fields that enable a user to set a sample rate for each event type, each sample rate representing a fraction of event messages of the event type to be stored in the sample log file;

calculating a threshold based on the sample rate; and

when the random number is less than or equal to the threshold, storing the copy of the event message in the sample log file.

11. A non-transitory computer-readable medium encoded with machine-readable instructions that implement a method carried out by one or more processors of a computer system that performs the operations comprising:

temporarily storing event messages generated by one or more sources of event messages of a distributed computing system in a storage queue;

displaying on a display screen of the computer system a graphical user interface that enables a user to set an event message policy for sampling a fraction of the event messages and storing copies of the fraction of sampled event messages in a sample log file;

for each event message in the storage queue,

storing the event message in an event-log file, and

storing a copy of the event message in the sample log file when the event message satisfies the event message policy set by the user; and

displaying event types of the event messages stored in the sample log file in a graphical user interface that enables a user to query the event messages stored in the sample log file.

12. The medium of claim 11 , wherein the graphical user interface that enables the user to set the event message policy comprises enables the user to set a sample rate that represents a fraction of event messages that satisfy the event message policy to be stored in the sample log file.

13. The medium of claim 11 , wherein the graphical user interface that enables the user to set the event message policy comprises enables the user to set a plurality of sample rates, each sample rate corresponding to a different event type and representing a fraction of event messages having the same event type to be stored in the sample log file.

14. The medium of claim 11 , wherein storing the copy of the event message in the sample log file comprises:

generating a random number;

calculating a threshold based on the event message policy that represents a fraction of event messages to be stored in the sample log file; and

when the random number is less than or equal to the threshold, storing the copy of the event message hi the sample log file.

15. The medium of claim 11 , wherein storing the copy of the event message in the sample log file comprises:

generating a random number;

determining an event type of each event message using event-type analysis;

displaying in the graphical user interface event types of the event messages and fields that enable a user to set a sample rate for each event type, each sample rate representing a fraction of event messages of the event type to be stored in the sample log file;

calculating a threshold based on the sample rate; and

when the random number is less than or equal to the threshold, storing the copy of the event message in the sample log file.

Assignments (2)
CHANGE OF NAME Recorded Apr 15, 2024
From: VMWARE, INC.
To: VMWARE LLC
Reel/Frame 067102/0395 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 5, 2016
From: WIEDER, UDI; MALKHI, DAHLIA; SCHKUFZA, ERIC; AGARWAL, MAYANK; KUSHMERICK, NICHOLAS; MORALES, RAMSES; DESAI, DEEP
To: VMWARE, INC.
Reel/Frame 039949/0063 →
Continuity (1)
Related Publication 20180095610A1 · Apr 5, 2018