Merging multi-line log entries
First Claim
1. A method for merging multiple log entries received by a data processing system, comprising:
- receiving a plurality of log entries;
for each received log entry;
determining if the log entry contains an ID common to any potential merged event in accordance with merge properties, beginning a new merged event, if the log entry is a beginning log entry of a merged event in accordance with the merge properties;
ending an existing merged event, if the log entry is an ending log entry of an existing merged event in accordance with the merge properties; and
mapping each log entry containing an ID common to an existing merged event to that merged event in accordance with mapping properties for the merged event.
11 Assignments
0 Petitions
Accused Products
Abstract
A system and method for building merged events from log entries received from multiple devices. Multiple log events generally contribute to a single merged event. In the described embodiment, the mapping module receives log entries associated with specific merged events and maps them to fields in the merged event data structure in accordance with mapping properties. The described embodiments of the invention use regular expressions in the merge properties to describe values that are searched for in the received log entries. A described embodiment of the present invention gives the mapping module access to the event under construction. A new conditional operator, oneOf, is introduced that selects the first token that is bound to a value out of a list of tokens.
49 Citations
20 Claims
-
1. A method for merging multiple log entries received by a data processing system, comprising:
-
receiving a plurality of log entries;
for each received log entry;
determining if the log entry contains an ID common to any potential merged event in accordance with merge properties, beginning a new merged event, if the log entry is a beginning log entry of a merged event in accordance with the merge properties;
ending an existing merged event, if the log entry is an ending log entry of an existing merged event in accordance with the merge properties; and
mapping each log entry containing an ID common to an existing merged event to that merged event in accordance with mapping properties for the merged event. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
-
-
19. A system for merging multiple log entries received by a data processing system, comprising:
-
a module for receiving a plurality of log entries;
a parser for parsing the log entries into tokens;
a grouper that, for each received log entry;
determines if the log entry contains an ID common to any potential merged event in accordance with merge properties, begins a new merged event, if the log entry is a beginning log entry of a merged event in accordance with the merge properties;
ends an existing merged event, if the log entry is an ending log entry of an existing merged event in accordance with the merge properties; and
a mapper that mapping each log entry containing an ID common to an existing merged event to that merged event in accordance with mapping properties for the merged event.
-
-
20. A computer program product comprising instructions stored on a computer readable medium for causing a computer to perform a method, comprising:
-
receiving a plurality of log entries;
for each received log entry;
determining if the log entry contains an ID common to any potential merged event in accordance with merge properties, beginning a new merged event, if the log entry is a beginning log entry of a merged event in accordance with the merge properties;
ending an existing merged event, if the log entry is an ending log entry of an existing merged event in accordance with the merge properties; and
mapping each log entry containing an ID common to an existing merged event to that merged event in accordance with mapping properties for the merged event.
-
Specification