A log query method, device, equipment and storage medium
A query method and log technology, which is applied in the computer field, can solve the problems of large search data, low query efficiency, and difficulty in quickly querying log data, etc., and achieve the effect of improving efficiency and fast query
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0045] figure 1 It is a flow chart of the log query method provided by Embodiment 1 of the present invention. This embodiment is applicable to the case where the log matching the query instruction is quickly queried, and the method can be executed by a log query device, which can use software and / or implemented in hardware, and integrated in the log query device that executes the method; wherein, the log query device can be an electronic device such as a computer, a server, or a tablet computer. Specifically, refer to figure 1 , the method specifically includes the following steps:
[0046] Step 110: In response to the log query instruction, analyze the log query instruction to obtain at least one reference field.
[0047] Wherein, the log query instruction may be a query instruction in any operating environment or computer language, and its specific form is not limited in this embodiment.
[0048] In an optional implementation manner of this embodiment, after receiving the...
Embodiment 2
[0060] figure 2 It is a flowchart of a log query method in Embodiment 2 of the present invention. This embodiment is a further refinement of the above-mentioned technical solutions. The technical solutions in this embodiment can be compared with each of the above-mentioned one or more embodiments. Optional combination. Such as figure 2 As shown, the log query method may include the following steps:
[0061] Step 210, obtain multiple historical log query instructions and analyze them to obtain multiple target fields; count the query frequency of each target field, and obtain the target fields whose query frequency is greater than or equal to the set threshold value and determine them as accelerated fields; The overlapping ones are stored in the standard field set, and the query indexes of each accelerated field in the standard field set are respectively established.
[0062] In an optional implementation of this embodiment, before parsing the log query command in response ...
Embodiment 3
[0087] image 3 It is a flowchart of a log query method in Embodiment 3 of the present invention. This embodiment is a further refinement of the above-mentioned technical solutions. The technical solutions in this embodiment can be compared with each of the above-mentioned one or more embodiments. Optional combination. Such as image 3 As shown, the log query method may include the following steps:
[0088] Step 310: In response to the log query instruction, parse the log query instruction to obtain at least one reference field.
[0089] Step 320: Determine the consistency between each reference field and each standard field in the standard field set; when the target reference field is consistent with the target standard field, determine that each reference field contains at least one target standard field.
[0090] In an optional implementation of this embodiment, after parsing the log query instruction to obtain at least one reference finger, the consistency between each ...
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