SEARCHING FOR ASSOCIATED EVENTS IN LOG DATA
First Claim
Patent Images
1. A method, comprising:
- receiving a query searching for associated events in log data, the associated events being multiple events that are related to one another by a common component;
parsing the received query, including;
locating a reserved term from the received query;
identifying, from a portion of the received query after the reserved term, an intermediate component of the received query; and
identifying, from a portion of the received query preceding the reserved term, a final component of the received query;
forming and then performing an intermediate query for the intermediate component, including determining, using the intermediate query, one or more keywords for including in a final query for the final component;
forming the final query using a result of performing the intermediate query;
merging the result of performing the intermediate query and a result of performing the final query; and
designating the merged results as the associated events in response to the received query,wherein the method is performed by one or more computers.
15 Assignments
0 Petitions
Accused Products
Abstract
To retrieve a sequence of associated events in log data, a request expression is parsed to retrieve types of dependencies between events which are searched, and the constraints (e.g., keywords) which characterize each event. Based on the parsing results, query components can be formed, expressing the constraints for individual events and interrelations (e.g., time spans) between events. A resultant span query comprising the query components can then be run against an index of events, which encodes a mutual location of associated events in storage.
-
Citations
18 Claims
-
1. A method, comprising:
-
receiving a query searching for associated events in log data, the associated events being multiple events that are related to one another by a common component; parsing the received query, including; locating a reserved term from the received query; identifying, from a portion of the received query after the reserved term, an intermediate component of the received query; and identifying, from a portion of the received query preceding the reserved term, a final component of the received query; forming and then performing an intermediate query for the intermediate component, including determining, using the intermediate query, one or more keywords for including in a final query for the final component; forming the final query using a result of performing the intermediate query; merging the result of performing the intermediate query and a result of performing the final query; and designating the merged results as the associated events in response to the received query, wherein the method is performed by one or more computers. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A system comprising:
-
a storage device operable for storing one or more events as log messages; and a processor coupled to the storage device and configured to perform operations comprising; receiving a query searching for associated events in log data, the associated events being multiple events that are related to one another by a common component; parsing the received query, including; locating a reserved term from the received query; identifying, from a portion of the received query after the reserved term, an intermediate component of the received query; and identifying, from a portion of the received query preceding the reserved term, a final component of the received query; forming and then performing an intermediate query for the intermediate component, including determining, using the intermediate query, one or more keywords for including in a final query for the final component; forming the final query using a result of performing the intermediate query; merging the result of performing the intermediate query and a result of performing the final query; and designating the merged results as the associated events in response to the received query. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A non-transitory storage device storing instructions operable to cause one or more computers to perform operations comprising:
-
receiving a query searching for associated events in log data, the associated events being multiple events that are related to one another by a common component; parsing the received query, including; locating a reserved term from the received query; identifying, from a portion of the received query after the reserved term, an intermediate component of the received query; identifying, from a portion of the received query preceding the reserved term, a final component of the received query; forming and then performing an intermediate query for the intermediate component, including determining, using the intermediate query, one or more keywords for including in a final query for the final component; forming the final query using a result of performing the intermediate query; merging the result of performing the intermediate query and a result of performing the final query; and designating the merged results as the associated events in response to the received query. - View Dependent Claims (14, 15, 16, 17, 18)
-
Specification