CN111522922A - Log information query method and device, storage medium and computer equipment - Google Patents

Log information query method and device, storage medium and computer equipment Download PDF

Info

Publication number
CN111522922A
CN111522922A CN202010224612.4A CN202010224612A CN111522922A CN 111522922 A CN111522922 A CN 111522922A CN 202010224612 A CN202010224612 A CN 202010224612A CN 111522922 A CN111522922 A CN 111522922A
Authority
CN
China
Prior art keywords
log
information
query
log information
library
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010224612.4A
Other languages
Chinese (zh)
Other versions
CN111522922B (en
Inventor
刘青青
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Koubei Network Technology Co Ltd
Original Assignee
Zhejiang Koubei Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Koubei Network Technology Co Ltd filed Critical Zhejiang Koubei Network Technology Co Ltd
Priority to CN202010224612.4A priority Critical patent/CN111522922B/en
Publication of CN111522922A publication Critical patent/CN111522922A/en
Application granted granted Critical
Publication of CN111522922B publication Critical patent/CN111522922B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/332Query formulation
    • G06F16/3329Natural language query formulation or dialogue systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/338Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention discloses a log information query method, a log information query device, a storage medium and computer equipment, and relates to the technical field of networks. The method comprises the following steps: acquiring a log query request, and extracting a service unique identifier, a log query condition and authorization information from the log query request; according to the log query condition, searching log information which carries the service unique identifier and corresponds to the log query condition in at least one log library corresponding to the authorization information; and aggregating and analyzing the log information inquired from the at least one log library to obtain a log information inquiry result. The method can quickly determine the log library to be searched, omits the complex operation of looking up the log by each server, improves the efficiency of log query, reduces the time consumption of log query, and can conveniently find out the calling link of the service request corresponding to the service unique identifier, thereby finding out the problem of service request response failure.

Description

Log information query method and device, storage medium and computer equipment
Technical Field
The present invention relates to the field of network technologies, and in particular, to a method and an apparatus for querying log information, a storage medium, and a computer device.
Background
In the internet technology, multiple applications are usually called for one response of a network request, and the call links of many network requests are complex, and generally speaking, in a large service system, thousands of network requests may be initiated at the same time, and these network requests may go to different servers to call applications at the same time.
At present, log information generated when applications are called is an important basis for troubleshooting of calling link problems, the log information can record state information when each application is called by a node, and a calling link in the whole calling link can be found out through the log information, so that a problem solving method is found.
In the prior art, the query tool of the log information is generally only deployed on each application server, and when the call link problem is required to be checked by means of the log information, the log can only be checked by each server, so that the time consumption is long, and the checking efficiency is low.
Disclosure of Invention
In view of this, the present application provides a log information query method, system, storage medium and computer device, and mainly aims to solve the technical problems of long time consumption and low efficiency in log information query when a call link problem is checked.
According to a first aspect of the present invention, there is provided a log information query method, including:
acquiring a log query request, and extracting a service unique identifier, a log query condition and authorization information from the log query request;
according to the log query condition, searching log information which carries the service unique identifier and corresponds to the log query condition in at least one log library corresponding to the authorization information;
and carrying out aggregation and analysis processing on the log information inquired from at least one log library to obtain a log information inquiry result.
In one embodiment, before obtaining the log query request, the method further comprises: and collecting log information uploaded by each server in real time, and storing the log information in a log library corresponding to each server, wherein the log information uploaded by each server carries a service unique identifier.
In one embodiment, the log query condition includes keyword information, application environment information, log level information, and query time information; the authorization information comprises an account name and a password; searching out log information which carries the service unique identifier and corresponds to the log query condition from at least one log library corresponding to the authorization information according to the log query condition, wherein the log information comprises the following steps: determining at least one log library to be searched according to the account name and the password; and searching corresponding log information in at least one log library to be searched according to the service unique identifier, the keyword information, the application environment information, the log level information and the query time information.
In one embodiment, the keyword information includes a service number and log content; the application environment information comprises a development environment, a test environment, a pre-development environment and an online environment; the log level information includes a debugging level, a general level, an alarm level, and an error level; the query time information includes a log generation start time and a log generation end time.
In one embodiment, the aggregating and parsing process is performed on log information queried from at least one log repository to obtain a log information query result, including: aggregating the log information inquired from at least one log library on a cloud server; analyzing the application name, file path and log content of each piece of log information, log generation time and server IP address; and arranging the analyzed log information according to the time sequence of the application call or the time sequence of the application interface call to obtain a log information query result, wherein the log information query result comprises a full-link log investigation report corresponding to the service unique identifier.
In one embodiment, the method further comprises: and displaying the log information query result.
According to a second aspect of the present invention, there is provided a log information query apparatus, comprising:
the query request acquisition module is used for acquiring a log query request and extracting a service unique identifier, a log query condition and authorization information from the log query request;
the log information searching module is used for searching log information which carries the service unique identifier and corresponds to the log query condition in at least one log library corresponding to the authorization information according to the log query condition;
and the log information analysis module is used for aggregating and analyzing the log information inquired from at least one log library to obtain a log information inquiry result.
In one embodiment, the device further includes a log information collection module, where the log collection module is configured to collect log information uploaded by each server in real time, and store the log information in a log library corresponding to each server, where the log information uploaded by each server carries a service unique identifier.
In one embodiment, the log information search module is specifically configured to determine at least one log library to be searched according to an account name and a password; and searching corresponding log information in at least one log library to be searched according to the service unique identifier, the keyword information, the application environment information, the log level information and the query time information.
In one embodiment, the log information parsing module is specifically configured to aggregate log information queried from at least one log library on a cloud server; analyzing the application name, file path and log content of each piece of log information, log generation time and server IP address; and arranging the analyzed log information according to the time sequence of the application call or the time sequence of the application interface call to obtain a log information query result, wherein the log information query result comprises a full-link log investigation report corresponding to the service unique identifier.
In one embodiment, the apparatus further includes a query result presentation module, where the query result presentation module is configured to present a log information query result.
According to a third aspect of the present invention, there is provided a storage medium having stored thereon a computer program which, when executed by a processor, implements the above-described log information query method.
According to a fourth aspect of the present invention, there is provided a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the log information query method when executing the program.
The invention provides a log information query method, a log information query device, a storage medium and computer equipment. By the method, the log library to be searched can be quickly determined, the log information meeting the query conditions is searched in the log libraries, the complex operation of looking up logs by each server is omitted, the log query efficiency is improved, the time consumption of log query is reduced, in addition, the searched log information carries the service unique identifier, the call link of the service request corresponding to the service unique identifier can be very conveniently searched, and the problem of service request response failure can be effectively searched.
The foregoing description is only an overview of the technical solutions of the present application, and the present application can be implemented according to the content of the description in order to make the technical means of the present application more clearly understood, and the following detailed description of the present application is given in order to make the above and other objects, features, and advantages of the present application more clearly understandable.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a schematic flowchart illustrating a log information query method according to an embodiment of the present invention;
FIG. 2 is a flow chart of another log information query method according to an embodiment of the present invention;
fig. 3 is a schematic view illustrating a scenario of a log information query method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram illustrating a log information query apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram illustrating another log information query apparatus according to an embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
In one embodiment, as shown in fig. 1, a log information query method is provided, which is described by taking the method as an example of being applied to a cloud server, where the cloud server refers to a server configured on a cloud cluster. The method comprises the following steps:
101. and acquiring a log query request, and extracting a service unique identifier, a log query condition and authorization information from the log query request.
In this embodiment, each service request sent by the front end carries a unique service identifier, and the unique service identifier is transmitted to all called applications along with the service request, printed in a log after the calling is completed, and uploaded to a corresponding log library by a server where the application is located. The service request is also called a network request, and refers to a request message from a front end to a server, and the server responds to the request of the front end according to the request message, that is, the server executes the call of multiple applications according to the request message and returns a corresponding call result. The front end may include a mobile client and a web page end.
Further, in this embodiment, the log query condition may include restrictive information such as keyword information, application environment information, log level information, query time information, and the like; the authorization information may include user information such as account name and password.
Specifically, the cloud server can obtain a log query request of a user in real time, and extract a unique service identifier corresponding to a certain service request, key word information, application environment information, log level information, query time information and other information, as well as log query conditions, account names, passwords and other authorization information from the log query request.
102. And according to the log query condition, searching the log information which carries the service unique identifier and corresponds to the log query condition in at least one log library corresponding to the authorization information.
Specifically, the cloud server may first determine one or more log libraries to be searched according to the account name and the password, and then search corresponding log information in the one or more log libraries to be searched according to log query conditions such as the service unique identifier, the keyword information, the application environment information, the log level information, the query time information, and the like. In this embodiment, the log library corresponding to the authorization information may be one or a plurality of log libraries, the log information in the log library corresponding to the authorization information may be uploaded by one application server or a plurality of application servers, and according to the authorization of each log library to the cloud server, the cloud server may invoke the log information in the log library corresponding to the authorization information when the authorization information is satisfied.
103. And carrying out aggregation and analysis processing on the log information inquired from at least one log library to obtain a log information inquiry result.
Here, the aggregation process refers to a process of collecting and transmitting log information from a plurality of data sources, and the parsing process refers to a process of converting the log information into meaningful data to facilitate analysis.
Specifically, the cloud server will first aggregate the log information queried from at least one log library, then analyzing the application name, file path, log content, log generation time and server IP address of each log information which carries the service unique identification and corresponds to the log query condition, and finally, arranging the analyzed log information according to the time sequence of the application call or the time sequence of the application interface call to generate a log information query result, wherein, the log information query result can comprise a full link log investigation report corresponding to the service unique identifier, the full link log investigation report can record the state information of each application when being called by the node, and the full link log investigation report can be used for searching the log information of the application, the method and the device can enable the user to more efficiently find out the links which may cause problems in the calling link of the service request.
The log information query method provided by this embodiment first obtains a log query request carrying a service unique identifier, extracts a log query condition and authorization information from the log query request, then searches log information carrying the service unique identifier and corresponding to the log query condition in at least one log library corresponding to the authorization information according to the log query condition, and finally performs aggregation and analysis processing on the searched log information to obtain a log information query result. By the method, the log library to be searched can be quickly determined, the log information meeting the query conditions is searched in the log libraries, the complex operation of looking up logs by each server is omitted, the log query efficiency is improved, the time consumption of log query is reduced, in addition, the searched log information carries the service unique identifier, the call link of the service request corresponding to the service unique identifier can be very conveniently searched, and the problem of service request response failure can be effectively searched.
Further, as a refinement and an extension of the specific implementation of the above embodiment, in order to fully illustrate the implementation process of the embodiment, a log information query method is provided, as shown in fig. 2, and the method includes the following steps:
201. and collecting log information uploaded by each server in real time, and storing the log information in a log library corresponding to each server.
Specifically, the process of the application being called in each server is recorded in the log information, and then the agent collecting the log information collects the log information and uploads the log information to the corresponding log library. In this embodiment, the log library corresponding to the server may be on the local application server or on other application servers, and according to the authorization of each log library to the cloud server, the cloud server may retrieve the log information in the log library corresponding to the authorization information when the authorization information is satisfied. In this embodiment, the log information uploaded by each server carries a service unique identifier, and the service unique identifier is transmitted to each application by the server when the server responds to a service request and is printed in the log.
202. And acquiring a log query request, and extracting a service unique identifier, a log query condition and authorization information from the log query request.
Specifically, the cloud server can obtain a log query request of a user in real time, and extract a service unique identifier corresponding to a certain service request, log query conditions including information such as keyword information, application environment information, log level information and query time information, and authorization information such as an account name and a password from the log query request.
In this embodiment, the keyword information may include information such as a service number and log content; the application environment information can comprise a development environment, a test environment, a pre-development environment, an online environment and the like; the log level information may include a debug level, a general level, an alert level, and an error level; the query time information may include a log generation start time and a log generation end time. By setting the information, the query range of the log information can be accurately defined, so that the query is more targeted. For example, the log query condition may be the log information in the latest 1 hour with the log level being the error level and the service number being 001 in the development environment, and it can be understood that the log query condition may be transformed into an infinite number of combinations, so as to accurately lock the query range of the log information, thereby facilitating the user to efficiently query the log information meeting the requirements of the user.
203. And according to the log query condition, searching the log information which carries the service unique identifier and corresponds to the log query condition in at least one log library corresponding to the authorization information.
Specifically, the cloud server may first determine one or more log libraries to be searched according to the account name and the password, and then search corresponding log information in the one or more log libraries to be searched according to log query conditions such as the service unique identifier, the keyword information, the application environment information, the log level information, the query time information, and the like. In this embodiment, the log library corresponding to the authorization information may be one or multiple log libraries, and the log information in the log library corresponding to the authorization information may be uploaded by one application server or multiple application servers.
In this embodiment, the log library to be searched may be one or multiple, depending on the authorization of the user to the access authority of the log library, for the log library authorized to be accessed by the user, the cloud database may search and acquire the log information in the log library, and for the unauthorized log library, the cloud database does not have the access authority.
204. And carrying out aggregation and analysis processing on the log information inquired from at least one log library to obtain a log information inquiry result.
Specifically, the cloud server will aggregate the log information queried from at least one log library, then analyzing the application name, file path, log content, log generation time and server IP address of each log information which carries the service unique identification and corresponds to the log query condition, and finally, arranging the analyzed log information according to the time sequence of the application call or the time sequence of the application interface call to generate a log information query result, wherein, the log information query result can comprise a full link log investigation report corresponding to the service unique identifier, the full link log investigation report can record the state information of each application when being called by the node, and the full link log investigation report can be used for searching the log information of the application, the method and the device can enable the user to more efficiently find out the links which may cause problems in the calling link of the service request.
205. And displaying the log information query result.
Specifically, the cloud server can display the log information query result, the displayed information can include information such as an application name, a file path, log content, log generation time, and a server IP address of each piece of log information, and each piece of log information is arranged according to the time sequence of application call or the time sequence of application interface call, so that a user can conveniently find valuable log information. In addition, through the display function of the log information, the user can also remotely access the login interface of the server where the application is located, so that remote access to the application server is initiated.
The log query method provided by this embodiment may be applied to the scenario shown in fig. 3, as shown in fig. 3, each service request carries a service unique identifier, the service unique identifier may be transparently transmitted (by transparent transmission) from a front end to all invoked applications, and after the invocation is completed, the service unique identifier is printed in log information and then uploaded to a corresponding log library by a server where the application is located. When a user initiates a log information query request, a log query service platform deployed on a cloud server initiates log search on one or more log libraries according to the log query request, and after corresponding log information is searched, the log query service platform aggregates and analyzes the log information and displays the log information to the user, so that the user can know a service call link more intuitively, and the problem of failed service request response can be effectively searched.
Further, as a specific implementation of the method shown in fig. 1 to fig. 3, this embodiment provides a log information query apparatus, as shown in fig. 4, the apparatus includes: a query request acquisition module 31, a log information search module 32, and a log information analysis module 33.
The query request acquisition module 31 is configured to acquire a log query request, and extract a service unique identifier, a log query condition, and authorization information from the log query request;
the log information searching module 32 is configured to search, according to the log query condition, at least one log library corresponding to the authorization information for log information that carries the unique service identifier and corresponds to the log query condition;
the log information analyzing module 33 may be configured to aggregate and analyze the log information queried from the at least one log library to obtain a log information query result.
In a specific application scenario, as shown in fig. 5, the apparatus further includes a log information collection module 34, where the log collection module 34 is configured to collect log information uploaded by each server in real time, and store the log information in a log library corresponding to each server, where the log information uploaded by each server carries a unique service identifier.
In a specific application scenario, the log information search module 32 may be specifically configured to determine at least one log library to be searched according to an account name and a password; and searching corresponding log information in at least one log library to be searched according to the service unique identifier, the keyword information, the application environment information, the log level information and the query time information.
In a specific application scenario, the log information parsing module 33 is specifically configured to aggregate log information queried from at least one log library on a cloud server; analyzing each application name, file path and log content of the log information which carries the service unique identification and corresponds to the log query condition, log generation time and server IP address; and arranging the analyzed log information according to the time sequence of the application call or the time sequence of the application interface call to obtain a log information query result, wherein the log information query result comprises a full-link log investigation report corresponding to the service unique identifier.
In a specific application scenario, as shown in fig. 5, the apparatus further includes a query result presentation module 35, where the query result presentation module 35 may be configured to present a log information query result.
It should be noted that other corresponding descriptions of the functional units related to the log information query device provided in this embodiment may refer to the corresponding descriptions in fig. 1 to fig. 3, and are not described herein again.
Based on the methods shown in fig. 1 and fig. 2, correspondingly, the present embodiment further provides a storage medium, on which a computer program is stored, and the program, when executed by a processor, implements the log information query method shown in fig. 1 and fig. 2.
Based on such understanding, the technical solution of the present application may be embodied in the form of a software product, and the software product to be identified may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, or the like), and include several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the method according to the implementation scenarios of the present application.
Based on the foregoing methods shown in fig. 1 and fig. 2 and the log information query apparatus embodiments shown in fig. 4 and fig. 5, to achieve the foregoing object, this embodiment further provides an entity device for log information query, which may specifically be a personal computer, a server, a smart phone, a tablet computer, a smart watch, or other network devices, and the entity device includes a storage medium and a processor; a storage medium for storing a computer program; a processor for executing the computer program to implement the above-mentioned methods as shown in fig. 1 and fig. 2.
Optionally, the entity device may further include a user interface, a network interface, a camera, a Radio Frequency (RF) circuit, a sensor, an audio circuit, a WI-FI module, and the like. The user interface may include a Display screen (Display), an input unit such as a keypad (Keyboard), etc., and the optional user interface may also include a USB interface, a card reader interface, etc. The network interface may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), etc.
Those skilled in the art will appreciate that the physical device structure of the log information query provided in this embodiment does not constitute a limitation to the physical device, and may include more or less components, or combine some components, or arrange different components.
The storage medium may further include an operating system and a network communication module. The operating system is a program for managing the hardware of the above-mentioned entity device and the software resources to be identified, and supports the operation of the information processing program and other software and/or programs to be identified. The network communication module is used for realizing communication among components in the storage medium and communication with other hardware and software in the information processing entity device.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present application can be implemented by software plus a necessary general hardware platform, and can also be implemented by hardware. By applying the technical scheme of the application, the log library to be searched can be quickly determined, the log information meeting the query condition can be searched in the log library, and meanwhile, the call link of the service request corresponding to the service unique identifier can be conveniently searched. Compared with the prior art, the technical scheme of the request omits the tedious operation of looking up the log by each server, improves the efficiency of log query, reduces the time consumption of log query, and can effectively solve the problem of service request response failure.
Those skilled in the art will appreciate that the figures are merely schematic representations of one preferred implementation scenario and that the blocks or flow diagrams in the figures are not necessarily required to practice the present application. Those skilled in the art will appreciate that the modules in the devices in the implementation scenario may be distributed in the devices in the implementation scenario according to the description of the implementation scenario, or may be located in one or more devices different from the present implementation scenario with corresponding changes. The modules of the implementation scenario may be combined into one module, or may be further split into a plurality of sub-modules.
The above application serial numbers are for description purposes only and do not represent the superiority or inferiority of the implementation scenarios. The above disclosure is only a few specific implementation scenarios of the present application, but the present application is not limited thereto, and any variations that can be made by those skilled in the art are intended to fall within the scope of the present application.

