Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7697982B2 - Log analysis device, log analysis method, and log analysis program - Google Patents
[go: Go Back, main page]

JP7697982B2 - Log analysis device, log analysis method, and log analysis program - Google Patents

Log analysis device, log analysis method, and log analysis program Download PDF

Info

Publication number
JP7697982B2
JP7697982B2 JP2023053319A JP2023053319A JP7697982B2 JP 7697982 B2 JP7697982 B2 JP 7697982B2 JP 2023053319 A JP2023053319 A JP 2023053319A JP 2023053319 A JP2023053319 A JP 2023053319A JP 7697982 B2 JP7697982 B2 JP 7697982B2
Authority
JP
Japan
Prior art keywords
time
log
log analysis
metrics
compared
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.)
Active
Application number
JP2023053319A
Other languages
Japanese (ja)
Other versions
JP2024141585A (en
Inventor
啓介 山本
Original Assignee
株式会社オービック
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 株式会社オービック filed Critical 株式会社オービック
Priority to JP2023053319A priority Critical patent/JP7697982B2/en
Publication of JP2024141585A publication Critical patent/JP2024141585A/en
Application granted granted Critical
Publication of JP7697982B2 publication Critical patent/JP7697982B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Description

本発明は、ログ分析装置、ログ分析方法、及びログ分析プログラムに関する。 The present invention relates to a log analysis device, a log analysis method, and a log analysis program.

例えば、コンピュータ上で実行されるシステムにおいては、イベントの結果又はメッセージ等を含むログが出力される。システム等に異常が発生した際には、ユーザは、出力されたログを分析・解析することで、異常の原因を特定する。従来、ログを分析する装置として、例えば、特許文献1がある。 For example, in a system running 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. A conventional device for analyzing logs is disclosed in, for example, Patent Document 1.

国際公開第2017/169949号International Publication No. 2017/169949

しかしながら、特許文献1では、監視対象から出力されるログについて、詳細情報であるトレースから概要情報であるメトリクスへの近似変換を行い、異なる粒度の情報を統一したデータ形式に可視化して比較を容易にすることで、ログ分析の効率化と精度を向上させて、課題の解決までの時間を短縮することに関して何等記載されていない。 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 the logs output from the monitored object from detailed information, such as traces, to summary information, such as metrics, and visualizing information of different granularities in a unified data format to facilitate comparison.

本発明は、上記に鑑みてなされたものであり、監視対象から出力されるログについて、詳細情報であるトレースから概要情報であるメトリクスへの近似変換を行い、異なる粒度の情報を統一したデータ形式に可視化して比較を容易にすることで、ログ分析の効率化と精度を向上させて、課題の解決までの時間を短縮することが可能なログ分析装置、ログ分析方法、及びログ分析プログラムを提供することを目的とする。 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 approximately converting logs output from a monitored object from detailed information, such as traces, to summary information, such as metrics, and visualizing information of different granularities in a unified data format to facilitate comparison.

上述した課題を解決し、目的を達成するために、本発明は、監視対象から出力されるログの概要を確認するためのメトリクスと詳細を確認するためのトレースを取得する取得手段と、トレースを比較対象のメトリクスのデータ形式に近似するように変換する変換手段と、比較対象のメトリクスと変換後のトレースを比較分析画面に表示出力する出力手段と、を備えたことを特徴とする。 To solve the above 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 to be compared, and an output means for displaying and outputting the metrics to be compared and the converted trace on a comparison analysis screen.

また、本発明の一態様によれば、前記トレースは、変換元となるログを記録する単位又はその処理の呼び出し元を論理的に集約する単位である処理と、終了時間と、処理時間と、比較対象のメトリクスに対応する変換元の指標である重みの情報を含むことを特徴とする。 According to one aspect of the present invention, the trace includes information on a process, which is a unit that records the log to be converted or a unit that logically aggregates the callers of that process, the end time, the processing time, and a weight, which is an index of the conversion source that corresponds to the metric to be compared.

また、本発明の一態様によれば、前記処理は、アプリケーションログの画面名やジョブ名、WebサーバのURI、又は、DBログのストアドプロシージャや関数名を含み、前記重みは、CPU負荷であるCPU時間、メモリ負荷である物理読込、ディスク負荷である物理読込・書込、又は、ネットワーク負荷であるデータ取得行数、更新対象行数を含むことにしてもよい。 According to one aspect of the present invention, the process 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 database log, and the weight may include 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.

また、本発明の一態様によれば、前記変換手段は、前記トレースについて、終了時間と処理時間から開始時間を算出し、比較対象のメトリクスの取得間隔あたりの平均の重みを算出し、算出した時間あたりの重みを、時系列の表にマッピングし、横軸を時間、縦軸を重みの大きさとした積み上げグラフを生成して、積み上げグラフの波形を比較対象のメトリクスの近似値とすることにしてもよい。 According to one aspect of the present invention, the conversion means may calculate the start time of 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.

また、本発明の一態様によれば、前記変換手段は、算出した時間あたりの重みを時系列にマッピングした表に基づいて、特定期間の各処理の負荷ランキングを生成する負荷ランキング生成機能を備えることにしてもよい。 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 for each process for a specific period based on a table that maps the calculated weights per unit time to a time series.

また、本発明の一態様によれば、前記変換手段は、各時間帯における処理の重みをユーザ操作により変更し、変更後の重みについて、横軸を時間、縦軸を重みの大きさとした積み上げグラフを生成するシミュレーション機能を備えることにしてもよい。 According to one aspect of the present invention, the conversion means may have a simulation function that changes the processing weights for each time period through user operation and generates a stacked graph of the changed weights with the horizontal axis representing time and the vertical axis representing the magnitude of the weights.

また、上述した課題を解決し、目的を達成するために、本発明は、制御部を備えた情報処理装置が実行するログ分析方法であって、監視対象から出力されるログの概要を確認するためのメトリクスと詳細を確認するためのトレースを取得する取得工程と、トレースを比較対象のメトリクスのデータ形式に近似するように変換する変換工程と、比較対象のメトリクスと変換後のトレースを比較分析画面に表示出力する出力工程と、を含むことを特徴とする。 In order to solve the above-mentioned problems and achieve the object, the present invention is a log analysis method executed by an information processing device having a control unit, and is characterized by including an acquisition step of acquiring metrics for checking an overview of a log output from a monitoring target and a trace for checking details, a conversion step of converting the trace to approximate the 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.

また、上述した課題を解決し、目的を達成するために、本発明は、制御部を備えた情報処理装置が実行するためのログ分析プログラムであって、監視対象から出力されるログの概要を確認するためのメトリクスと詳細を確認するためのトレースを取得する取得工程と、トレースを比較対象のメトリクスのデータ形式に近似するように変換する変換工程と、
比較対象のメトリクスと変換後のトレースを比較分析画面に表示出力する出力工程と、をコンピュータに実行させるためのログ分析プログラムであることを特徴とする。
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.

本発明によれば、監視対象から出力されるログについて、詳細情報であるトレースから概要情報であるメトリクスへの近似変換を行い、異なる粒度の情報を統一したデータ形式に可視化して比較を容易にすることで、ログ分析の効率化と精度を向上させることが可能
になるという効果を奏する。
According to the present invention, by performing an approximate conversion of logs output from monitored objects, from detailed information (traces) to summary information (metrics), 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.

図1は、課題となる背景を説明するための図である。FIG. 1 is a diagram for explaining the background of the problem. 図2は、課題となる背景を説明するための図である。FIG. 2 is a diagram for explaining the background of the problem. 図3は、本実施の形態に係るログ分析装置の構成の一例を示すブロック図である。FIG. 3 is a block diagram showing an example of a configuration of a log analysis device according to the present embodiment. 図4Aは、ログ変換の概要を説明するための図である。FIG. 4A is a diagram for explaining an overview of log conversion. 図4Bは、ログ変換の概要を説明するための図である。FIG. 4B is a diagram for explaining an overview of the log conversion. 図5Aは、ログ変換の具体例を説明するための図である。FIG. 5A is a diagram for explaining a specific example of log conversion. 図5Bは、ログ変換の具体例を説明するための図である。FIG. 5B is a diagram for explaining a specific example of log conversion. 図6は、発展的な応用例(1)を説明するための図である。FIG. 6 is a diagram for explaining an advanced application example (1). 図7は、発展的な応用例(2)を説明するための図である。FIG. 7 is a diagram for explaining an advanced application example (2).

本発明の実施形態を図面に基づいて詳細に説明する。なお、本発明は本実施形態により限定されるものではない。 An embodiment of the present invention will be described in detail with reference to the drawings. Note that the present invention is not limited to this embodiment.

[1.概要]
例えば、ソフトウェアモニタリングにおいて、監視対象から出力されるログには、概要を監視するためのメトリクス(概要情報)と詳細を監視するためのトレース(詳細情報)など複数の情報がある。
[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.

トレースは、詳細な情報を持っているがデータ数が多く分析に時間がかかるという問題がある。そのため、従来、メトリクスなど集約した情報を元に異常を検知し、該当時間帯のトレースを調査対象とすることで分析対象を狭めるといった工夫を行っていた。すなわち、概要から異常を検知し、詳細情報を改めて確認する必要があった。 Traces contain detailed information, but the problem is that the amount of data is large and analysis takes a long time. For this reason, traditionally, anomalies were detected based on aggregated information such as metrics, and the analysis target was narrowed down by investigating traces from the relevant time period. In other words, it was necessary to detect anomalies from an overview and then check the detailed information again.

しかしながら、この手法ではデータ間の紐づきを人が判断する必要があり、分析に時間がかかってしまったり判断の誤りが発生してしまったりという問題があった。また、開発と運用のメンバーが分かれていることが一般的であり、それぞれの情報を確認するメンバーが異なるため相互に確認する機会が少なかった。 However, this method requires a human to determine the connections between data, which can result in time-consuming analysis and lead to incorrect judgments. In addition, development and operations teams are typically separate, and different people review each piece of information, meaning there are few opportunities for them to check each other's information.

本実施の形態では、社会的にソフトウェアの重要性が高くなるにつれ、監視対象が増加し運用負荷軽減が急務であること、開発→運用・保守までワンストップで行っているため、各種ログを確認することによる知見があることに着目した。 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 development, operation, and maintenance are all done in one stop, insights can be gained by checking various logs.

本実施の形態では、詳細情報であるトレースから概要情報であるメトリクスへの近似変換を行い、異なる粒度の情報を統一したデータ形式に可視化して比較を容易にすることで、分析の効率化と精度の向上、課題の解消までの時間を短縮できるようした。 In this embodiment, detailed information, or traces, is approximated and converted into summary information, or metrics, and information of different granularity is visualized in a unified data format to facilitate comparison, thereby improving the efficiency and accuracy of analysis and shortening the time it takes to resolve issues.

図1及び図2を参照して、課題となる背景を詳細に説明する。ソフトウェアモニタリングに必要なログは、OSやMW(ミドルウェア)など様々なシステムから提供されているが、これを相互に確認しなければ対応は困難である。また、ログには下記のような種類があり、粒度が異なるため同一期間のログの対応付けを把握することが難しい。 The background to 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 checking these systems. In addition, there are the following types of logs, and because the granularity differs, it is difficult to understand the correspondence between logs from the same period.

メトリクスは、活動を記録し、加工したログである。一般的には一定期間のデータを集計したデータであり、少ないデータ量で状態を確認することはできるが、一方で詳細な原因分析は苦手である。メトリクスは、例えば、Windows(登録商標)のパフォーマンスログ(1秒単位や15秒単位のCPU使用率の平均を記録する等)である。 Metrics are logs that record and process activity. Generally, they are aggregated data over a certain period of time, and while 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.).

トレースは、時系列に従って何が発生したかを記録したログである。一般的にはプログラム内で発生した処理を逐次記録したデータであり、原因分析はできるが、一方でデータ容量が大きくなるため記録媒体の容量や分析コストが大きいという特徴がある。トレースは、例えば、SQL Serverの拡張イベント(特定の処理の開始・終了の発生、該当処理での消費リソースなどを記録できる)である。 A trace is a log that records what happened in chronological order. Generally, it is data that sequentially records the processes that occur within a program, and although it is possible to analyze the causes, it has the characteristic that the data volume is large, which means that the storage capacity and 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.).

図1は、メトリクスの例(Windows(登録商標)のパフォーマンスモニタで取得したCPU使用率)を示す図である。横軸は、時間軸、縦軸は、CPU使用率をプロットしたものである。 Figure 1 shows an example of metrics (CPU usage obtained using the Windows (registered trademark) performance monitor). The horizontal axis is the time axis, and the vertical axis is a plot of CPU usage.

図2は、トレースの例(SQL Serverの拡張イベント)を示す図である。処理時間やCPU時間、物理読込数等が確認できる。拡張イベントで処理完了を記録した結果をExcelに転記し、横軸に時間軸、縦軸にcpu_time列をプロットしたものである。 Figure 2 shows 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 is the time axis and the vertical axis is the cpu_time column.

上記例はどちらもCPUに着目した指標ではあるが、ログの粒度が異なるため因果関係の分析が困難である。トレースでは完了時に記録されるため、処理の開始時間(=CPUを利用開始した時刻)や使用率との関連が不明である。 Both of the above examples are indicators that focus on the CPU, but the log granularity is different, making it difficult to analyze causal relationships. With tracing, the time of completion is recorded, so the relationship with the start time of the process (= the time when CPU use began) or utilization rate is unclear.

メトリクスで記録しているのは「使用率」であり、トレースで記録しているのは「CPU時間」であるため、変換が必要となる。「CPU時間」とは、該当処理にてCPUを利用した時間である。単純化のためCPUが1コアのみのサーバで、CPUに負荷のかかる処理を実行した場合は下記のように記録される。 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.

単体では10秒で完了する処理Aを実行した場合は、処理Aは処理時間10秒、CPU時間は10秒である。単体では10秒で完了する処理A・処理Bを同時に実行した場合は、処理Aは処理時間20秒、CPU時間は10秒であり、処理Bは処理時間20秒、CPU時間は10秒である。 When process A, which can be completed in 10 seconds 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 can be completed in 10 seconds 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.

本発明では、トレース(詳細情報)をメトリクス(概要情報)の形式に変換することで、状況の把握から原因分析までの時間短縮を行う。 In this invention, by converting traces (detailed information) into metrics (summary information) format, the time required from understanding the situation to analyzing the cause is shortened.

本発明のログ分析装置は、全業種・全業界に適用可能である。 The log analysis device of the present invention can be applied to all business types and industries.

[2.構成]
図3を参照して、本実施形態に係るログ分析装置100の構成の一例について説明する。図3は、ログ分析装置100の構成の一例を示すブロック図である。
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.

ログ分析装置100は、例えば、市販のデスクトップ型パーソナルコンピュータやワークステーション等である。 The log analysis device 100 is, for example, a commercially available desktop personal computer or a workstation.

ログ分析装置100は、制御部102と通信インターフェース部104と記憶部106と入出力インターフェース部108と、を備えている。ログ分析装置100が備えている各部は、任意の通信路を介して通信可能に接続されている。 The log analysis device 100 includes a control unit 102, a communication interface unit 104, a memory unit 106, and an input/output interface unit 108. Each unit included in the log analysis device 100 is connected to each other so as to be able to communicate with each other via any communication path.

通信インターフェース部104は、ルータ等の通信装置及び専用線等の有線又は無線の通信回線を介して、ログ分析装置100をネットワーク300に通信可能に接続する。通信インターフェース部104は、他の装置と通信回線を介してデータを通信する機能を有する。ここで、ネットワーク300は、ログ分析装置100と、サーバ200、監視対象のシステム(不図示)とを相互に通信可能に接続する機能を有し、例えばインターネットやLAN(Local Area Network)等である。 The communication interface unit 104 communicatively connects the log analysis device 100 to the 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 system to be monitored (not shown) to each other, and is, for example, the Internet or a LAN (Local Area Network).

入出力インターフェース部108には、入力装置112及び出力装置114が接続されている。出力装置114には、モニタ(家庭用テレビを含む)の他、スピーカやプリンタを用いることができる。入力装置112には、キーボード、マウス、及び、マイクの他、マウスと協働してポインティングデバイス機能を実現するモニタを用いることができる。なお、以下では、出力装置114をモニタ114とし、入力装置112をキーボード112又はマウス112として記載する場合がある。また、モニタ114に情報を表示して、ユーザが入力装置112を操作すること等を、「UIを介したユーザ操作」と記載する場合がある。 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 works with a mouse to achieve 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 "user operation via a UI."

記憶部106には、各種のデータベース、テーブル、及びファイルなどが格納される。記憶部106には、OS(Operating System)と協働してCPU(Central Processing Unit)に命令を与えて各種処理を行うためのコンピュータプログラムが記録される。記憶部106として、例えば、RAM(Random Access Memory)・ROM(Read Only Memory)等のメモリ装置、ハードディスクのような固定ディスク装置、フレキシブルディスク、及び光ディスク等を用いることができる。記憶部106は、トレースやメトリクス等の情報を格納する。 The storage unit 106 stores various databases, tables, files, and the like. The storage unit 106 records computer programs that work with the OS (Operating System) to give instructions to the CPU (Central Processing Unit) to perform various processes. As the storage unit 106, for example, a memory device such as a RAM (Random Access Memory) or a ROM (Read Only Memory), a fixed disk device such as a hard disk, a flexible disk, an optical disk, and the like can be used. The storage unit 106 stores information such as traces and metrics.

制御部102は、ログ分析装置100を統括的に制御するCPU等である。制御部102は、OS等の制御プログラム・各種の処理手順等を規定したプログラム・所要データなどを格納するための内部メモリを有し、格納されているこれらのプログラムに基づいて種々の情報処理を実行する。 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, required data, etc., and executes various information processing operations based on these stored programs.

制御部102は、記憶部106に格納されている、トレースやメトリクス等の情報にアクセス可能に構成されている。なお、トレースやメトリクス等の情報は、他の場所(例えば、サーバ200)に格納されていてもよく、制御部102がアクセス可能な構成であればよい。 The control unit 102 is configured to be able to access information such as traces and metrics stored in the memory unit 106. Note that information such as traces and metrics may be stored elsewhere (e.g., in the server 200) as long as it is accessible by the control unit 102.

制御部102は、機能概念的に、取得部102aと、変換部102bと、出力部102cと、を備えている。 The control unit 102 conceptually comprises an acquisition unit 102a, a conversion unit 102b, and an output unit 102c.

