发明名称 Method and system for compressing logs
摘要 A computer-implemented method to compress log messages is disclosed. The method starts with maintaining a log reference table having a plurality of log reference entries, each containing a string of characters to be recited repeatedly during logging of messages. In response to a request for logging a log message initiated from an application, the method creates a compressed log message entry in a compressed log file. The compressed log message entry includes: a time stamp indicating the time the log message being created; a log reference identifier identifying one of the plurality of log reference entries without reciting a corresponding string of characters of the log reference entry, where the one of the plurality of log reference entries contains one or more variable indications; and a log variable portion associated with the log message, where the log variable portion contains a part of the log message.
申请公布号 US9619478(B1) 申请公布日期 2017.04.11
申请号 US201314132894 申请日期 2013.12.18
申请人 EMC IP Holding Company LLC 发明人 Singh Pranay;Shivanna Srikanta
分类号 G06F17/00;G06F17/30 主分类号 G06F17/00
代理机构 Blakely, Sokoloff, Taylor & Zafman LLP 代理人 Blakely, Sokoloff, Taylor & Zafman LLP
主权项 1. A computer-implemented method for compressing log messages, the method comprising: maintaining, by a log reference processor, a log reference table having a plurality of log reference entries, each containing a string of characters to be recited repeatedly during logging of messages that are generated from an application during its execution, each string of characters describing a predetermined event, wherein maintaining a log reference table includes: parsing, by the log reference processor, the application to determine a log reference entry not already in the log reference table, andstoring the log reference entry in the log reference table; and in response to a request for logging a log message initiated from the application, creating, by a log encoder, a compressed log message entry in a compressed log file, the compressed log message entry including: a time stamp indicating the time the log message being created,a log reference identifier identifying one of the plurality of log reference entries without reciting a corresponding string of characters of the log reference entry, wherein the one of the plurality of log reference entries contains one or more variable indications, anda log variable portion associated with the log message, wherein the log variable portion contains a part of the log message, wherein the compressed log message is to describe via the identified log reference entry an event that occurred during operations of the application.
地址 Hopkinton MA US