Systems and methods for automated log event normalization using three-staged regular expressions
First Claim
1. A method of processing log messages, the method comprising:
- at a data center computer;
at a first stage, partially parsing a freeform log message to identify a program group from which the freeform log message is originated;
at a second stage, partially parsing the freeform log message to identify at type of the freeform log message which is associated with a message signature which, in turn, is associated with the program group from which the freeform log message is originated;
determining a parsing expression based on the message signature;
at a third stage, partially or completely parsing at least a portion of the freeform log message using the parsing expression to extract information from the freeform log message; and
outputting the extracted information.
8 Assignments
0 Petitions
Accused Products
Abstract
Methods and systems for normalizing log messages. Some methods include obtaining a freeform log message from one of many disparate programs. The methods can include determining which program originated the message and, based on that, determining a signature which matches the message. Using the signature, a parsing expression may be determined with which to extract information from a portion of the message. The time from obtaining the message to extracting the information can be about the same for all messages and can be about 1/40,000th of a second. In some embodiments, a generic signature of the message may be output. A version of the message may be reconstructed based on the generic signature and information. When more than one message signatures matches the reconstructed message, one of the matching signatures can be adjusted. The parsing expression can be the first of an ordered list of expressions which successfully evaluates the log message.
65 Citations
20 Claims
-
1. A method of processing log messages, the method comprising:
-
at a data center computer; at a first stage, partially parsing a freeform log message to identify a program group from which the freeform log message is originated; at a second stage, partially parsing the freeform log message to identify at type of the freeform log message which is associated with a message signature which, in turn, is associated with the program group from which the freeform log message is originated; determining a parsing expression based on the message signature; at a third stage, partially or completely parsing at least a portion of the freeform log message using the parsing expression to extract information from the freeform log message; and outputting the extracted information. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A non-transitory computer readable medium carrying instructions for processing log messages which when executed by a machine cause the machine to:
-
partially parse a freeform log message to identify a program group from which the freeform log message is originated; partially parse the freeform log message to identify a type of the freeform log message which is associated with a message signature which, in turn, is associated with the program group from which the freeform log message is originated; determine a parsing expression based on the message signature; partially or completely parse at least a portion of the freeform log message using the parsing expression to extract information from the freeform log message; and output the extracted information. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A system for processing log messages comprising:
-
a processor; an interface; and a machine readable medium, the processor, the interface, and the machine readable medium being in communication with each other, the machine readable medium carrying instructions for processing log messages which when executed by the processor cause the processor to; partially parse a freeform log message to identify a program group from which the freeform log message is originated; partially parse the freeform log message to identify a type of the freeform loq message which is associated with a message signature which, in turn, is associated with the program group from which the freeform log message is originated; determine a parsing expression based on the message signature; partially or completely parse at least a portion of the freeform log message using the parsing expression to extract information from the freeform log message; and output the extracted information. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification