×

System and method for efficiently obtaining a summary from and locating data in a log file

  • US 7,519,572 B2
  • Filed: 02/15/2005
  • Issued: 04/14/2009
  • Est. Priority Date: 02/15/2005
  • Status: Active Grant
First Claim
Patent Images

1. A computer implemented method for displaying a data record within a log file, comprising:

  • using a computer, configuring a first criteria for a number of data records per summary record and a second criteria for a duration of monitoring;

    monitoring a process;

    when an event occurs in the process requiring a data record, writing the data record to the log file;

    when the first criteria is satisfied, writing a summary record to the log file;

    when the second criteria is satisfied, checking to see if a last record in the log file is a summary record, and when the last record is the summary record, writing a summary information to an end of the log file, and when the last record is not the summary record, writing the summary record to the log file and then writing the summary information to the end of the log file;

    responsive to a request for the data record from a user, identifying a matching summary record within the summary information in the log file;

    locating the data record using the summary information at the end of the log file based on an offset of the summary record and based on a range of time of data records covered by the summary record; and

    displaying data from the data record to the user;

    wherein the data record comprises;

    an indication of an event type of the data record;

    an indication of a start time;

    an indication of an end time; and

    an event detail;

    wherein the summary record comprises;

    an indication of the number of events for each event type covered by the summary record;

    an indication of a total number of events covered by the summary record;

    an indication of a start time of a first data record covered by the summary record, andan indication of an end time of a last data record covered by the summary record; and

    wherein the summary information is written after a last summary record of the log file and comprises;

    an indication of the number of summary records within the log file; and

    for the summary record within the log file, the summary information comprises;

    an indication of a name of the summary record;

    an indication of the offset of the summary record in the log file;

    an indication of a start time of a first data record covered by the summary record;

    an indication of an end time of a last data record covered by the summary record; and

    an indication of a number of data records covered by the summary record.

View all claims
  • 3 Assignments
Timeline View
Assignment View
    ×
    ×