Compression of Log Data Using Pattern Recognition
First Claim
1. A method, comprising:
- obtaining at least one log message, wherein the at least one log message comprises a pattern-based message template and one or more message variables, wherein the pattern-based message template was learned from historical log data using a log pattern mining technique;
obtaining a compression index that maps a plurality of pattern-based message templates to a corresponding message signature; and
writing, using at least one processing device, the one or more message variables and a message signature corresponding to the pattern-based message template of the at least one log message to a log file.
3 Assignments
0 Petitions
Accused Products
Abstract
Techniques are provided for compression and decompression of log data using pattern recognition. An exemplary method comprises: obtaining at least one log message, wherein the at least one log message comprises a pattern-based message template and one or more message variables, wherein the pattern-based message template was learned from historical log data using a log pattern mining technique; obtaining a compression index that maps a plurality of pattern-based message templates to a corresponding message signature; and writing the one or more message variables and a message signature corresponding to the pattern-based message template of the at least one log message to a log file. The log pattern mining technique learns a given pattern-based message template from the historical log data to represent a plurality of historical log messages. The at least one log message may comprise a historical log message or may be from a real-time stream of log messages.
2 Citations
20 Claims
-
1. A method, comprising:
-
obtaining at least one log message, wherein the at least one log message comprises a pattern-based message template and one or more message variables, wherein the pattern-based message template was learned from historical log data using a log pattern mining technique; obtaining a compression index that maps a plurality of pattern-based message templates to a corresponding message signature; and writing, using at least one processing device, the one or more message variables and a message signature corresponding to the pattern-based message template of the at least one log message to a log file. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A system, comprising:
-
a memory; and at least one processing device, coupled to the memory, operative to implement the following steps; obtaining at least one log message, wherein the at least one log message comprises a pattern-based message template and one or more message variables, wherein the pattern-based message template was learned from historical log data using a log pattern mining technique; obtaining a compression index that maps a plurality of pattern-based message templates to a corresponding message signature; and writing the one or more message variables and a message signature corresponding to the pattern-based message template of the at least one log message to a log file. - View Dependent Claims (10, 11, 12, 13, 14)
-
-
15. A computer program product, comprising a tangible machine-readable storage medium having encoded therein executable code of one or more software programs, wherein the one or more software programs when executed by at least one processing device perform the following steps:
-
obtaining at least one log message, wherein the at least one log message comprises a pattern-based message template and one or more message variables, wherein the pattern-based message template was learned from historical log data using a log pattern mining technique; obtaining a compression index that maps a plurality of pattern-based message templates to a corresponding message signature; and writing the one or more message variables and a message signature corresponding to the pattern-based message template of the at least one log message to a log file. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification