# US 2013/0138667 A1 · System and method for parsing, summarizing and reporting log data

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2013/0138667 A1
- Document ID: US20130138667A1
- Status: Published application
- Kind: A1
- Application number: 13/562,047
- Filed: 2012-07-30
- Published: 2013-05-30
- Earliest claimed: 2003-11-26
- Assignees: LogLogic, Inc.
- Inventors: Jason Michael DeStefano; Thomas Hunt Schabo Grabowski
- Web page: https://patentgrep.com/patent/US20130138667A1

## CPC

- G06F 40/205: Parsing
- G06F 11/3006: {where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems (multiprogramming arrangements G06F9/46; allocation of resources G06F9/50)}
- G06F 11/3082: {the data filtering being achieved by aggregating or compressing the monitored data}
- H04L 41/069: using logs of notifications; Post-processing of notifications
- G06F 16/90: Details of database functions independent of the retrieved data types
- H04L 63/1425: {Traffic logging, e.g. anomaly detection}
- Y10S 707/99933: Query processing, i.e. searching
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- Y10S: TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS

## Abstract

A system and method is disclosed which enables network administrators and the like to quickly analyze the data produced by log-producing devices such as network firewalls and routers. Unlike systems of the prior art, the system disclosed herein automatically parses and summarizes log data before inserting it into one or more databases. This greatly reduces the volume of data stored in the database and permits database queries to be run and reports generated while many types of attempted breaches of network security are still in progress. Database maintenance may also be accomplished automatically by the system to delete or archive old log data.

## Claims

### Claim 1

A data processing system comprising:
one or more computers;
a log-producing device connected to the one or more computers through a network; and,
a non-transitory storage device storing computer instructions operable to cause the one or more computers to perform operations comprising:
receiving, by a log receiver, a log message from the log-producing device;
determining, by the log receiver, a property of the log message;
copying, by the log receiver, the log message into a first storage buffer;
parsing, by a log parser, content of the first storage buffer, including:
extracting data fields from the log message in the first storage buffer; and
converting the extracted data fields into one or more structured query language statements;
copying, by the log parser, the one or more structured query language statements into a second buffer;
reading, by a database inserter, the one or more structured query language statements in the second storage buffer;
inserting, by the database inserter, the one or more structured query language statements into one or more database tables; and
summarizing, by a message collection engine, the one or more structured query language statements in the one or more database tables into summarized statements for storing on the non-transitory storage device.

### Claim 2 (depends on 1)

The data processing system of claim 1, wherein determining the property of the log message comprises:
determining whether the log-producing device is an approved data source, wherein the determining comprises comparing the log-producing device with a group of acceptable data sources;
determining whether the log-producing device is enabled and configured; and
upon the determining that the log-producing device is an approved data source and that the log-producing device is enabled and configured, approving the log message for parsing.

### Claim 3 (depends on 2)

The data processing system of claim 2, wherein determining the property of the log message comprises:
upon the determining that the log-producing device is not an approved data source, or upon the determining that the log-producing device not configured, copying, by the log receiver, the log message into an unapproved ring buffer configured to store a given number of log messages.

### Claim 4 (depends on 1)

The data processing system of claim 1, wherein:
each of the first storage buffer and the second storage buffer is a first-in-first-out ring buffer; and
at least one of the first storage buffer or the second storage buffer includes a real-time view buffer configured to store the log message for real-time viewing.

### Claim 5 (depends on 1)

The data processing system of claim 1, wherein extracting the data fields from the log message in the first storage buffer comprises:
searching the log message for one or more predetermined keywords;
determining a message type of the log message based on a result of the searching; and
extracting the data fields using a pre-determined function associated with the message type.

### Claim 6 (depends on 1)

The data processing system of claim 1, wherein:
reading the one or more structured query language statements comprises:
examining the one or more structured query language statements, and
determining a database table for each of the one or more structured query language statements based on result of the examining; and
inserting the one or more structured query language statements into the one or more database tables comprises inserting each of the one or more structured query language statements into the corresponding database table.