Claims (10)

1. A log information query method, characterized in that the method comprises:
acquiring a log query request, and extracting a service unique identifier, a log query condition and authorization information from the log query request;
according to the log query condition, searching log information which carries the service unique identifier and corresponds to the log query condition in at least one log library corresponding to the authorization information;
and aggregating and analyzing the log information inquired from the at least one log library to obtain a log information inquiry result.
2. The method of claim 1, wherein prior to obtaining the log query request, the method further comprises:
collecting log information uploaded by each server in real time, and storing the log information in a log library corresponding to each server, wherein the log information uploaded by each server carries a service unique identifier.
3. The method of claim 2, wherein the log query condition includes keyword information, application environment information, log level information, and query time information; the authorization information comprises an account name and a password;
then, the searching out the log information which carries the unique service identifier and corresponds to the log query condition from at least one log library corresponding to the authorization information according to the log query condition includes:
determining at least one log library to be searched according to the account name and the password;
and searching corresponding log information in the at least one log library to be searched according to the service unique identifier, the keyword information, the application environment information, the log level information and the query time information.
4. The method of claim 3, wherein the keyword information comprises a service number and log content; the application environment information comprises a development environment, a test environment, a pre-development environment and an online environment; the log level information includes a debugging level, a general level, an alarm level, and an error level; the query time information includes a log generation start time and a log generation end time.
5. The method according to claim 4, wherein the aggregating and parsing the log information queried from the at least one log repository to obtain a log information query result comprises:
aggregating the log information inquired from the at least one log library on a cloud server;
analyzing the application name, file path, log content, log generation time and server IP address of each piece of log information;
and arranging the analyzed log information according to the time sequence of the application call or the time sequence of the application interface call to obtain a log information query result, wherein the log information query result comprises a full-link log investigation report corresponding to the service unique identifier.
6. The method of claim 5, further comprising:
and displaying the log information query result.
7. An apparatus for querying log information, the apparatus comprising:
the query request acquisition module is used for acquiring a log query request and extracting a service unique identifier, a log query condition and authorization information from the log query request;
the log information searching module is used for searching log information which carries the service unique identifier and corresponds to the log query condition in at least one log library corresponding to the authorization information according to the log query condition;
and the log information analysis module is used for aggregating and analyzing the log information inquired from the at least one log library to obtain a log information inquiry result.
8. The device according to claim 7, further comprising a log information collection module, wherein the log information collection module is configured to collect log information uploaded by each server in real time and store the log information in a log library corresponding to each server, and the log information uploaded by each server carries a unique service identifier.
9. A storage medium having a computer program stored thereon, the computer program, when being executed by a processor, realizing the steps of the method of any one of claims 1 to 6.
10. A computer arrangement comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the computer program realizes the steps of the method of any one of claims 1 to 6 when executed by the processor.
CN202010224612.4A 2020-03-26 2020-03-26 Log information query method and device, storage medium and computer equipment Active CN111522922B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010224612.4A CN111522922B (en) 2020-03-26 2020-03-26 Log information query method and device, storage medium and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010224612.4A CN111522922B (en) 2020-03-26 2020-03-26 Log information query method and device, storage medium and computer equipment

