Information extraction method, device and equipment and storage medium
An information extraction and preset format technology, applied in the field of data processing, can solve the problem of complex field extraction rules, save computing space and query time, facilitate query statistics, and reduce labor costs.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0023] figure 1 It is a flow chart of an information extraction method provided in Embodiment 1 of the present invention, which is applicable to the case of field extraction of a large number of logs in different formats. The method can be executed by the information extraction device provided in the embodiment of the present invention. The device can It is realized by means of software and / or hardware, and generally can be integrated in computer equipment.
[0024] Such as figure 1 As shown, the information extraction method provided in this embodiment specifically includes:
[0025] S110. Obtain a log of fields to be extracted.
[0026] The field extraction log refers to the log that needs field extraction.
[0027] S120. Determine a target log format that matches the log to be extracted.
[0028] Log format refers to the encoding format of the log. Specifically, it can be the description form and interval form of related information such as date, time, user, and action ...
Embodiment 2
[0060] figure 2 It is a flowchart of an information extraction method provided by Embodiment 2 of the present invention. This embodiment is embodied on the basis of the above-mentioned technical solution, wherein the format of the target log that matches the log to be extracted from the field can be determined, specifically:
[0061] When it is determined that there is no custom parsing rule corresponding to the log to be extracted, a target log format matching the log to be extracted is determined.
[0062] Further, when it is determined that there is a custom parsing rule corresponding to the log to be extracted, field extraction is performed on the log to be extracted according to the custom parsing rule.
[0063] Such as figure 2 As shown, the information extraction method provided in this embodiment specifically includes:
[0064] S210. Obtain a log of fields to be extracted.
[0065] S220. Determine whether there is a custom parsing rule corresponding to the log to...
Embodiment 3
[0082] image 3 It is a schematic structural diagram of an information extraction device provided in Embodiment 3 of the present invention, which is applicable to the case of extracting fields from a large number of logs in different formats. The device can be implemented by software and / or hardware, and can generally be integrated in in computer equipment.
[0083] Such as image 3 As shown, the information extraction device specifically includes: a log acquisition module 310 , a log format determination module 320 and a field extraction module 330 . in,
[0084]The log obtaining module 310 is configured to obtain the log to be extracted by the field;
[0085] The log format determination module 320 is configured to determine the target log format matching the log to be extracted from the field;
[0086] The field extraction module 330 is configured to extract the field name and field value conforming to the preset format according to the field extraction template matchin...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com