### Claim 7 (depends on 6)

The data processing system of claim 6, wherein:
each of the one or more database tables comprises at least one of an accept table, a deny table, a security table, a system table, a uniform resource locator (URL) table, or a file transfer protocol (FTP) table, and
inserting each of the one or more structured query language statements into the corresponding database table comprises:
inserting the structured query language statement into the deny table when the log message corresponding to the structured query language statement indicates a denial by the log-producing device;
inserting the structured query language statement into the system table when the log message corresponding to the structured query language statement indicates a system activity of the log-producing device;
inserting the structured query language statement into the URL table when the log message corresponding to the structured query language statement relates to a network user accessing a URL site;
inserting the structured query language statement into the FTP table when the log message corresponding to the structured query language statement relates to a network user requesting FTP service, or
inserting the structured query language statement into the accept table.

### Claim 8 (depends on 1)

The data processing system of claim 1, wherein the second storage buffer is configured to receive structured query language statements from a plurality of procedures and to store the received structured query language statements in a queue.

### Claim 9

A method comprising:
receiving, by a log receiver, a log message from the log-producing device;
determining, by the log receiver, a property of the log message;
copying, by the log receiver, the log message into a first storage buffer;
parsing, by a log parser, content of the first storage buffer, including:
extracting data fields from the log message in the first storage buffer; and
converting the extracted data fields into one or more structured query language statements;
copying, by the log parser, the one or more structured query language statements into a second buffer;
reading, by a database inserter, the one or more structured query language statements in the second storage buffer;
inserting, by the database inserter, the one or more structured query language statements into one or more database tables; and
summarizing, by a message collection engine, the one or more structured query language statements in the one or more database tables into summarized statements for storing on a non-transitory storage device,
wherein the method is performed by one or more computers.

### Claim 10 (depends on 9)

The method of claim 9, wherein determining the property of the log message comprises:
determining whether the log-producing device is an approved data source, wherein the determining comprises comparing the log-producing device with a group of acceptable data sources;
determining whether the log-producing device is enabled and configured; and
upon the determining that the log-producing device is an approved data source and that the log-producing device is enabled and configured, approving the log message for parsing.

### Claim 11 (depends on 10)

The method of claim 10, wherein determining the property of the log message comprises:
upon the determining that the log-producing device is not an approved data source, or upon the determining that the log-producing device not configured, copying, by the log receiver, the log message into an unapproved ring buffer configured to store a given number of log messages.

### Claim 12 (depends on 9)

The method of claim 9, wherein:
each of the first storage buffer and the second storage buffer is a first-in-first-out ring buffer; and
at least one of the first storage buffer or the second storage buffer includes a real-time view buffer configured to store the log message for real-time viewing.

### Claim 13 (depends on 9)

The method of claim 9, wherein extracting the data fields from the log message in the first storage buffer comprises:
searching the log message for one or more predetermined keywords;
determining a message type of the log message based on a result of the searching; and
extracting the data fields using a pre-determined function associated with the message type.

### Claim 14 (depends on 9)

The method of claim 9, wherein:
reading the one or more structured query language statements comprises:
examining the one or more structured query language statements, and
determining a database table for each of the one or more structured query language statements based on result of the examining; and
inserting the one or more structured query language statements into the one or more database tables comprises inserting each of the one or more structured query language statements into the corresponding database table.

### Claim 15 (depends on 14)

The method of claim 14, wherein:
each of the one or more database tables comprises at least one of an accept table, a deny table, a security table, a system table, a uniform resource locator (URL) table, or a file transfer protocol (FTP) table, and
inserting each of the one or more structured query language statements into the corresponding database table comprises:
inserting the structured query language statement into the deny table when the log message corresponding to the structured query language statement indicates a denial by the log-producing device;
inserting the structured query language statement into the system table when the log message corresponding to the structured query language statement indicates a system activity of the log-producing device;
inserting the structured query language statement into the URL table when the log message corresponding to the structured query language statement relates to a network user accessing a URL site;
inserting the structured query language statement into the FTP table when the log message corresponding to the structured query language statement relates to a network user requesting FTP service, or
inserting the structured query language statement into the accept table.

### Claim 16 (depends on 9)

The method of claim 9, wherein the second storage buffer is configured to receive structured query language statements from a plurality of procedures and to store the received structured query language statements in a queue.

### Claim 17

A non-transitory storage device storing computer instructions operable to cause one or more computers to perform operations comprising:
receiving, by a log receiver, a log message from the log-producing device;
determining, by the log receiver, a property of the log message;
copying, by the log receiver, the log message into a first storage buffer;
parsing, by a log parser, content of the first storage buffer, including:
extracting data fields from the log message in the first storage buffer; and
converting the extracted data fields into one or more structured query language statements;
copying, by the log parser, the one or more structured query language statements into a second buffer;
reading, by a database inserter, the one or more structured query language statements in the second storage buffer;
inserting, by the database inserter, the one or more structured query language statements into one or more database tables; and
summarizing, by a message collection engine, the one or more structured query language statements in the one or more database tables into summarized statements for storing on the non-transitory storage device.

### Claim 18 (depends on 17)

The non-transitory storage device of claim 17, wherein determining the property of the log message comprises:
determining whether the log-producing device is an approved data source, wherein the determining comprises comparing the log-producing device with a group of acceptable data sources;
determining whether the log-producing device is enabled and configured; and
upon the determining that the log-producing device is an approved data source and that the log-producing device is enabled and configured, approving the log message for parsing.

### Claim 19 (depends on 18)

The non-transitory storage device of claim 18, wherein determining the property of the log message comprises:
upon the determining that the log-producing device is not an approved data source, or upon the determining that the log-producing device not configured, copying, by the log receiver, the log message into an unapproved ring buffer configured to store a given number of log messages.

### Claim 20 (depends on 17)

The non-transitory storage device of claim 17, wherein:
each of the first storage buffer and the second storage buffer is a first-in-first-out ring buffer; and
at least one of the first storage buffer or the second storage buffer includes a real-time view buffer configured to store the log message for real-time viewing.

### Claim 21 (depends on 17)

The non-transitory storage device of claim 17, wherein extracting the data fields from the log message in the first storage buffer comprises:
searching the log message for one or more predetermined keywords;
determining a message type of the log message based on a result of the searching; and
extracting the data fields using a pre-determined function associated with the message type.

### Claim 22 (depends on 17)

The non-transitory storage device of claim 17, wherein:
reading the one or more structured query language statements comprises:
examining the one or more structured query language statements, and
determining a database table for each of the one or more structured query language statements based on result of the examining; and
inserting the one or more structured query language statements into the one or more database tables comprises inserting each of the one or more structured query language statements into the corresponding database table.

### Claim 23 (depends on 22)

The non-transitory storage device of claim 22, wherein:
each of the one or more database tables comprises at least one of an accept table, a deny table, a security table, a system table, a uniform resource locator (URL) table, or a file transfer protocol (FTP) table, and
inserting each of the one or more structured query language statements into the corresponding database table comprises:
inserting the structured query language statement into the deny table when the log message corresponding to the structured query language statement indicates a denial by the log-producing device;
inserting the structured query language statement into the system table when the log message corresponding to the structured query language statement indicates a system activity of the log-producing device;
inserting the structured query language statement into the URL table when the log message corresponding to the structured query language statement relates to a network user accessing a URL site;
inserting the structured query language statement into the FTP table when the log message corresponding to the structured query language statement relates to a network user requesting FTP service, or
inserting the structured query language statement into the accept table.

### Claim 24 (depends on 17)

The non-transitory storage device of claim 17, wherein the second storage buffer is configured to receive structured query language statements from a plurality of procedures and to store the received structured query language statements in a queue.