取得部102aは、監視対象のシステムから出力されるログの概要を確認するためのメトリクスと詳細を確認するためのトレースを取得して、記憶部106に格納する。 The acquisition unit 102a acquires metrics for checking the overview of the logs output from the monitored system and traces for checking the details, and stores them in the memory unit 106.

変換部102bは、トレースを比較対象のメトリクスのデータ形式に近似するように変換する。 The conversion unit 102b converts the trace to approximate the data format of the metric to be compared.

この場合、「トレース」は、変換元となるログを記録する単位又はその処理の呼び出し元を論理的に集約する単位である処理と、終了時間と、処理時間と、比較対象のメトリクスに対応する変換元の指標である重みの情報を含むことにしてもよい。 In this case, the "trace" may include information on the process, which is the unit that records the log to be converted or the unit that logically aggregates the callers of that process, the end time, the processing time, and the weight, which is the index of the conversion source that corresponds to the metric to be compared.

「処理」は、アプリケーションログの画面名やジョブ名、WebサーバのURI、又は、DBログのストアドプロシージャや関数名を含むことにしてもよい。「重み」は、CPU負荷であるCPU時間、メモリ負荷である物理読込、ディスク負荷である物理読込・書込、又は、ネットワーク負荷であるデータ取得行数、更新対象行数を含むことにしてもよい。 "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 database log. "Weight" may include CPU time, which is the CPU load, physical reads, which is the memory load, physical reads and writes, which are the disk load, or the number of rows of data retrieved or the number of rows to be updated, which are the network load.

また、変換部102bは、トレースについて、終了時間と処理時間から開始時間を算出し、比較対象のメトリクスの取得間隔あたりの平均の重みを算出し、算出した時間あたりの重みを、時系列の表にマッピングし、横軸を時間、縦軸を重みの大きさとした積み上げグラフを生成して、積み上げグラフの波形を比較対象のメトリクスの近似値とすることにしてもよい。 The conversion unit 102b may also 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.

また、変換部102bは、算出した時間あたりの重みを時系列にマッピングした表に基づいて、特定期間の各処理の負荷ランキングを生成する負荷ランキング生成機能を備えることにしてもよい。 The conversion unit 102b may also be provided with a load ranking generation function that generates a load ranking for each process for a specific period based on a table that maps the calculated weights per time to a time series.

また、変換部102bは、各時間帯における処理の重みをユーザ操作に応じて変更し、変更後の重みについて、横軸を時間、縦軸を重みの大きさとした積み上げグラフを生成するシミュレーション機能を備えることにしてもよい。 The conversion unit 102b may also have a simulation function that changes the processing weight for each time period in response to user operations 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.

出力部102cは、比較対象のメトリクスと変換後のトレースをモニタ114の比較分析画面で表示出力して、両者を比較しやすいように可視化する。 The output unit 102c displays and outputs the metrics to be compared and the converted trace on the comparison analysis screen of the monitor 114, visualizing the two for easy comparison.

[3.具体例]
図3~図7を参照して、本実施の形態におけるログ分析装置100の制御部102の処理の具体例について説明する。図4~図7は、本実施の形態におけるログ分析装置100の制御部102の処理の具体例について説明するための図である。
3. Specific Examples
A specific example of the process of 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 of the control unit 102 of the log analysis device 100 in this embodiment.

(3-1.ログ変換の概要)
図4A及び図4Bを参照して、変換部102bより実行されるログ変換の概要を説明する。図4A及び図4Bは、変換部102bより実行されるログ変換の概要を説明するための図である。
(3-1. Overview of log transformation)
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 an overview of the log conversion executed by the conversion unit 102b.

変換部102bは、トレースという点の情報を、メトリクスという線の情報に変換する。ここで、「処理」、「重み」の定義は下記の通りとする。 The conversion unit 102b converts point information called traces into line information called metrics. Here, the definitions of "processing" and "weight" are as follows:

「処理」は、トレースなど変換元となるログを記録する単位又はその処理の呼び出し元を論理的に集約する単位を指す。例えば、「処理」は、アプリケーションログ:画面名やジョブ名、Webサーバ:URI、DBログ(拡張イベントなど):ストアドプロシージャや関数名である。 "Processing" refers to the unit that records the log that is the source of conversion, such as a trace, or the unit that logically aggregates the callers of that processing. For example, "processing" could be an application log: screen name or job name, a web server: URI, or a database log (extended events, etc.): stored procedure or function name.

「重み」は、比較対象のメトリクスに対応する変換元の指標(ここでは拡張イベントを元に説明する)である。例えば、「重み」は、CPU負荷:CPU時間、メモリ負荷:物理読込(ディスクからの読込が発生するのはキャッシュにデータが存在しなかった場合)、ディスク負荷:物理読込・書込、ネットワーク負荷:データ取得行数、更新対象行数である。 "Weight" is the original index (explained here based on 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 is not present in the cache), disk load: physical read/write, network load: number of rows retrieved, number of rows to be updated.

(1)トレースでは、上記のように点の情報が記録される。図4A(A)は、記録されるトレースの情報の例を示す図である。この例では、処理Aは、終了時間「09:40」、処理時間「0:20」、重み「60」、処理Bは、終了時間「10:00」、処理時間「0:50」、重み「50」、処理Cは、終了時間「10:40」、処理時間「1:10」、重み「70」となっている。 (1) In tracing, 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".

(2)終了時間と処理時間から開始時間を求める。図4A(B)は、開始時間を算出した例を示す図である。処理Aは、開始時間「09:20(=09:40-0:20)」、処理Bは、開示時間「09:10(=10:00-0:50)」、処理Cは、開始時間「09:30(=10:40-1:10)」となる。 (2) The start time is calculated from the end time and processing time. Figure 4A (B) shows 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)".

(3)比較対象のメトリクスの取得間隔(ここでは10分とする)あたりの平均の重みを算出する。図4B(C)は、時間当たりの重みを算出した例を示す図である。処理Aは、時間当たりの重みは、「3(=60÷20)」、処理Bは、時間当たりの重みは、「1(=50÷50」、処理Cは、時間当たりの重みは、「1(=70÷70)」となる。 (3) Calculate the average weight per acquisition interval (10 minutes in this example) of the metrics to be compared. Figure 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)".

