System and method for managing log data
AssigneeMachbase, Inc.
InventorSung Jin Kim
Life of this patent
Estimating the term…
Abstract
A system and method for efficiently managing log data to be transferred to a DBMS (database management system). The system includes a processor that detects a change in a log file and reads a log message; performs a first preprocessing to change the content of the log message when it is decided that inputting the log message to the DBMS is necessary, and that changing of the content of the log message is necessary; generates column data by parsing on the first preprocessed log message and separating the parsed log message into columns; performs a second preprocessing to change the content of the column data when it is decided that inputting the column data to the DBMS is necessary, and that changing of the content of the column data is necessary; and provides the second preprocessed column data to the DBMS.
Claims13
A system for managing log data, the system implemented by way of a computing terminal, the system comprising:
- a hardware processor configured to:
- detect a change in a log file composed of log data and read a log message including newly inputted log data information;
- determine, when the change in the log the is detected, whether or not to input the log message to a database management system (DBMS) or whether or not to change a content of the log message;
- in response to determinations that inputting the log message to the DBMS is necessary, and that changing of the content of the log message is necessary, generate a first command to perform a first preprocessing of the log message to change the content of the log message according to the generated first command, and perform parsing on the first preprocessed log message;
- in response to a determination that changing of the content of the log message is not necessary, perform parsing on the read log message;
- generate column data by separating the parsed log message into columns;
- determine whether or not to input the generated column data to the DBMS or whether or not to change a content of the generated column data;
- in response to determinations that inputting the generated column data to the DBMS is necessary, and that changing of the content of the generated column data is necessary, generate a second command to perform a second preprocessing of the generated column data to change the content of the generated column data according to the generated second command and provide the second preprocessed column data to the DBMS;
- and
- in response to a determination that changing of the content of the generated column data is not necessary, provide the generated column data to the DBMS.
A method for managing log data, the method implemented by way of a computing terminal, the method comprising:
- detecting a change in a log file composed of log data and reading a log message including newly inputted log data information;
- determining, when the change in the log file is detected, whether or not to input the log message to a database management system (DBMS) or whether or not to change a content of the log message;
- in response to determinations that inputting the log message to the DBMS is necessary, and that changing of the content of the log message is necessary, generating a first command, performing a first preprocessing of the log message to change the content of the log message according to the generated first command, and performing parsing on the first preprocessed log message;
- in response to a determination that changing of the content of the log message is not necessary, performing parsing on the read log message;
- generating column data by separating the parsed log message into columns;
- determining whether or not to input the generated column data to the DBMS or whether or not to change a content of the generated column data;
- in response to determinations that inputting the generated column data to the DBMS is necessary, and that changing of the content of the generated column data is necessary, generating a second command, performing a second preprocessing of the generated column data to change the content of the generated column data according to the generated second command, and providing the second preprocessed column data to the DBMS;
- and
- in response to a determination that changing of the content of the generated column data is not necessary, providing the generated column data to the DBMS.
Dependencies are inferred from the claim text.