Log maintenance method and system based on full-text retrieval
A technology for maintaining systems and logs, applied in other database retrieval, special data processing applications, instruments, etc., can solve the problems of slow, laborious and time-consuming, and inability to find data, achieve fast processing speed, improve maintenance efficiency, and is conducive to maintenance effect
Active Publication Date: 2015-11-11
北京思特奇信息技术股份有限公司
View PDF5 Cites 11 Cited by
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
[0004] 1. Some subsystems will write the logs of different businesses into the same file in the way of centralized output, such as java applications, which flip the log files according to time or file size, and the flipped log files are based on business needs or In the case of storage space, delete or back up the older ones to other hosts regularly. The log files generated in this case are usually large in size, and it will be slow to find data in these large files;
[0005] 2. In addition, some systems will output logs to different files according to different businesses or processes. These log files will not be processed by flipping, but will be cleared directly by external shell scripts regularly, which will lead to such Situation: When you want to check the relevant logs after a period of time, they have been cleared and cannot be found
[0006] It is always a laborious and time-consuming task for maintenance personnel to frequently search for clues in these log files of various forms during the maintenance process. ten seconds
Method used
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View moreImage
Smart Image Click on the blue labels to locate them in the text.
Smart ImageViewing Examples
Examples
Experimental program
Comparison scheme
Effect test
specific Embodiment
[0105] 1. Deploy storage nodes;
[0106] 2. Install the coordination service process on some storage nodes;
[0107] 3. Deploy the log receiving process, index generation process, resource usage collection process, and index agent process on all storage nodes;
[0108] 4. Deploy log collection agents on the business system;
[0109] 5. Deploy the retrieval server separately.
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More PUM
Login to View More Abstract
The invention relates to a log maintenance method and system based on full-text retrieval. The method comprises the following steps: 1) collecting logs, and storing collected log acquisition files into storage nodes; 2) generating indexes for all log acquisition files stored into the storage nodes; 3) establishing a retrieval agent for each node; 4) receiving an external retrieval request by a server, and sending the retrieval request to the retrieval agent to generate a retrieval port; 5) obtaining retrieval result data; and 6) feeding the retrieval result data back to the server through the retrieval port. The logs of all business systems are subjected to centralized management, which is favorable for the maintenance of the log files. A quick means for analyzing business faults is provided for business maintenance personnel, and maintenance efficiency is improved. The log storage nodes which are deployed in a cluster mode make a preparation for business increase. Retrieval and index generation are processed in parallel on each storage node to provide a quick processing speed.
Description
Technical field [0001] The invention relates to a log maintenance method and system based on full-text retrieval. Background technique [0002] In the business support system of telecom operators, due to the huge daily business transaction volume, massive log data will be generated. However, it is inevitable to analyze the log data in the process of user report and troubleshooting during daily maintenance. The method is that the background maintenance personnel analyze the content of the failure report, first guess the subsystem that may cause the failure, and then log in to the operating host of the subsystem (at this stage, a considerable proportion of the operators' systems are running in the x86 cluster environment, the same subsystem It may be composed of dozens of hosts), and then manually search the relevant log files at the time of the failure on the host. This process may consume a lot of time and labor costs. [0003] For the processing of log files in existing systems, ...
Claims
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More Application Information
Patent Timeline
Login to View More Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
CPCG06F16/903
Inventor 官元峰
Owner 北京思特奇信息技术股份有限公司
