Log analysis device, log analysis method, and log analysis program
The log analysis device converts trace information into summary metrics using weighted stacked graphs, improving analysis efficiency and accuracy by enabling easier comparison across logs of varying granularities.
Patent Information
- Application Number
- JP2023053319
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-29
- Publication Date
- 2024-10-10
- Estimated Expiration
- 2043-03-29
AI Technical Summary
Existing log analysis methods struggle with inefficiencies and inaccuracies due to the conversion of detailed trace information into summary metrics, leading to time-consuming and error-prone analysis, especially when dealing with logs of varying granularities from different systems.
A log analysis device and method that converts detailed trace information into summary metrics by calculating weights and generating stacked graphs, allowing for unified visualization and comparison of logs with different granularities, thereby improving efficiency and accuracy.
Enhances the efficiency and accuracy of log analysis by facilitating easier comparison and quicker identification of abnormality causes through unified data format visualization.
Smart Images

Figure 2024141585000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a log analysis device, a log analysis method, and a log analysis program. [Background technology]
[0002] For example, in a system executed on a computer, a log including event results or messages is output. When an abnormality occurs in the system, a user identifies the cause of the abnormality by analyzing the output log. Conventionally, an apparatus for analyzing logs is disclosed in, for example, Patent Document 1. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] International Publication No. 2017 / 169949 Summary of the Invention [Problem to be solved by the invention]
[0004] However, Patent Document 1 does not mention anything about improving the efficiency and accuracy of log analysis and shortening the time it takes to resolve issues by approximately converting logs output from monitored objects, which are detailed information, into metrics, which are summary information, and visualizing information of different granularities in a unified data format to facilitate comparison.
[0005] The present invention has been made in consideration of the above, and aims to provide a log analysis device, a log analysis method, and a log analysis program that can improve the efficiency and accuracy of log analysis and shorten the time it takes to solve problems by performing an approximate conversion of logs output from monitored objects, which are traces, which are detailed information, into metrics, which are summary information, and visualizing information of different granularities in a unified data format to facilitate comparison. [Means for solving the problem]
[0006] In order to solve the above-mentioned problems and achieve the objective, the present invention is characterized by comprising an acquisition means for acquiring metrics for checking the overview of the log output from the monitored object and a trace for checking the details, a conversion means for converting the trace to approximate the data format of the metrics of the comparison object, and an output means for displaying and outputting the metrics of the comparison object and the converted trace on a comparison analysis screen.
[0007] Furthermore, according to one aspect of the present invention, the trace is characterized in that it includes information on a process which is a unit for recording the source log or a unit for logically aggregating the callers of that process, an end time, a processing time, and a weight which is an index of the source corresponding to the metric to be compared.
[0008] Furthermore, according to one aspect of the present invention, the processing may include a screen name or a job name in an application log, a URI of a Web server, or a stored procedure or a function name in a DB log, and the weighting may include CPU time which is a CPU load, physical reads which is a memory load, physical reads and writes which are a disk load, or the number of data rows retrieved or the number of rows to be updated which are network loads.
[0009] In addition, according to one aspect of the present invention, the conversion means may calculate the start time for the trace from the end time and processing time, calculate the average weight per acquisition interval of the metric to be compared, map the calculated weight per time into a time series table, generate a stacked graph with the horizontal axis representing time and the vertical axis representing the magnitude of the weight, and treat the waveform of the stacked graph as an approximation of the metric to be compared.
[0010] Furthermore, according to one aspect of the present invention, the conversion means may be provided with a load ranking generation function that generates a load ranking of each process for a specific period based on a table in which the calculated weights per unit time are mapped to a time series.
[0011] Furthermore, according to one aspect of the present invention, the conversion means may be provided with a simulation function for changing the processing weight for each time period through user operation, and generating a stacked graph of the changed weight with the horizontal axis representing time and the vertical axis representing the magnitude of the weight.
[0012] In addition, in order to solve the above-mentioned problems and achieve the objective, the present invention is a log analysis method executed by an information processing device equipped with a control unit, and is characterized by including an acquisition process for acquiring metrics for checking an overview of a log output from a monitored object and a trace for checking details, a conversion process for converting the trace to approximate a data format of the metrics of a comparison object, and an output process for displaying and outputting the metrics of the comparison object and the converted trace on a comparison analysis screen.
[0013] In order to solve the above-mentioned problems and achieve the object, the present invention provides a log analysis program to be executed by an information processing device having a control unit, the program comprising: an acquisition step of acquiring metrics for checking an overview of a log output from a monitoring target and a trace for checking the details; a conversion step of converting the trace so as to approximate a data format of the metrics to be compared; and an output step of displaying and outputting the metrics to be compared and the converted trace on a comparison analysis screen. Effect of the Invention
[0014] According to this invention, it is possible to improve the efficiency and accuracy of log analysis by approximately converting detailed information, such as traces, into summary information, such as metrics, for logs output from monitored objects, and visualizing information of different granularities in a unified data format to facilitate comparison. This has the effect of making the [Brief description of the drawings]
[0015] [Figure 1] FIG. 1 is a diagram for explaining the background of the problem. [Diagram 2]FIG. 2 is a diagram for explaining the background of the problem. [Diagram 3] FIG. 3 is a block diagram showing an example of the configuration of the log analysis device according to the present embodiment. [Figure 4A] FIG. 4A is a diagram for explaining an overview of log transformation. [Figure 4B] FIG. 4B is a diagram for explaining an overview of the log transformation. [Figure 5A] FIG. 5A is a diagram for explaining a specific example of log transformation. [Figure 5B] FIG. 5B is a diagram for explaining a specific example of the log transformation. [Figure 6] FIG. 6 is a diagram for explaining an advanced application example (1). [Figure 7] FIG. 7 is a diagram for explaining the advanced application example (2). DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0016] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail with reference to the drawings. However, the present invention is not limited to the embodiment.
[0017] [1. Overview] For example, in software monitoring, a log output from a monitoring target contains multiple pieces of information, such as metrics (summary information) for monitoring an overview and traces (detailed information) for monitoring the details.
[0018] Although traces contain detailed information, the problem is that the amount of data is large and analysis takes a long time. For this reason, in the past, anomalies were detected based on aggregated information such as metrics, and the analysis target was narrowed down by investigating traces from the corresponding time period. In other words, it was necessary to detect anomalies from an overview and then check the detailed information again.
[0019] However, this method requires a human to determine the connections between data, which can result in problems such as time-consuming analysis and incorrect judgments.In addition, development and operations are generally separate, and different people review each piece of information, so there are few opportunities for them to check each other.
[0020] In this embodiment, we focused on the fact that as the importance of software in society increases, the number of things to be monitored increases, making it urgent to reduce the operational burden, and that since a one-stop service is provided from development to operation and maintenance, insights can be gained by checking various logs.
[0021] In this embodiment, an approximate conversion is performed from detailed information, such as traces, to summary information, such as metrics, and information of different granularity is visualized in a unified data format to facilitate comparison, thereby making it possible to improve the efficiency and accuracy of analysis and shorten the time it takes to resolve issues.
[0022] The background of the issue will be explained in detail with reference to Figures 1 and 2. The logs required for software monitoring are provided by various systems such as the OS and MW (middleware), but it is difficult to respond without mutual confirmation of these. In addition, there are the following types of logs, and because the granularity differs, it is difficult to understand the correspondence of logs from the same period.
[0023] Metrics are logs that record and process activity. Generally, they are aggregated data for a certain period of time, and although it is possible to check the status with a small amount of data, it is difficult to perform detailed cause analysis. An example of a metric is a Windows (registered trademark) performance log (which records the average CPU usage in 1-second or 15-second intervals, etc.).
[0024] A trace is a log that records what has happened in chronological order. Generally, it is data that sequentially records the processes that have occurred within a program, and although it is possible to analyze the causes, it is characterized by the fact that the data volume is large, which means that the storage capacity of the recording medium and the analysis costs are high. An example of a trace is an extended event in SQL Server (which can record the start and end of a specific process, the resources consumed by that process, etc.).
[0025] 1 is a diagram showing an example of metrics (CPU usage obtained by a Windows (registered trademark) performance monitor). The horizontal axis is the time axis, and the vertical axis is a plot of CPU usage.
[0026] Figure 2 is a diagram showing an example of a trace (SQL Server extended event). Processing time, CPU time, number of physical reads, etc. can be confirmed. The results of recording the completion of processing in the extended event were transcribed into Excel, and the horizontal axis was plotted as the time axis and the vertical axis was plotted as the cpu_time column.
[0027] Both of the above examples are indicators that focus on the CPU, but the granularity of the logs is different, making it difficult to analyze causal relationships. Since tracing records the time of completion, it is unclear how it relates to the start time of the process (= the time when CPU usage began) or utilization rate.
[0028] Metrics records "utilization rate," while tracing records "CPU time," so a conversion is necessary. "CPU time" is the time the CPU is used for the relevant process. For simplicity's sake, on a server with only one CPU core, if a process that places a load on the CPU is executed, it will be recorded as shown below.
[0029] When process A, which takes 10 seconds to complete by itself, is executed, the processing time for process A is 10 seconds and the CPU time is 10 seconds. When process A and process B, which take 10 seconds to complete by themselves, are executed simultaneously, the processing time for process A is 20 seconds and the CPU time is 10 seconds, and the processing time for process B is 20 seconds and the CPU time is 10 seconds.
[0030] In the present invention, the time from understanding the situation to analyzing the cause is shortened by converting traces (detailed information) into a metrics (summary information) format.
[0031] The log analysis device of the present invention is applicable to all business types and industries.
[0032] [2. Configuration] An example of the configuration of the log analysis device 100 according to this embodiment will be described with reference to Fig. 3. Fig. 3 is a block diagram showing an example of the configuration of the log analysis device 100.
[0033] The log analysis device 100 is, for example, a commercially available desktop personal computer or a workstation.
[0034] The log analysis device 100 includes a control unit 102, a communication interface unit 104, a storage unit 106, and an input / output interface unit 108. The units included in the log analysis device 100 are connected to each other so as to be able to communicate with each other via any communication path.
[0035] The communication interface unit 104 communicatively connects the log analysis device 100 to a network 300 via a communication device such as a router and a wired or wireless communication line such as a dedicated line. The communication interface unit 104 has a function of communicating data with other devices via the communication line. Here, the network 300 has a function of communicatively connecting the log analysis device 100, the server 200, and a monitored system (not shown) to each other, and is, for example, the Internet or a LAN (Local Area Network).
[0036] An input device 112 and an output device 114 are connected to the input / output interface unit 108. The output device 114 may be a monitor (including a home television), a speaker, or a printer. The input device 112 may be a keyboard, a mouse, a microphone, or a monitor that cooperates with a mouse to realize a pointing device function. In the following, the output device 114 may be referred to as the monitor 114, and the input device 112 may be referred to as the keyboard 112 or the mouse 112. Displaying information on the monitor 114 and the user operating the input device 112 may be referred to as a "user operation via a UI."
[0037] The storage unit 106 stores various databases, tables, files, and the like. The storage unit 106 records computer programs for cooperating with an operating system (OS) to give instructions to a central processing unit (CPU) to perform various processes. For example, memory devices such as random access memory (RAM) and read only memory (ROM), fixed disk devices such as hard disks, flexible disks, and optical disks can be used as the storage unit 106. The storage unit 106 stores information such as traces and metrics.
[0038] The control unit 102 is a CPU or the like that performs overall control of the log analysis device 100. The control unit 102 has an internal memory for storing control programs such as an OS, programs that define various processing procedures, and required data, and executes various information processing based on these stored programs.
[0039] The control unit 102 is configured to be able to access information such as traces and metrics stored in the storage unit 106. Note that the information such as traces and metrics may be stored in another location (e.g., the server 200) as long as it is accessible by the control unit 102.
[0040] The control unit 102 conceptually includes an acquisition unit 102a, a conversion unit 102b, and an output unit 102c.
[0041] The acquiring unit 102 a acquires metrics for checking an overview of a log output from a monitored system and traces for checking details, and stores them in the storage unit 106 .
[0042] The conversion unit 102b converts the trace so as to approximate the data format of the metric to be compared.
[0043] In this case, the "trace" may include information on the process, which is the unit that records the source log or the unit that logically aggregates the callers of that process, the end time, the processing time, and the weight, which is an index of the source that corresponds to the metric to be compared.
[0044] "Processing" may include the screen name or job name in the application log, the URI of the web server, or the stored procedure or function name in the DB log. "Weight" may include the CPU time which is the CPU load, the physical read which is the memory load, the physical read / write which is the disk load, or the number of data retrieved rows or the number of rows to be updated which are the network load.
[0045] In addition, the conversion unit 102b may calculate the start time of a trace from the end time and processing time, calculate the average weight per acquisition interval of the metric to be compared, map the calculated weight per time into a time series table, generate a stacked graph with the horizontal axis representing time and the vertical axis representing the magnitude of the weight, and treat the waveform of the stacked graph as an approximation of the metric to be compared.
[0046] The conversion unit 102b may also have a load ranking generation function that generates a load ranking of each process for a specific period based on a table in which the calculated weight per unit time is mapped in a time series.
[0047] In addition, the conversion unit 102b may be equipped with a simulation function that changes the processing weight for each time period in response to user operation and generates a stacked graph of the changed weight with the horizontal axis representing time and the vertical axis representing the magnitude of the weight.
[0048] The output unit 102c displays and outputs the metrics to be compared and the converted trace on a comparison and analysis screen of the monitor 114, visualizing the two for easy comparison.
[0049] [3. Specific Examples] A specific example of the process performed by the control unit 102 of the log analysis device 100 in this embodiment will be described with reference to Fig. 3 to Fig. 7. Fig. 4 to Fig. 7 are diagrams for explaining a specific example of the process performed by the control unit 102 of the log analysis device 100 in this embodiment.
[0050] (3-1. Overview of log conversion) An overview of the log conversion executed by the conversion unit 102b will be described with reference to Figures 4A and 4B. Figures 4A and 4B are diagrams for explaining the overview of the log conversion executed by the conversion unit 102b.
[0051] The conversion unit 102b converts point information called traces into line information called metrics. Here, the definitions of "processing" and "weight" are as follows:
[0052] "Processing" refers to the unit that records the log that is the source of conversion, such as tracing, or the unit that logically aggregates the callers of that processing. For example, "processing" is the screen name or job name of an application log, the URI of a web server, or the stored procedure or function name of a database log (extended events, etc.).
[0053] "Weight" is the original index (here, we will explain using extended events) that corresponds to the metric to be compared. For example, "weight" is CPU load: CPU time, memory load: physical read (read from disk occurs when data does not exist in cache), disk load: physical read / write, network load: number of data retrieved rows, number of rows to be updated.
[0054] (1) In the trace, point information is recorded as described above. Fig. 4A(A) is a diagram showing an example of recorded trace information. In this example, process A has an end time of "09:40", a processing time of "0:20", and a weight of "60", process B has an end time of "10:00", a processing time of "0:50", and a weight of "50", and process C has an end time of "10:40", a processing time of "1:10", and a weight of "70".
[0055] (2) The start time is calculated from the end time and the processing time. Figure 4A(B) is a diagram showing an example of calculated start times. Process A has a start time of "09:20 (=09:40-0:20)", Process B has a start time of "09:10 (=10:00-0:50)", and Process C has a start time of "09:30 (=10:40-1:10)".
[0056] (3) Calculate the average weight per acquisition interval (10 minutes in this example) of the metrics to be compared. FIG. 4B(C) is a diagram showing an example of calculating the weight per hour. For process A, the weight per hour is "3 (=60÷20)", for process B, the weight per hour is "1 (=50÷50)", and for process C, the weight per hour is "1 (=70÷70)".
[0057] (4) The calculated weight per unit time is mapped onto a time series table. Fig. 4B(D) is a diagram showing an example in which the calculated weight per unit time is mapped onto a time series table (10 minute intervals).
[0058] (5) A stacked graph is generated with the horizontal axis representing time and the vertical axis representing the magnitude of weight. Figure 4B(E) shows the weights versus time for each of processes A, B, and C. Figure 4B(F) shows an example of a stacked graph for processes A, B, and C with the horizontal axis representing time and the vertical axis representing the magnitude of weight. The waveform of this stacked graph is an approximation of the metric.
[0059] (3-2. Specific examples of log transformation) A specific example of the log conversion described in the overview of log conversion will be described with reference to Figures 5A and 5B. Figures 5A and 5B are diagrams for explaining a specific example of log conversion by the conversion unit 102b. In the following, a case where trace is an extended event (SQL Server log), process is a stored procedure, and weight is CPU time will be described.
[0060] (1) In a trace, point information is recorded as described above. Fig. 5A(A) is a diagram showing an example of recorded trace information. In this example, stored procedure A has a finish time of "09:40", processing time of "0:20", and CPU time of "1:00", stored procedure B has a finish time of "10:00", processing time of "0:50", and CPU time of "0:50", and stored procedure C has a finish time of "10:40", processing time of "1:10", and CPU time of "1:10".
[0061] (2) The start time is calculated from the end time and processing time. Figure 5A(B) shows an example of calculated start times. Stored procedure A has a start time of "09:20 (=09:40-0:20)", stored procedure B has a start time of "09:10 (=10:00-0:50)", and stored procedure C has a start time of "09:30 (=10:40-1:10)".
[0062] (3) Calculate the average number of CPU cores used per interval (10 minutes in this example) for obtaining the metrics to be compared. If the CPU time is greater than the processing time, it is assumed that parallel processing is being performed using multiple cores.
[0063] 5A(C) is a diagram showing an example of calculating the average number of CPU cores used. For stored procedure A, the number of CPU cores used per hour is "3 (=60÷20)", for stored procedure B, the number of CPU cores used per hour is "1 (=50÷50)", and for stored procedure C, the number of CPU cores used per hour is "1 (=70÷70)".
[0064] (4) The calculated weight per unit time is mapped to a time series table. Figure 5A(D) is a diagram showing an example of mapping the calculated number of CPU cores in use per unit time to a time series table (10 minute intervals).
[0065] (5) A stacked graph is generated with the horizontal axis representing time and the vertical axis representing the number of CPU cores in use. FIG. 5B(E) shows the weights of stored procedures A, B, and C with respect to time. FIG. 5B(F) shows an example of a stacked graph (approximate values) of stored procedures A, B, and C with the horizontal axis representing time and the vertical axis representing the number of CPU cores in use. FIG. 5B(G) shows an example of a metrics graph with the horizontal axis representing time and the vertical axis representing CPU usage. The metrics to be compared in FIGS. 5B(E) and (F) and the converted trace are displayed and visualized on a comparison display screen by the output unit 102c.
[0066] As shown in Figures 5B (F) and (G), the cause of the abnormal value detected by monitoring the metrics can be identified as stored procedure A (processing A) by comparing it with the converted trace.
[0067] In this example, CPU time was used as the "weight" criterion, which made it possible to analyze processes where the CPU was a bottleneck. In addition, if physical reads were used as the "weight" criterion, it would be possible to analyze processes where disk IO was a bottleneck, and if network transfer volume, such as the number of retrieved rows, was used as the criterion, it would be possible to analyze processes where network IO was a bottleneck.
[0068] In this way, according to this embodiment, general-purpose log conversion is possible by changing the "weight" criteria depending on the viewpoint to be analyzed.
[0069] (3-3. Advanced Application Examples (1)) An advanced application example (1) will be described with reference to FIG. 6. FIG. 6 is a diagram for explaining the advanced application example (1). The conversion unit 102b may have a load ranking generation function that generates a load ranking of each process for a specific period based on a table in which the calculated weight per unit time is mapped to a time series, and displays and outputs the load ranking on a load ranking screen (not shown). By using the table of calculation results for finding an approximate value of the metrics based on the weight of the unit time value (FIG. 4B(D)), a ranking of the processes that applied the most load in a specific period can be generated.
[0070] 6(A) to 6(D), a load ranking for a specific period is generated. Specifically, for example, processes are rearranged in descending order of load for each specific period.
[0071] Figure 6(A) shows the load ranking at 09:10. Process B is the process that is causing the most load at 09:10.
[0072] Figure 6(B) shows the load ranking at 09:20. Process A is the process that is causing the most load at 09:20.
[0073] Figure 6(C) shows the load ranking at 10:00. Process C is the process that is causing the most load at 10:00.
[0074] Figure 6(D) shows the load ranking over the entire period. Process C is the process that imposes the largest load over the entire period.
[0075] This makes it easier to triage issues, such as prioritizing processes that are important for business purposes, even if different processes are the cause at different times of the day.
[0076] (3-4. Advanced Application Examples (2)) An advanced application example (2) will be described with reference to FIG. 7. FIG. 7 is a diagram for explaining the advanced application example (2). The conversion unit 102b may have a simulation function for changing the weight of the process in each time period in response to a user operation on a simulation screen (not shown) and generating a stacked graph of the changed weight with the horizontal axis representing time and the vertical axis representing the magnitude of the weight. That is, by providing a simulation function of the load improvement effect and manually changing the weight in each time period, it becomes possible to simulate in advance the effect of tuning the process on the metrics.
[0077] Fig. 7(A) is a diagram showing an example of mapping the calculated weights per hour onto a time series table (10-minute intervals), which is similar to Fig. 4B(C). Fig. 7(B) is a diagram showing a case where the operator changes the weight of process A from "3" to "1".
[0078] Figure 7(C) shows the stacked graph when the weight of process A is "3", and is the same as Figure 4B(F). Figure 7(D) shows the stacked graph when the weight of process A is changed to "1". As shown in the figure, the maximum weight value has been improved from "5" to "3".
[0079] This makes it possible to simulate in advance the investment effect of improvements in processing, facilitating investment decisions.In this way, according to this embodiment, by converting the display format of logs of different granularities and types, it becomes possible to quickly and reliably respond to abnormalities.
[0080] As described above, according to this embodiment, there is provided an acquisition unit 102a that acquires metrics for checking the overview of the log output from the monitored object and traces for checking the details, a conversion unit 102b that converts the traces so that they approximate the data format of the metrics of the comparison object, and an output unit 102c that displays and outputs the metrics of the comparison object and the converted traces on a comparison analysis screen. Therefore, by performing an approximate conversion from traces, which are detailed information, to metrics, which are summary information, for the log output from the monitored object and visualizing information of different granularities in a unified data format to facilitate comparison, it is possible to improve the efficiency and accuracy of log analysis and shorten the time to solve problems.
[0081] [4. Contribution to the United Nations-led Sustainable Development Goals (SDGs)] This embodiment can contribute to improving business efficiency and promoting appropriate management decisions by companies, thereby contributing to goals 8 and 9 of the SDGs.
[0082] Furthermore, this embodiment can contribute to reducing waste and promoting paperless and electronic systems, thereby contributing to the achievement of SDGs Goals 12, 13, and 15.
[0083] Furthermore, this embodiment can contribute to strengthening control and governance, making it possible to contribute to Goal 16 of the SDGs.
[0084] 5. Other embodiments The present invention may be embodied in various different embodiments other than those described above within the scope of the technical concept set forth in the claims.
[0085] For example, among the processes described in the embodiments, all or part of the processes described as being performed automatically can be performed manually, or all or part of the processes described as being performed manually can be performed automatically using known methods.
[0086] In addition, the processing procedures, control procedures, specific names, information including parameters such as registered data and search conditions for each process, screen examples, and database configurations shown in this specification and drawings may be changed as desired unless otherwise specified.
[0087] Moreover, with regard to the log analysis device 100, each of the components shown in the figures is merely a functional concept, and does not necessarily have to be physically configured as shown in the figures.
[0088] For example, the processing functions of the log analysis device 100, particularly the processing functions performed by the control unit, may be realized in whole or in part by a CPU and a program interpreted and executed by the CPU, or may be realized as hardware using wired logic. The program is recorded in a non-transient computer-readable recording medium including programmed instructions for causing the information processing device to execute the processes described in this embodiment, and is mechanically read by the log analysis device 100 as necessary. That is, a computer program for giving instructions to the CPU in cooperation with the OS and performing various processes is recorded in a storage unit such as a ROM or HDD (Hard Disk Drive). This computer program is executed by being loaded into a RAM, and constitutes the control unit in cooperation with the CPU.
[0089] In addition, this computer program may be stored in an application program server connected to the log analysis device 100 via any network, and it is also possible to download all or a part of it as necessary.
[0090] In addition, the program for executing the process described in this embodiment may be stored in a non-transient computer-readable recording medium, or may be configured as a program product. Here, the "recording medium" includes any "portable physical medium" such as a memory card, a Universal Serial Bus (USB) memory, a Secure Digital (SD) card, a flexible disk, a magneto-optical disk, a ROM, an Erasable Programmable Read Only Memory (EPROM), an Electrically Erasable and Programmable Read Only Memory (EEPROM (registered trademark)), a Compact Disk Read Only Memory (CD-ROM), a Magneto-Optical disk (MO), a Digital Versatile Disk (DVD), and a Blu-ray (registered trademark) Disc.
[0091] Moreover, a "program" is a data processing method written in any language or description method, and may be in any form, such as source code or binary code. Note that a "program" is not necessarily limited to a single configuration, but also includes a distributed configuration as multiple modules or libraries, and a program that achieves its function by working with a separate program, such as an OS. Note that the specific configuration and reading procedure for reading a recording medium in each device shown in the embodiments, as well as the installation procedure after reading, may use well-known configurations and procedures.
[0092] The various databases etc. stored in the memory unit are storage means such as memory devices such as RAM and ROM, fixed disk devices such as hard disks, flexible disks, and optical disks, and store various programs, tables, databases, and web page files etc. used for various processes and providing websites.
[0093] The log analysis device 100 may be configured as an information processing device such as a known personal computer or a workstation, or may be configured as the information processing device to which any peripheral device is connected. The log analysis device 100 may be realized by installing software (including programs, data, etc.) that causes the device to realize the processes described in this embodiment.
[0094] Furthermore, the specific form of distribution and integration of the devices is not limited to that shown in the drawings, and all or part of them can be functionally or physically distributed and integrated in any unit according to various additions or functional loads. In other words, the above-mentioned embodiments can be implemented in any combination, or the embodiments can be implemented selectively. [Explanation of symbols]
[0095] 100 Log analysis device 102 Control section 102a Acquisition Department 102b Conversion section 102c Output section 104 Communication interface section 106 Storage section 108 Input / Output Interface Section 112 Input Devices 114 Output Device 200 Servers 300 Network
Claims
1. A means for acquiring metrics to check the overview of logs output from the monitored object and traces to check the details; A conversion means for converting the trace to approximate a data format of a metric to be compared; an output means for displaying and outputting the metrics to be compared and the converted trace on a comparison analysis screen; A log analysis device comprising:
2. The log analysis device according to claim 1, characterized in that the trace includes information on a process which is a unit for recording the log to be converted or a unit for logically aggregating the callers of that process, an end time, a processing time, and a weight which is an index of the source of conversion corresponding to the metric to be compared.
3. The process includes a screen name or a job name in an application log, a URI of a web server, or a stored procedure or a function name in a DB log, The log analysis device according to claim 2, characterized in that the weighting includes CPU time, which is a CPU load, physical reads, which is a memory load, physical reads and writes, which is a disk load, or the number of data rows retrieved and the number of rows to be updated, which are network loads.
4. The conversion means is Calculating a start time for the trace from an end time and a processing time; Calculate the average weight per interval of the metrics to be compared, The calculated weights per hour are mapped onto a time series table.
4. The log analysis device according to claim 3, wherein a stacked graph is generated with the horizontal axis representing time and the vertical axis representing the magnitude of weight, and the waveform of the stacked graph is taken as an approximation value of the metric to be compared.
5. 5. The log analysis device according to claim 4, wherein the conversion means has a load ranking generation function for generating a load ranking of each process for a specific period based on a table in which the calculated weight per unit time is mapped to a time series.
6. The log analysis device according to claim 4, characterized in that the conversion means has a simulation function that changes the processing weight for each time period through user operation and generates a stacked graph of the changed weight with the horizontal axis representing time and the vertical axis representing the magnitude of the weight.
7. A log analysis method executed by an information processing device having a control unit, An acquisition process for acquiring metrics to check an overview of logs output from the monitored object and traces to check details; A conversion step of converting the traces to approximate a data format of a metric to be compared; and an output step of displaying and outputting the metrics to be compared and the converted trace on a comparison and analysis screen.
8. A log analysis program to be executed by an information processing device having a control unit, An acquisition process for acquiring metrics to check an overview of logs output from the monitored object and traces to check details; A conversion step of converting the traces to approximate a data format of a metric to be compared; an output step of displaying and outputting the metrics to be compared and the converted trace on a comparison analysis screen; A log analysis program that causes a computer to run the following:
Citation Information
Patent Citations
Apparatus and method for visual generation of graphic display of trace data
JP1995110781A
Log analysis device, log analysis method, and recording medium for storing program
WO2017169949A1