(4)算出した時間あたりの重みを、時系列の表にマッピングする。図4B(D)は、算出した時間あたりの重みを、時系列の表(10分間隔)にマッピングした例を示す図である。 (4) The calculated hourly weights are mapped onto a time series table. Figure 4B (D) shows an example of the calculated hourly weights mapped onto a time series table (10-minute intervals).

(5)横軸を時間、縦軸を重みの大きさとした積み上げグラフを生成する。図4B(E)は、処理A,B,Cのそれぞれの時間に対する重みを示している。図4B(F)は、横軸を時間、縦軸を重みの大きさとした処理A,B,Cの積み上げグラフの例を示している。
この積み上げグラフの波形が、メトリクスの近似値となる。
(5) A stacked graph is generated with the horizontal axis representing time and the vertical axis representing the magnitude of weight. Fig. 4B (E) shows the weights versus time for each of processes A, B, and C. Fig. 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.

(3-2.ログ変換の具体例)
図5A及び図5Bを参照して、ログ変換の概要で説明したログ変換の具体例を説明する。図5A及び図5Bは、変換部102bのログ変換の具体例を説明するための図である。以下では、トレース:拡張イベント(SQL Serverのログ)、処理:ストアドプロシージャ、重み:CPU時間とした場合を説明する。
(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.

(1)トレースでは、上記のように点の情報が記録される。図5A(A)は、記録されるトレースの情報の例を示す図である。この例では、ストアドプロシージャAは、終了時間「09:40」、処理時間「0:20」、CPU時間「1:00」、ストアドプロシージャBは、終了時間「10:00」、処理時間「0:50」、CPU時間「0:50」、ストアドプロシージャCは、終了時間「10:40」、処理時間「1:10」、CPU時間「1:10」となっている。 (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", a processing time of "0:20", and a CPU time of "1:00", stored procedure B has a finish time of "10:00", a processing time of "0:50", and a CPU time of "0:50", and stored procedure C has a finish time of "10:40", a processing time of "1:10", and a CPU time of "1:10".

(2)終了時間と処理時間から開始時間を求める。図5A(B)は、開始時間を算出した例を示す図である。ストアドプロシージャAは、開始時間「09:20(=09:40-0:20)」、ストアドプロシージャBは、開示時間「09:10(=10:00-0:50)」、ストアドプロシージャCは、開始時間「09:30(=10:40-1:10)」となる。 (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)."

(3)比較対象のメトリクスの取得間隔(ここでは10分とする)あたりの平均のCPU使用コア数を算出する。なお、CPU時間>処理時間の場合、複数コアを利用して並列処理を行っているものとする。 (3) Calculate the average number of CPU cores used per interval (10 minutes in this example) for obtaining the metrics to be compared. Note that if the CPU time is greater than the processing time, it is assumed that parallel processing is being performed using multiple cores.

図5A(C)は、平均のCPU使用コア数を算出した例を示す図である。ストアドプロシージャAは、時間当たりのCPU使用コア数は、「3(=60÷20)」、ストアドプロシージャBは、時間当たりのCPU使用コア数は、「1(=50÷50」、ストアドプロシージャCは、時間当たりのCPU使用コア数は、「1(=70÷70)」となる。 Figure 5A (C) shows an example of calculating the average number of CPU cores in use. For stored procedure A, the number of CPU cores in use per hour is "3 (=60÷20)", for stored procedure B, the number of CPU cores in use per hour is "1 (=50÷50)", and for stored procedure C, the number of CPU cores in use per hour is "1 (=70÷70)".

(4)算出した時間あたりの重みを、時系列の表にマッピングする。図5A(D)は、算出した時間あたりのCPU使用コア数を、時系列の表(10分間隔)にマッピングした例を示す図である。 (4) The calculated weight per hour is mapped to a time series table. Figure 5A (D) shows an example of mapping the calculated number of CPU cores used per hour to a time series table (10-minute intervals).

(5)横軸を時間、縦軸をCPU使用コア数とした積み上げグラフを生成する。図5B(E)は、ストアドプロシージャA,B,Cのそれぞれの時間に対する重みを示している。図5B(F)は、横軸を時間、縦軸をCPU使用コア数としたストアドプロシージャA,B,Cの積み上げグラフ(近似値)の例を示している。図5B(G)は、横軸を時間、縦軸をCPU使用率とした場合のメトリクスのグラフの例を示している。図5B(E)、(F)の比較対象のメトリクスと変換後のトレースは、出力部102cにより比較表示画面に表示出力されて可視化される。 (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 for each of stored procedures A, B, and C with respect to time. FIG. 5B (F) shows an example of a stacked graph (approximate values) for 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.

図5B(F)、(G)に示すように、メトリクスの監視によって検知した異常値の原因が変換後のトレースと比較することで、ストアドプロシージャA(処理A)であると特定できる。 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.

この例では、CPU時間を「重み」の基準として採用したためCPUがボトルネックとなっている処理の分析が可能となった。これ以外にも、「重み」として、物理読込を基準とした場合は、ディスクIOがボトルネックとなっている処理の分析が可能となり、また、取得行数などネットワーク転送量を基準とすればネットワークIOがボトルネックとなっている処理の分析が可能となる。 In this example, CPU time was used as the criterion for "weight," making it possible to analyze processes where the CPU is a bottleneck. In addition, if physical reads were used as the criterion for "weight," it would be possible to analyze processes where disk IO is a bottleneck, and if network transfer volume, such as the number of retrieved rows, is used as the criterion, it would be possible to analyze processes where network IO is a bottleneck.

このように、本実施の形態によれば、分析したい観点によって「重み」の基準を変更することで汎用的なログ変換が可能となる。 In this way, according to this embodiment, general-purpose log conversion is possible by changing the "weight" criteria depending on the viewpoint you want to analyze.

(3-3.発展的な応用例(1))
図6を参照して、発展的な応用例(1)を説明する。図6は、発展的な応用例(1)を説明するための図である。変換部102bは、算出した時間あたりの重みを時系列にマッピングした表に基づいて、特定期間の各処理の負荷ランキングを生成して、不図示の負荷ランキング画面で表示出力する負荷ランキング生成機能を備えることにしてもよい。単位時間値の重みを基準にメトリクスの近似値を求めるための計算結果の表(図4B(D)を用いることで、特定期間で最も負荷をかけた処理のランキングを生成することができる。
(3-3. Advanced application example (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 in a time series, and displays and outputs the load ranking on a load ranking screen (not shown). By using a 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.

図6(A)~(D)に示すように、特定期間の負荷ランキングを生成する。具体的には、例えば、特定期間毎に負荷が大きい順に処理を並べ替える。 As shown in Figures 6(A) to 6(D), a load ranking for a specific period is generated. Specifically, for example, processes are sorted in descending order of load for each specific period.

図6(A)は、09:10時点での負荷ランキングを示している。09:10時点で最も負荷をかけているのは処理Bである。 Figure 6 (A) shows the load rankings as of 09:10. Process B is the process that is exerting the most load as of 09:10.

図6(B)は、09:20時点での負荷ランキングを示している。09:20時点で最も負荷をかけているのは処理Aである。 Figure 6 (B) shows the load rankings as of 09:20. Process A is the process that is exerting the most load as of 09:20.

図6(C)は、10:00時点での負荷ランキングを示している。10:00時点で最も負荷をかけているのは処理Cである。 Figure 6 (C) shows the load rankings at 10:00. Process C is the process with the highest load at 10:00.

図6(D)は、全期間での負荷ランキングを示している。全期間において合計で最も負荷をかけているのは処理Cである。 Figure 6 (D) shows the load ranking for the entire period. Process C is the process that exerts the greatest load over the entire period.

これにより、時間帯ごとに異なる処理が原因となっている場合においても、業務上重要な時間帯の処理を優先して対応するなどトリアージが容易になる。 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.

(3-4.発展的な応用例(2))
図7を参照して、発展的な応用例(2)を説明する。図7は、発展的な応用例(2)を説明するための図である。変換部102bは、各時間帯における処理の重みを、不図示のシミュレーション画面でのユーザ操作に応じて変更し、変更後の重みについて、横軸を時間、縦軸を重みの大きさとした積み上げグラフを生成するシミュレーション機能を備えることにしてもよい。すなわち、負荷改善効果のシミュレーション機能を提供し、各時間帯における重みを手動で変更することで、該当処理のチューニングによるメトリクスへの効果を事前にシミュレーションすることが可能となる。
(3-4. Advanced application example (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, a simulation function for the load improvement effect is provided, and by manually changing the weight in each time period, it becomes possible to simulate in advance the effect of tuning the process on the metrics.

図7(A)は、算出した時間あたりの重みを、時系列の表(10分間隔)にマッピングした例を示す図であり、図4B(C)と同様である。図7(B)は、処理Aの重みを「3」から「1」にオペレータが変更した場合を示す図である。 Figure 7(A) shows an example of mapping the calculated hourly weights to a time series table (10-minute intervals), similar to Figure 4B(C). Figure 7(B) shows the case where the operator changes the weight of process A from "3" to "1".

図7(C)は、処理Aの重みが「3」の場合の積み上げグラフを示しており、図4B(F)と同様である。図7(D)は、処理Aの重みを「1」に変更した場合の積み上げグラフを示している。同図に示すように、重みの最大値を「5」から「3」に改善できている。 Figure 7(C) shows a stacked graph when the weight of process A is "3", and is similar to Figure 4B(F). Figure 7(D) shows a stacked graph when the weight of process A is changed to "1". As shown in the figure, the maximum weight has been improved from "5" to "3".

これにより、処理の改善による投資効果を事前にシミュレーション可能となり、投資判断が容易になる。このように、本実施の形態によれば、異なる粒度・種類のログの表示形式を変換することで、異常時の対応を迅速かつ確実に行うことができるようになる。 This makes it possible to simulate in advance the investment effect of improving processing, making it easier to make investment decisions. Thus, according to this embodiment, by converting the display format of logs of different granularity and types, it becomes possible to quickly and reliably respond to abnormalities.

以上説明したように、本実施の形態によれば、監視対象から出力されるログの概要を確認するためのメトリクスと詳細を確認するためのトレースを取得する取得部102aと、トレースを比較対象のメトリクスのデータ形式に近似するように変換する変換部102bと、比較対象のメトリクスと変換後のトレースを比較分析画面に表示出力する出力部102cと、を備えているので、監視対象から出力されるログについて、詳細情報であるトレースから概要情報であるメトリクスへの近似変換を行い、異なる粒度の情報を統一したデータ形式に可視化して比較を容易にすることで、ログ分析の効率化と精度を向上させて、課題の解決までの時間を短縮することが可能となる。 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 to 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, for the log output from the monitored object, an approximate conversion is performed from the traces, which are detailed information, to metrics, which are summary information, and information of different granularities is visualized in a unified data format to facilitate comparison, thereby improving the efficiency and accuracy of log analysis and shortening the time to resolve the problem.

[4.国連が主導する持続可能な開発目標(SDGs)への貢献]
本実施形態により、業務効率化や企業の適切な経営判断を推進することに寄与することができるので、SDGsの目標8及び9に貢献することが可能となる。
[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 making it possible to contribute to goals 8 and 9 of the SDGs.

また、本実施形態により、廃棄ロス削減や、ペーパレス・電子化を推進することに寄与することができるので、SDGsの目標12、13及び15に貢献することが可能となる。 In addition, this embodiment can contribute to reducing waste and promoting paperless and electronic systems, which can contribute to the achievement of SDGs goals 12, 13, and 15.

また、本実施形態により、統制、ガバナンス強化に寄与することができるので、SDGsの目標16に貢献することが可能となる。 In addition, this embodiment can contribute to strengthening control and governance, making it possible to contribute to Goal 16 of the SDGs.

[5.他の実施形態]
本発明は、上述した実施形態以外にも、特許請求の範囲に記載した技術的思想の範囲内において種々の異なる実施形態にて実施されてよいものである。
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.

例えば、実施形態において説明した各処理のうち、自動的に行われるものとして説明した処理の全部又は一部を手動的に行うこともでき、あるいは、手動的に行われるものとして説明した処理の全部又は一部を公知の方法で自動的に行うこともできる。 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 a known method.

また、本明細書中や図面中で示した処理手順、制御手順、具体的名称、各処理の登録データや検索条件等のパラメータを含む情報、画面例、データベース構成については、特記する場合を除いて任意に変更することができる。 In addition, the processing procedures, control procedures, specific names, registered data for each process, information including parameters such as search conditions, screen examples, and database configurations shown in this specification and drawings may be changed as desired unless otherwise specified.

また、ログ分析装置100に関して、図示の各構成要素は機能概念的なものであり、必ずしも物理的に図示の如く構成されていることを要しない。 Furthermore, with regard to the log analysis device 100, each component shown in the figure is a functional concept, and does not necessarily have to be physically configured as shown in the figure.

例えば、ログ分析装置100が備える処理機能、特に制御部にて行われる各処理機能については、その全部又は任意の一部を、CPU及び当該CPUにて解釈実行されるプログラムにて実現してもよく、また、ワイヤードロジックによるハードウェアとして実現してもよい。尚、プログラムは、本実施形態で説明した処理を情報処理装置に実行させるためのプログラム化された命令を含む一時的でないコンピュータ読み取り可能な記録媒体に記録されており、必要に応じてログ分析装置100に機械的に読み取られる。すなわち、ROM又はHDD(Hard Disk Drive)などの記憶部などには、OSと協働してCPUに命令を与え、各種処理を行うためのコンピュータプログラムが記録されている。このコンピュータプログラムは、RAMにロードされることによって実行され、CPUと協働して制御部を構成する。 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 on a non-transient computer-readable recording medium that contains 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 is recorded in a storage unit such as a ROM or HDD (Hard Disk Drive) for working with the OS to give instructions to the CPU and perform various processes. This computer program is executed by being loaded into RAM, and works with the CPU to form the control unit.

また、このコンピュータプログラムは、ログ分析装置100に対して任意のネットワークを介して接続されたアプリケーションプログラムサーバに記憶されていてもよく、必要に応じてその全部又は一部をダウンロードすることも可能である。 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 part of it as needed.

また、本実施形態で説明した処理を実行するためのプログラムを、一時的でないコンピュータ読み取り可能な記録媒体に格納してもよく、また、プログラム商品として構成することもできる。ここで、この「記録媒体」とは、メモリーカード、USB(Universal Serial Bus)メモリ、SD(Secure Digital)カード、フレキシブルディスク、光磁気ディスク、ROM、EPROM(Erasable Programmable Read Only Memory)、EEPROM(登録商標)(Electrically Erasable and Programmable Read Only Memory)、CD-ROM(Compact Disk Read Only Memory)、MO(Magneto-Optical disk)、DVD(Digital Versatile Disk)、及び、Blu-ray(登録商標) Disc等の任意の「可搬用の物理媒体」を含むものとする。 In addition, the program for executing the processing described in this embodiment may be stored in a non-transitory computer-readable recording medium, and may also be configured as a program product. Here, the term "recording medium" refers to a memory card, a USB (Universal Serial Bus) memory, a SD (Secure Digital) card, a flexible disk, a magneto-optical disk, a ROM, an EPROM (Erasable Programmable Read Only Memory), an EEPROM (registered trademark) (Electrically Erasable and Programmable Read Only Memory), a CD-ROM (Compact Disk Read Only Memory), an MO (Magneto-Optical disk), a DVD (Digital Versatile This includes any "portable physical media" such as a DVD (registered trademark) or Blu-ray (registered trademark) Disc.

また、「プログラム」とは、任意の言語又は記述方法にて記述されたデータ処理方法であり、ソースコード又はバイナリコード等の形式を問わない。なお、「プログラム」は必ずしも単一的に構成されるものに限られず、複数のモジュールやライブラリとして分散構成されるものや、OSに代表される別個のプログラムと協働してその機能を達成するものをも含む。なお、実施形態に示した各装置において記録媒体を読み取るための具体的な構成及び読み取り手順ならびに読み取り後のインストール手順等については、周知の構成や手順を用いることができる。 A "program" is a data processing method written in any language or description method, and may be in any format, 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 consisting of multiple modules or libraries, and a program that works in conjunction with a separate program, such as an OS, to achieve its function. 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, can use well-known configurations and procedures.

記憶部に格納される各種のデータベース等は、RAM、ROM等のメモリ装置、ハードディスク等の固定ディスク装置、フレキシブルディスク、及び、光ディスク等のストレージ手段であり、各種処理やウェブサイト提供に用いる各種のプログラム、テーブル、データベース、及び、ウェブページ用ファイル等を格納する。 The various databases stored in the memory unit are storage devices such as RAM, ROM, etc., fixed disk devices such as hard disks, flexible disks, and optical disks, and store various programs, tables, databases, and web page files used for various processes and providing websites.

また、ログ分析装置100は、既知のパーソナルコンピュータ又はワークステーション等の情報処理装置として構成してもよく、また、任意の周辺装置が接続された当該情報処理装置として構成してもよい。また、ログ分析装置100は、当該装置に本実施形態で説明した処理を実現させるソフトウェア(プログラム又はデータ等を含む)を実装することにより実現してもよい。 The log analysis device 100 may be configured as an information processing device such as a known personal computer or 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 implementing software (including programs or data, etc.) that causes the device to realize the processing described in this embodiment.

更に、装置の分散・統合の具体的形態は図示するものに限られず、その全部又は一部を、各種の付加等に応じて又は機能負荷に応じて、任意の単位で機能的又は物理的に分散・統合して構成することができる。すなわち、上述した実施形態を任意に組み合わせて実施してもよく、実施形態を選択的に実施してもよい。 Furthermore, the specific form of distribution and integration of the devices is not limited to that shown in the figures, and all or part of them can be functionally or physically distributed and integrated in any unit depending on 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.

100 ログ分析装置
102 制御部
102a 取得部
102b 変換部
102c 出力部
104 通信インターフェース部
106 記憶部
108 入出力インターフェース部
112 入力装置
114 出力装置
200 サーバ
300 ネットワーク
REFERENCE SIGNS LIST 100 Log analysis device 102 Control unit 102a Acquisition unit 102b Conversion unit 102c Output unit 104 Communication interface unit 106 Storage unit 108 Input/output interface unit 112 Input device 114 Output device 200 Server 300 Network

Claims (8)

監視対象から出力されるログの概要を確認するためのメトリクスと詳細を確認するためのトレースを取得する取得手段と、
トレースを比較対象のメトリクスのデータ形式に近似するように変換する変換手段と、
比較対象のメトリクスと変換後のトレースを比較分析画面に表示出力する出力手段と、
を備えたことを特徴とするログ分析装置。
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:
前記トレースは、変換元となるログを記録する単位又はその処理の呼び出し元を論理的に集約する単位である処理と、終了時間と、処理時間と、比較対象のメトリクスに対応する変換元の指標である重みの情報を含むことを特徴とする請求項1に記載のログ分析装置。 The log analysis device according to claim 1, characterized in that the trace includes information on a process that is a unit that records the log to be converted or a unit that logically aggregates the callers of that process, an end time, a processing time, and a weight that is an index of the conversion source corresponding to the metric to be compared. 前記処理は、アプリケーションログの画面名やジョブ名、WebサーバのURI、又は、DBログのストアドプロシージャや関数名を含み、
前記重みは、CPU負荷であるCPU時間、メモリ負荷である物理読込、ディスク負荷である物理読込・書込、又は、ネットワーク負荷であるデータ取得行数、更新対象行数を含むことを特徴とする請求項2に記載のログ分析装置。
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.
前記変換手段は、
前記トレースについて、終了時間と処理時間から開始時間を算出し、
比較対象のメトリクスの取得間隔あたりの平均の重みを算出し、
算出した時間あたりの重みを、時系列の表にマッピングし、
横軸を時間、縦軸を重みの大きさとした積み上げグラフを生成して、積み上げグラフの波形を比較対象のメトリクスの近似値とすることを特徴とする請求項3に記載のログ分析装置。
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.
前記変換手段は、算出した時間あたりの重みを時系列にマッピングした表に基づいて、特定期間の各処理の負荷ランキングを生成する負荷ランキング生成機能を備えたことを特徴とする請求項4に記載のログ分析装置。 The log analysis device according to claim 4, characterized in that the conversion means has a load ranking generation function that generates a load ranking of each process for a specific period based on a table that maps the calculated weight per time to a time series. 前記変換手段は、各時間帯における処理の重みをユーザ操作により変更し、変更後の重みについて、横軸を時間、縦軸を重みの大きさとした積み上げグラフを生成するシミュレーション機能を備えたことを特徴とする請求項4に記載のログ分析装置。 The log analysis device according to claim 4, characterized in that the conversion means has a simulation function for changing the processing weight for each time period through a 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. 制御部を備えた情報処理装置が実行するログ分析方法であって、
監視対象から出力されるログの概要を確認するためのメトリクスと詳細を確認するためのトレースを取得する取得工程と、
トレースを比較対象のメトリクスのデータ形式に近似するように変換する変換工程と、
比較対象のメトリクスと変換後のトレースを比較分析画面に表示出力する出力工程と、 を含むことを特徴とするログ分析方法。
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.
制御部を備えた情報処理装置が実行するためのログ分析プログラムであって、
監視対象から出力されるログの概要を確認するためのメトリクスと詳細を確認するためのトレースを取得する取得工程と、
トレースを比較対象のメトリクスのデータ形式に近似するように変換する変換工程と、
比較対象のメトリクスと変換後のトレースを比較分析画面に表示出力する出力工程と、
をコンピュータに実行させるためのログ分析プログラム。
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:
JP2023053319A 2023-03-29 2023-03-29 Log analysis device, log analysis method, and log analysis program Active JP7697982B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2023053319A JP7697982B2 (en) 2023-03-29 2023-03-29 Log analysis device, log analysis method, and log analysis program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2023053319A JP7697982B2 (en) 2023-03-29 2023-03-29 Log analysis device, log analysis method, and log analysis program

Publications (2)

Publication Number Publication Date
JP2024141585A JP2024141585A (en) 2024-10-10
JP7697982B2 true JP7697982B2 (en) 2025-06-24

Family

ID=92975998

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2023053319A Active JP7697982B2 (en) 2023-03-29 2023-03-29 Log analysis device, log analysis method, and log analysis program

Country Status (1)

Country Link
JP (1) JP7697982B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017169949A1 (en) 2016-03-30 2017-10-05 日本電気株式会社 Log analysis device, log analysis method, and recording medium for storing program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0610581A3 (en) * 1993-01-29 1994-12-28 Ibm Visualization tool for graphical display of trace data produced by a parallel processing computer.

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017169949A1 (en) 2016-03-30 2017-10-05 日本電気株式会社 Log analysis device, log analysis method, and recording medium for storing program

Also Published As

Publication number Publication date
JP2024141585A (en) 2024-10-10

Similar Documents

Publication Publication Date Title
CN111881192B (en) Method, system, electronic equipment and storage medium for generating visual configuration report
US8745572B2 (en) Software development automated analytics
US7676695B2 (en) Resolution of computer operations problems using fault trend analysis
JP4717945B2 (en) Business analysis program and business analysis device
US9588879B2 (en) Usability testing
Tng et al. Financial stress, economic activity and monetary policy in the ASEAN-5 economies
US11762720B2 (en) Information processing apparatus and non-transitory computer-readable storage medium for storing API use history display program
JP2015097078A (en) Feature extraction method and apparatus used in causal analysis
US20250377873A1 (en) Methods for application and data dependency identification, visualization, and management
US9448998B1 (en) Systems and methods for monitoring multiple heterogeneous software applications
US11627193B2 (en) Method and system for tracking application activity data from remote devices and generating a corrective action data structure for the remote devices
JP7697982B2 (en) Log analysis device, log analysis method, and log analysis program
KR102337925B1 (en) Method and paaratus for generating models to evaluate enterprise capabilities and method for evaluating enterprise capabilities using the same
Sato et al. Effects of organizational changes on product metrics and defects
JP2020087087A (en) Correction candidate identification program
US20140278820A1 (en) Managing the Topology of Software Licenses in Heterogeneous and Virtualized Environments
US11429748B2 (en) Device and method for analyzing performances of a web application
CN102279793A (en) Method for measuring dependability of component based on entropy
JP2016532949A (en) System and method for deriving critical change attributes from data signals that have been selected and analyzed over a period of time to predict future changes in conventional predictors
CN101751607A (en) Work Efficiency Evaluation System and Method
US20140013265A1 (en) Time frame based data analysis
CN103713987A (en) Keyword-based log processing method
Thangaraj et al. State of art in testing for big data
US8374897B2 (en) Apparatus and method for forecasting qualitative assessments
US20070179922A1 (en) Apparatus and method for forecasting control chart data

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20250418

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20250418

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20250520

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20250612

R150 Certificate of patent or registration of utility model

Ref document number: 7697982

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150