Log processing method, system and device, client and storage medium
A processing method and client-side technology, applied in the file system, file system function, file system type, etc., can solve the problem that the log processing system cannot obtain data, and achieve the effect of improving the user experience
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0027] figure 1 It is a flow chart of a log processing method applicable to a log processing client provided in Embodiment 1 of the present invention. This embodiment is applicable to the case where the obtained change operation log is processed to obtain data before and after the change operation respectively. The method can be executed by the log processing device provided in the embodiment of the present invention, and the device can be implemented by software and / or hardware.
[0028] see figure 1 , the method of the embodiment of the present invention specifically includes the following steps:
[0029] S110. Obtain a change operation log based on the middleware, wherein the change operation log is a corresponding log sent by the log acquisition server when the log is changed based on the middleware listening to the preset binary log of the relational database.
[0030] Among them, a relational database is a database based on a relational model, such as MySQL, SQLServer...
Embodiment 2
[0046] Before introducing the second embodiment, the ELK architecture in the prior art is analyzed in detail again: first, Logstash consumes high resources due to high CPU and memory usage during operation; in addition, it reads from the MySQL table Fetching log data, this reading process will put a lot of pressure on MySQL, and the reading result is only the updated data (that is, incremental update), and it cannot directly operate on the reading result. Secondly, Elasticsearch can provide the three functions of collecting, analyzing and storing log data. It is more suitable for application scenarios with more read operations, while most log processing systems involve write operations and read operations. Mostly it only appears in a small number of scenarios such as troubleshooting. Again, Kibana's visualization function is even more irrelevant in a log processing system that mainly records log data.
[0047] corresponding, figure 2 It is a schematic structural diagram of ...
Embodiment 3
[0052] image 3 It is a schematic structural diagram of a log processing system provided in Embodiment 3 of the present invention. This embodiment is optimized on the basis of the above-mentioned technical solutions. In this embodiment, optionally, the above-mentioned log processing system may further include a log search server, configured to search the log database according to the received search criteria input by the user, and match the searched ones with the search criteria The target data is returned. Wherein, explanations of terms that are the same as or corresponding to the above embodiments are not repeated here.
[0053] see image 3 , the log processing system of this embodiment may include: a log acquisition server 30 configured with middleware, a log processing client 31 configured with middleware, a log database 32, and a log search server 33, wherein the log acquisition service The terminal 30 is used to obtain the corresponding change operation log when mon...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