Publications (2)

Publication Number Publication Date
CN111522922A true CN111522922A (en) 2020-08-11
CN111522922B CN111522922B (en) 2023-08-22

Family

ID=71910555

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010224612.4A Active CN111522922B (en) 2020-03-26 2020-03-26 Log information query method and device, storage medium and computer equipment

Country Status (1)

Country Link
CN (1) CN111522922B (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112148674A (en) * 2020-10-12 2020-12-29 平安科技(深圳)有限公司 Log data processing method and device, computer equipment and storage medium
CN112148700A (en) * 2020-10-12 2020-12-29 平安科技(深圳)有限公司 Log data processing method and device, computer equipment and storage medium
CN112231287A (en) * 2020-09-06 2021-01-15 厦门天锐科技股份有限公司 System log processing method and device, electronic equipment and medium
CN112256658A (en) * 2020-10-16 2021-01-22 海尔优家智能科技(北京)有限公司 Log record shunting method and device, storage medium and electronic device
CN112416897A (en) * 2020-11-18 2021-02-26 青岛海尔科技有限公司 Log query method and device, storage medium and electronic device
CN112433991A (en) * 2020-11-20 2021-03-02 苏宁金融科技(南京)有限公司 Problem positioning method and device
CN112541009A (en) * 2020-12-23 2021-03-23 平安普惠企业管理有限公司 Data query method and device, electronic equipment and storage medium
CN112667589A (en) * 2020-12-30 2021-04-16 北京明朝万达科技股份有限公司 Log management method, device and system
CN112835856A (en) * 2021-02-01 2021-05-25 长沙市到家悠享网络科技有限公司 Log data query method and device, equipment and medium
CN113407511A (en) * 2021-06-23 2021-09-17 中移(杭州)信息技术有限公司 Log aggregation method, log aggregation equipment and computer program product
CN113590372A (en) * 2021-08-10 2021-11-02 平安普惠企业管理有限公司 Log-based link tracking method and device, computer equipment and storage medium
CN113590572A (en) * 2021-07-21 2021-11-02 用友汽车信息科技(上海)股份有限公司 Log viewing method and device, electronic equipment and readable storage medium
CN113761015A (en) * 2020-10-22 2021-12-07 北京京东振世信息技术有限公司 Log processing method, device and system and storage medium
CN113918606A (en) * 2021-12-15 2022-01-11 湖北亿咖通科技有限公司 Log query method and device
CN116701337A (en) * 2023-08-04 2023-09-05 腾讯科技(深圳)有限公司 Log data processing method and device, electronic equipment and storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012016194A1 (en) * 2010-07-30 2012-02-02 Mohammad Al Hasan Query suggestion for e-commerce sites
CN102880541A (en) * 2012-09-28 2013-01-16 用友软件股份有限公司 Log information acquisition system and log information acquisition method
US20130031613A1 (en) * 2011-07-26 2013-01-31 Salesforce.Com, Inc. Secure access to customer log data in a multi-tenant environment
CN105824958A (en) * 2016-03-31 2016-08-03 广州华多网络科技有限公司 Method, device and system for inquiring log
CN107463602A (en) * 2017-06-15 2017-12-12 努比亚技术有限公司 A kind of log processing method and server, client
CN107861859A (en) * 2017-11-22 2018-03-30 北京汇通金财信息科技有限公司 A kind of blog management method and system based on micro services framework
CN108197200A (en) * 2017-12-27 2018-06-22 金蝶软件(中国)有限公司 Daily record method for tracing, device, computer equipment and storage medium
CN108737467A (en) * 2017-04-19 2018-11-02 腾讯科技(深圳)有限公司 A kind of server log inspection method, device and system
CN109408337A (en) * 2018-10-31 2019-03-01 京东方科技集团股份有限公司 A kind of method and device of interface O&M
US20190205474A1 (en) * 2017-12-29 2019-07-04 Facebook, Inc. Mining Search Logs for Query Metadata on Online Social Networks
WO2019140828A1 (en) * 2018-01-17 2019-07-25 平安科技(深圳)有限公司 Electronic apparatus, method for querying logs in distributed system, and storage medium
CN110532347A (en) * 2019-09-02 2019-12-03 北京博睿宏远数据科技股份有限公司 A kind of daily record data processing method, device, equipment and storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012016194A1 (en) * 2010-07-30 2012-02-02 Mohammad Al Hasan Query suggestion for e-commerce sites
US20130031613A1 (en) * 2011-07-26 2013-01-31 Salesforce.Com, Inc. Secure access to customer log data in a multi-tenant environment
CN102880541A (en) * 2012-09-28 2013-01-16 用友软件股份有限公司 Log information acquisition system and log information acquisition method
CN105824958A (en) * 2016-03-31 2016-08-03 广州华多网络科技有限公司 Method, device and system for inquiring log
CN108737467A (en) * 2017-04-19 2018-11-02 腾讯科技(深圳)有限公司 A kind of server log inspection method, device and system
CN107463602A (en) * 2017-06-15 2017-12-12 努比亚技术有限公司 A kind of log processing method and server, client
CN107861859A (en) * 2017-11-22 2018-03-30 北京汇通金财信息科技有限公司 A kind of blog management method and system based on micro services framework
CN108197200A (en) * 2017-12-27 2018-06-22 金蝶软件(中国)有限公司 Daily record method for tracing, device, computer equipment and storage medium
US20190205474A1 (en) * 2017-12-29 2019-07-04 Facebook, Inc. Mining Search Logs for Query Metadata on Online Social Networks
WO2019140828A1 (en) * 2018-01-17 2019-07-25 平安科技(深圳)有限公司 Electronic apparatus, method for querying logs in distributed system, and storage medium
CN109408337A (en) * 2018-10-31 2019-03-01 京东方科技集团股份有限公司 A kind of method and device of interface O&M
CN110532347A (en) * 2019-09-02 2019-12-03 北京博睿宏远数据科技股份有限公司 A kind of daily record data processing method, device, equipment and storage medium

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112231287A (en) * 2020-09-06 2021-01-15 厦门天锐科技股份有限公司 System log processing method and device, electronic equipment and medium
WO2021189953A1 (en) * 2020-10-12 2021-09-30 平安科技(深圳)有限公司 Log data processing method and apparatus, computer device, and storage medium
CN112148700A (en) * 2020-10-12 2020-12-29 平安科技(深圳)有限公司 Log data processing method and device, computer equipment and storage medium
CN112148674B (en) * 2020-10-12 2023-12-19 平安科技(深圳)有限公司 Log data processing method, device, computer equipment and storage medium
CN112148674A (en) * 2020-10-12 2020-12-29 平安科技(深圳)有限公司 Log data processing method and device, computer equipment and storage medium
CN112256658A (en) * 2020-10-16 2021-01-22 海尔优家智能科技(北京)有限公司 Log record shunting method and device, storage medium and electronic device
CN112256658B (en) * 2020-10-16 2023-08-18 海尔优家智能科技(北京)有限公司 Log record distribution method and device, storage medium and electronic device
CN113761015B (en) * 2020-10-22 2023-09-05 北京京东振世信息技术有限公司 Log processing method, device, system and storage medium
CN113761015A (en) * 2020-10-22 2021-12-07 北京京东振世信息技术有限公司 Log processing method, device and system and storage medium
CN112416897B (en) * 2020-11-18 2023-07-21 青岛海尔科技有限公司 Log query method and device, storage medium and electronic device
CN112416897A (en) * 2020-11-18 2021-02-26 青岛海尔科技有限公司 Log query method and device, storage medium and electronic device
CN112433991A (en) * 2020-11-20 2021-03-02 苏宁金融科技(南京)有限公司 Problem positioning method and device
CN112541009A (en) * 2020-12-23 2021-03-23 平安普惠企业管理有限公司 Data query method and device, electronic equipment and storage medium
CN112541009B (en) * 2020-12-23 2023-10-13 湖北华中电力科技开发有限责任公司 Data query method, device, electronic equipment and storage medium
CN112667589A (en) * 2020-12-30 2021-04-16 北京明朝万达科技股份有限公司 Log management method, device and system
CN112667589B (en) * 2020-12-30 2023-09-01 北京明朝万达科技股份有限公司 Log management method, device and system
CN112835856A (en) * 2021-02-01 2021-05-25 长沙市到家悠享网络科技有限公司 Log data query method and device, equipment and medium
CN113407511A (en) * 2021-06-23 2021-09-17 中移(杭州)信息技术有限公司 Log aggregation method, log aggregation equipment and computer program product
CN113590572A (en) * 2021-07-21 2021-11-02 用友汽车信息科技(上海)股份有限公司 Log viewing method and device, electronic equipment and readable storage medium
CN113590372A (en) * 2021-08-10 2021-11-02 平安普惠企业管理有限公司 Log-based link tracking method and device, computer equipment and storage medium
CN113918606A (en) * 2021-12-15 2022-01-11 湖北亿咖通科技有限公司 Log query method and device
CN116701337A (en) * 2023-08-04 2023-09-05 腾讯科技(深圳)有限公司 Log data processing method and device, electronic equipment and storage medium
CN116701337B (en) * 2023-08-04 2024-01-16 腾讯科技(深圳)有限公司 Log data processing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN111522922B (en) 2023-08-22

Similar Documents

Publication Publication Date Title
CN111522922B (en) Log information query method and device, storage medium and computer equipment
CN110245078B (en) Software pressure testing method and device, storage medium and server
CN110362544B (en) Log processing system, log processing method, terminal and storage medium
CN112491602B (en) Behavior data monitoring method and device, computer equipment and medium
CN109039787B (en) Log processing method and device and big data cluster
CN103428042A (en) Method and system for carrying out stress test on server
US9558307B1 (en) System and method for providing a scalable server-implemented regression query environment for remote testing and analysis of a chip-design model
CN111614483A (en) Link monitoring method and device, storage medium and computer equipment
CN110704476A (en) Data processing method, device, equipment and storage medium
CN114077525A (en) Abnormal log processing method and device, terminal equipment, cloud server and system
CN110569179A (en) Data acquisition system and data acquisition method
CN111654495B (en) Method, apparatus, device and storage medium for determining traffic generation source
CN112925757A (en) Method, equipment and storage medium for tracking operation log of intelligent equipment
CN107368407B (en) Information processing method and device
CN114328566A (en) Relationship graph updating method, device, medium, equipment and generating method
CN110866031B (en) Database access path optimization method and device, computing equipment and medium
CN112579406B (en) Log call chain generation method and device
CN111224981B (en) Data processing method and device, electronic equipment and storage medium
CN114546814A (en) Recording playback method, recording playback device and storage medium
CN115827379A (en) Abnormal process detection method, device, equipment and medium
CN116126808A (en) Behavior log recording method, device, computer equipment and storage medium
CN110515803B (en) Processing method and device for log message and electronic equipment
CN111104328B (en) Use case generation method and device, computer equipment and readable storage medium
CN114371969A (en) Page performance testing method and device, electronic equipment and storage medium
CN114138762A (en) Data processing method, device, storage medium and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant