JP5477057B2 - Log management method, log management program, and log management apparatus - Google Patents
Log management method, log management program, and log management apparatus Download PDFInfo
- Publication number
- JP5477057B2 JP5477057B2 JP2010047701A JP2010047701A JP5477057B2 JP 5477057 B2 JP5477057 B2 JP 5477057B2 JP 2010047701 A JP2010047701 A JP 2010047701A JP 2010047701 A JP2010047701 A JP 2010047701A JP 5477057 B2 JP5477057 B2 JP 5477057B2
- Authority
- JP
- Japan
- Prior art keywords
- log
- information
- log information
- computer
- storage area
- 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.)
- Expired - Fee Related
Links
- 238000007726 management method Methods 0.000 title claims description 101
- 238000000605 extraction Methods 0.000 claims description 102
- 238000000034 method Methods 0.000 claims description 25
- 230000006870 function Effects 0.000 claims description 17
- 239000000470 constituent Substances 0.000 claims description 14
- 238000012545 processing Methods 0.000 description 24
- 238000001514 detection method Methods 0.000 description 16
- 230000005856 abnormality Effects 0.000 description 14
- 238000010586 diagram Methods 0.000 description 14
- 230000005540 biological transmission Effects 0.000 description 13
- 230000007774 longterm Effects 0.000 description 8
- 230000002159 abnormal effect Effects 0.000 description 5
- 238000004458 analytical method Methods 0.000 description 5
- 230000001419 dependent effect Effects 0.000 description 2
- KNMAVSAGTYIFJF-UHFFFAOYSA-N 1-[2-[(2-hydroxy-3-phenoxypropyl)amino]ethylamino]-3-phenoxypropan-2-ol;dihydrochloride Chemical compound Cl.Cl.C=1C=CC=CC=1OCC(O)CNCCNCC(O)COC1=CC=CC=C1 KNMAVSAGTYIFJF-UHFFFAOYSA-N 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 239000000523 sample Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Landscapes
- Debugging And Monitoring (AREA)
Description
本発明は、コンピュータ上で生成されたログ情報を時系列に沿ってコンピュータの記憶装置に保存するログ管理方法およびログ管理プログラムとログ管理装置に関する。 The present invention relates to a log management method, a log management program, and a log management apparatus that store log information generated on a computer in a storage device of the computer in time series.
ログ情報は障害原因の分析時にソフトウェアの動作の詳細を確認するために不可欠な重要な情報である。
しかしながら、ソフトウェアの稼働中に刻々と更新される情報であるため、障害の発生直後つまり障害発生時のログ情報を記憶した記憶領域に上書きが行われる前にログ情報を確保するか、もしくは、ある程度の時間が経過しても過去のログ情報が上書きされないだけの十分な記憶領域をログ情報の保存のために確保する必要があった。
実際には障害発生直後(数時間以内)にログ情報を確保することは容易ではなく、有限の一時記憶領にログ情報が逐次循環的に上書きして書き込まれていくため、必要なログ情報を確保しようとすると非常に大きな記憶容量が必要となり、貴重なシステムリソースを圧迫する要因となっている。
とりわけ、ひとつの障害に起因して同一のログ情報たとえばエラーメッセージ等が繰り返しラッシュするケースでは、短時間に大量のログ情報が出力されるため、障害の解析に必要な時点のログ情報の確保には困難を極めていた。
The log information is important information that is indispensable for confirming the details of the operation of the software when analyzing the cause of failure.
However, since the information is updated every time while the software is running, log information should be secured immediately after the failure occurs, that is, before the storage area storing the log information at the time of the failure is overwritten, or to some extent In order to save the log information, it is necessary to secure a sufficient storage area so that past log information is not overwritten even after the elapse of time.
Actually, it is not easy to secure log information immediately after the failure (within several hours), and the log information is overwritten and written over to a finite temporary storage area sequentially. If you try to secure it, you will need a very large storage capacity, and it will be a factor to press valuable system resources.
In particular, in the case where the same log information, such as an error message, is repeatedly rushed due to a single failure, a large amount of log information is output in a short time, thus ensuring log information at the time required for failure analysis. Was extremely difficult.
コンピュータ上で生成されたログ情報を時系列に沿ってコンピュータの記憶装置に保存するための技術としては、特許文献1に開示されるログ管理装置,ログ管理方法,ログ管理プログラムや特許文献2に開示されるデータ処理システムが既に公知である。
As a technique for storing log information generated on a computer in a computer storage device in chronological order, a log management device, a log management method, a log management program disclosed in
特許文献1に開示されるログ管理装置,ログ管理方法,ログ管理プログラムでは、他の事象を差し挟まずに連続してログ情報が検出された場合に2回目以降の検出時に複数のログ情報を一まとめにマージして出力することでログ情報を保存する記憶領域を節約している。
In the log management device, the log management method, and the log management program disclosed in
また、特許文献2に開示されるデータ処理システムでは、前回のログ情報の発生時刻と今回のログ情報の発生時刻との時間差を計算し、短時間に繰り返しログ情報が発生した場合に出力するログ情報を取捨選択することによって、ログ情報を保存する記憶領域を節約している。
Also, in the data processing system disclosed in
特許文献1−2に開示された技術によれば、同一の原因で短時間に繰り返しログ情報が生成される状況下にあってはログ情報を保存する記憶領域を節約することが可能であり、従って、重要なログ情報を保全することも可能となるが、ログ情報の検出を繰り返す間に他の事象が差し挟まれた場合あるいは短時間と見做される時間差よりも長いインターバルでログ情報が繰り返し検出されるような場合にあってはログ情報の出力量を抑制しきれず、有限の記憶領域に循環的にログ情報を書き込む構造上、障害の原因に関連した重要なログ情報、例えば、エラーの発生を記憶したログ情報等が上書きによって消失してしまう恐れがある。 According to the technique disclosed in Patent Literature 1-2, it is possible to save a storage area for storing log information under a situation where log information is repeatedly generated in a short time for the same cause, Therefore, it is possible to maintain important log information. However, when other events are sandwiched between repeated log information detections, the log information is stored at intervals longer than the time difference considered to be a short time. In the case of repeated detection, the log information output volume cannot be suppressed, and the log information is cyclically written to a finite storage area, so that important log information related to the cause of the failure, for example, error There is a risk that the log information and the like storing the occurrence of the occurrence will be lost by overwriting.
なお、ネットワークで情報伝達可能に接続された複数のコンピュータから出力されるログ情報を1台のコンピュータで集中管理する点、および、ネットワークで情報伝達可能に接続された何れかのコンピュータに異常が発生した場合に異常の発生したコンピュータと相互依存の関係にある他のコンピュータのログ情報を取得する点に関しては特許文献3−4において既に公知であり、コンピュータによる文字ストリングスの解析処理に関しては例えば特許文献5等に開示される通り周知の技術となっている。
In addition, log information output from multiple computers connected so that information can be transmitted over a network is centrally managed by a single computer, and any computer connected so that information can be transmitted over a network has failed. In this case, it is already known in Patent Document 3-4 that the log information of another computer having an interdependence relationship with the computer in which an abnormality has occurred, and the character string analysis processing by the computer is disclosed in
そこで、本発明の目的は、短時間に繰り返しログ情報が発生した場合やログ情報の検出を繰り返す間に他の事象が差し挟まれた場合さらには比較的に長いインターバルでログ情報が繰り返し検出されるような場合であっても、重要なログ情報、より具体的には、抽出条件によって特定されるエラーメッセージ等のログ情報を、有限の記憶領域に長期間に亘って保持することのできるログ管理方法およびログ管理プログラムとログ管理装置を提供することにある。 Therefore, an object of the present invention is to detect log information repeatedly in a relatively long interval when log information is repeatedly generated in a short time or when another event is sandwiched between repeated log information detection. Even in such a case, a log that can hold important log information, more specifically, log information such as an error message specified by an extraction condition in a finite storage area for a long period of time A management method, a log management program, and a log management apparatus are provided.
本発明のログ管理方法は、コンピュータ上で生成されたログ情報を時系列に沿ってコンピュータの記憶装置に保存するログ管理方法であり、前記目的を達成するため、特に、
生成されたログ情報を時系列に沿って前記記憶装置の一部を構成する有限の一時記憶領域に循環的に上書きして記憶させると共に、
前記生成されたログ情報の内容が予め設定された抽出条件を満たすか否かを判定し、前記予め設定された抽出条件を満たす場合には、更に、前記生成されたログ情報の内容を特定する情報が前記記憶装置の他の一部を構成する有限の記憶領域に既に記憶されているか否かを判定し、
前記生成されたログ情報の内容を特定する情報が前記記憶装置の前記他の一部を構成する有限の記憶領域に記憶されていない場合に限って、このログ情報の内容を特定する情報を前記記憶装置の前記他の一部を構成する有限の記憶領域に追加して記憶させると共に、前記生成されたログ情報を前記記憶装置の更に他の一部を構成する有限の記憶領域に追加して記憶させることを特徴とした構成を有する。
The log management method of the present invention is a log management method for storing log information generated on a computer in a storage device of the computer along a time series, and in order to achieve the above object,
The generated log information is cyclically overwritten and stored in a finite temporary storage area constituting a part of the storage device in time series,
It is determined whether or not the content of the generated log information satisfies a preset extraction condition. If the predetermined extraction condition is satisfied, the content of the generated log information is further specified. Determining whether information is already stored in a finite storage area constituting another part of the storage device;
Only when the information specifying the content of the generated log information is not stored in a finite storage area constituting the other part of the storage device, the information specifying the content of the log information is In addition to storing in the finite storage area constituting the other part of the storage device, the generated log information is added to the finite storage area constituting the other part of the storage device. It has a configuration characterized by being memorized.
本発明のログ管理用プログラムは、コンピュータ上で生成されたログ情報を時系列に沿ってコンピュータの記憶装置に保存するためのログ管理用プログラムであり、前記と同様の目的を達成するため、特に、
前記コンピュータのマイクロプロセッサを、生成されたログ情報を時系列に沿って前記記憶装置の一部を構成する有限の一時記憶領域に循環的に上書きして記憶させるログ書込手段、
前記生成されたログ情報の内容が予め設定された抽出条件を満たすか否かを判定する抽出要否判定手段、
前記抽出要否判定手段によって前記生成されたログ情報の内容が予め設定された抽出条件を満たすと判定された場合に、前記生成されたログ情報の内容を特定する情報が前記記憶装置の他の一部を構成する有限の記憶領域に既に記憶されているか否かを判定する保存要否判定手段、
前記保存要否判定手段によって前記生成されたログ情報の内容を特定する情報が前記記憶装置の前記他の一部を構成する有限の記憶領域に記憶されていないと判定された場合に限って、このログ情報の内容を特定する情報を前記記憶装置の前記他の一部を構成する有限の記憶領域に追加して記憶させる内容特定情報書込手段、および、
前記保存要否判定手段によって前記生成されたログ情報の内容を特定する情報が前記記憶装置の前記他の一部を構成する有限の記憶領域に記憶されていないと判定された場合に限って、前記生成されたログ情報を前記記憶装置の更に他の一部を構成する有限の記憶領域に追加して記憶させる抽出ログ書込手段として機能させることを特徴とした構成を有する。
The log management program of the present invention is a log management program for storing log information generated on a computer in a storage device of the computer in time series, and in order to achieve the same object as described above, ,
Log writing means for cyclically overwriting and storing the generated log information in a finite temporary storage area constituting a part of the storage device in time series, the microprocessor of the computer;
Extraction necessity determination means for determining whether or not the content of the generated log information satisfies a preset extraction condition;
When it is determined by the extraction necessity determination unit that the content of the generated log information satisfies a predetermined extraction condition, information for specifying the content of the generated log information is stored in another storage device. A storage necessity judging means for judging whether or not already stored in a finite storage area constituting a part;
Only when it is determined by the storage necessity determination means that the information specifying the content of the generated log information is not stored in a finite storage area constituting the other part of the storage device, Content specifying information writing means for adding and storing information specifying the content of the log information in a finite storage area constituting the other part of the storage device; and
Only when it is determined by the storage necessity determination means that the information specifying the content of the generated log information is not stored in a finite storage area constituting the other part of the storage device, The generated log information is made to function as an extraction log writing means for adding and storing the generated log information in a finite storage area constituting still another part of the storage device.
本発明のログ管理装置は、コンピュータ上で生成されたログ情報を時系列に沿ってコンピュータの記憶装置に保存するためのログ管理装置であり、前記と同様の目的を達成するため、特に、
生成されたログ情報を時系列に沿って前記記憶装置の一部を構成する有限の一時記憶領域に循環的に上書きして記憶させるログ書込手段と、
前記生成されたログ情報の内容が予め設定された抽出条件を満たすか否かを判定する抽出要否判定手段と、
前記抽出要否判定手段によって前記生成されたログ情報の内容が予め設定された抽出条件を満たすと判定された場合に、前記生成されたログ情報の内容を特定する情報が前記記憶装置の他の一部を構成する有限の記憶領域に既に記憶されているか否かを判定する保存要否判定手段と、
前記保存要否判定手段によって前記生成されたログ情報の内容を特定する情報が前記記憶装置の前記他の一部を構成する有限の記憶領域に記憶されていないと判定された場合に限って、このログ情報の内容を特定する情報を前記記憶装置の前記他の一部を構成する有限の記憶領域に追加して記憶させる内容特定情報書込手段と、
前記保存要否判定手段によって前記生成されたログ情報の内容を特定する情報が前記記憶装置の前記他の一部を構成する有限の記憶領域に記憶されていないと判定された場合に限って、前記生成されたログ情報を前記記憶装置の更に他の一部を構成する有限の記憶領域に追加して記憶させる抽出ログ書込手段とを備えたことを特徴とする構成を有する。
The log management apparatus of the present invention is a log management apparatus for storing log information generated on a computer in a storage device of the computer in time series, and in order to achieve the same object as described above,
Log writing means for cyclically overwriting and storing the generated log information in a finite temporary storage area constituting a part of the storage device in time series;
Extraction necessity determination means for determining whether or not the content of the generated log information satisfies a preset extraction condition;
When it is determined by the extraction necessity determination unit that the content of the generated log information satisfies a predetermined extraction condition, information for specifying the content of the generated log information is stored in another storage device. A storage necessity judging means for judging whether or not already stored in a finite storage area constituting a part;
Only when it is determined by the storage necessity determination means that the information specifying the content of the generated log information is not stored in a finite storage area constituting the other part of the storage device, Content specifying information writing means for adding and storing information specifying the content of the log information in a finite storage area constituting the other part of the storage device;
Only when it is determined by the storage necessity determination means that the information specifying the content of the generated log information is not stored in a finite storage area constituting the other part of the storage device, The system further comprises extraction log writing means for adding and storing the generated log information in a finite storage area constituting still another part of the storage device.
本発明のログ管理方法およびログ管理プログラムとログ管理装置は、生成されたログ情報の内容が予め設定された抽出条件を満たすか否かを判定し、予め設定された抽出条件を満たす場合には、更に、生成されたログ情報の内容を特定する情報が記憶装置に既に記憶されているか否かを判定する。そして、生成されたログ情報の内容を特定する情報が記憶装置に記憶されている場合にはログ情報の内容を特定する情報やログ情報の追加記憶を非実行とし、生成されたログ情報の内容を特定する情報が記憶装置に記憶されていない場合に限ってログ情報の内容を特定する情報やログ情報を記憶装置に追加記憶するようにしたので、長期保存の対象とする重要なログ情報を抽出条件によって絞り込むことができ、しかも、抽出条件によって絞り込まれたログ情報であっても既に記憶済みのものは保存の対象から排除することができるので、重要なログ情報つまり抽出条件によって特定されるログ情報を記憶装置の有限の記憶領域に長期間に亘って保持することができる。 The log management method, the log management program, and the log management apparatus according to the present invention determine whether or not the content of the generated log information satisfies a preset extraction condition, and when the preset extraction condition is satisfied Further, it is determined whether or not information specifying the content of the generated log information is already stored in the storage device. If the information specifying the content of the generated log information is stored in the storage device, the information specifying the content of the log information and the additional storage of the log information are not executed, and the content of the generated log information Since the information for identifying the contents of the log information and the log information are additionally stored in the storage device only when the information for specifying the information is not stored in the storage device, the important log information to be stored for a long term is stored in the storage device. The log information can be narrowed down by the extraction conditions, and even log information that has been narrowed down by the extraction conditions can be excluded from the storage target, so it is specified by important log information, that is, the extraction conditions Log information can be held in a finite storage area of the storage device for a long period of time.
次に、本発明のログ管理方法を適用した一実施形態のログ管理装置と此のログ管理装置を制御するログ管理プログラムについて具体例を挙げて詳細に説明する。 Next, a log management apparatus according to an embodiment to which the log management method of the present invention is applied and a log management program for controlling the log management apparatus will be described in detail with specific examples.
図1は一実施形態のログ管理装置1と此のログ管理装置1にネットワーク2を介して情報伝達可能に接続された複数のコンピュータ3との接続関係の概要について示した機能ブロック図である。
FIG. 1 is a functional block diagram showing an outline of a connection relationship between a
図2に示される通り、ログ管理装置1は通常のパーソナルコンピュータやワークステーション等のコンピュータによって構成されるもので、演算処理用のマイクロプロセッサ101と、マイクロプロセッサ101の起動プログラム等を格納したROM102と、各種のパラメータ等を記憶するための不揮発性メモリ103と、演算データ等の一時記憶に利用されるRAM104と、大容量記憶装置として機能するハードディスクドライブ105を備え、マイクロプロセッサ101の入出力回路106には、マン・マシン・インターフェイスとして機能するキーボード107およびマウス108とモニタ109の他、プリンタ110が接続されている。インターフェイス111はネットワーク2に接続するためのインターフェイスである。各コンピュータ3のハードウェア構成もログ管理装置1を構成するコンピュータと同等であり、図3に示す通り、マイクロプロセッサ201,ROM202,不揮発性メモリ203,RAM204,ハードディスクドライブ205,入出力回路206,キーボード207,マウス208,モニタ209,プリンタ210を備え、ネットワーク2に接続するためのインターフェイス211が設けられている。
As shown in FIG. 2, the
ログ管理装置1は、ネットワーク2を介してログ管理装置1と情報伝達可能に接続された複数のコンピュータ3上で生成されたログ情報を時系列に沿って記憶装置であるハードディスクドライブ105に保存するためのコンピュータである。
The
ログ管理装置1は、図1に示すように、複数のコンピュータ3上で生成されたログ情報を時系列に沿ってハードディスクドライブ105の一部を構成する有限の一時記憶領域A1(以下、ログ記憶領域A1という)に循環的に上書きして記憶させるログ書込手段Bと、複数のコンピュータ3上で生成されてログ管理装置1に転送された最新のログ情報、すなわち、ログ書込手段Bによりログ記憶領域A1に新たに書き込まれたログ情報の内容が予め設定された抽出条件を満たすか否かを判定する抽出要否判定手段Cを備える。
この実施形態にあっては、ログ書込手段Bによりログ記憶領域A1に新たなログ情報の書き込みが行われる度にログ読出手段Kがログ記憶領域A1から最新のログ情報を読み込んで抽出要否判定手段Cに引き渡すようになっているので、抽出要否判定手段Cに読み込まれるのは常に最新のログ情報である。また、抽出要否判定手段Cが判定に用いる抽出条件は予め識別条件記憶テーブルL(ハードディスクドライブ105内)に記憶されているものとする。
また、ログ管理装置1は、抽出要否判定手段Cによりログ情報の内容が予め設定された抽出条件を満たすと判定された場合に此のログ情報の内容を特定する情報がハードディスクドライブ105の他の一部を構成する有限の記憶領域A2(以下、既存ログ記憶領域という)に既に記憶されているか否かを判定する保存要否判定手段Dと、保存要否判定手段Dによりログ情報の内容を特定する情報が既存ログ記憶領域A2に記憶されていないと判定された場合に限って此のログ情報の内容を特定する情報を既存ログ記憶領域A2に追加して記憶させる内容特定情報書込手段Eと、保存要否判定手段Dによりログ情報の内容を特定する情報が既存ログ記憶領域A2に記憶されていないと判定された場合に限って此のログ情報をハードディスクドライブ105の更に他の一部を構成する有限の記憶領域A3(以下、ログ保存領域という)に追加して記憶させる抽出ログ書込手段Fを備える。
電文送受信手段Gは、ログ管理装置1にネットワーク2を介して情報伝達可能に接続された複数のコンピュータ3から各コンピュータ3により生成されたログ情報と当該ログ情報を生成したコンピュータ3を特定するためのコンピュータ特定情報とを受け付けてログ書込手段Bに引き渡すと共にログ管理装置1のマイクロプロセッサ101が生成した指令を各コンピュータ3に送信するためのものである。
この実施形態にあっては、複数のコンピュータ3上で生成されたログ情報をログ管理装置1で集中管理することを前提としているので電文送受信手段Gが必要となるが、各コンピュータ3の各々にログ管理装置1の機能を持たせた場合、言い換えれば、ログ管理装置1それ自体に各種のアプリケーションプログラム等をインストールして通常のコンピュータとして使用するような場合、要するに、他のコンピュータからのログ情報を取得せずに自らのログ情報のみを自己完結的に取り扱うような構成にあっては電文送受信手段Gは不要である。
この実施形態のログ管理装置1は、更に、保存要否判定手段Dによりログ情報の内容を特定する情報が既存ログ記憶領域A2に記憶されていないと判定された場合に限り、複数のコンピュータ3同士の相互依存関係をコンピュータ特定情報の対応関係によって記憶した依存関係記憶テーブルH(ハードディスクドライブ105内)を参照して当該ログ情報を生成したコンピュータ3と相互依存関係のあるコンピュータ3を特定する依存関係特定手段Iと、依存関係特定手段Iで特定されたコンピュータ3の各々に電文送受信手段Gを介して指令を出力し、各コンピュータ3における最新のログ情報を各コンピュータ3毎の記憶装置であるハードディスクドライブ205に保存させる指令出力手段Jを備える。
前記と同様、他のコンピュータからのログ情報を取得せずに自らのログ情報のみを自己完結的に取り扱うような構成にあっては、依存関係記憶テーブルH,依存関係特定手段I,指令出力手段Jは不要である。
As shown in FIG. 1, the
In this embodiment, every time new log information is written in the log storage area A1 by the log writing means B, the log reading means K reads the latest log information from the log storage area A1 and whether or not extraction is necessary. Since it is delivered to the determination means C, the latest log information is always read by the extraction necessity determination means C. Further, it is assumed that the extraction conditions used for the determination by the extraction necessity determination unit C are stored in advance in the identification condition storage table L (in the hard disk drive 105).
The
The message transmission / reception means G is for identifying the log information generated by each
In this embodiment, since it is assumed that log information generated on a plurality of
The
Similarly to the above, in a configuration in which only log information is handled in a self-contained manner without acquiring log information from another computer, the dependency relationship storage table H, dependency relationship specifying means I, command output means J is not necessary.
このうち、図1に示されるログ記憶領域A1,既存ログ記憶領域A2,ログ保存領域A3,依存関係記憶テーブルH,識別条件記憶テーブルLは何れもコンピュータによって構成されるログ管理装置1のハードディスクドライブ105の記憶領域の一部を利用して構築され、また、ログ書込手段B,抽出要否判定手段C,保存要否判定手段D,内容特定情報書込手段E,抽出ログ書込手段F,電文送受信手段G,依存関係特定手段I,指令出力手段J,ログ読出手段Kは何れもコンピュータによって構成されるログ管理装置1のマイクロプロセッサ101と其のハードディスクドライブ105にインストールされたログ管理プログラム(図6〜図7参照)によって実現される。
ログ管理プログラムはログ管理装置1の起動時にハードディスクドライブ105からRAM104に実行対象プログラムとして読み込まれてRAM104に常駐し、マイクロプロセッサ101によるマルチタスク処理として図6および図7の各処理が所定周期毎に繰り返し実行される。
Among these, the log storage area A1, the existing log storage area A2, the log storage area A3, the dependency relation storage table H, and the identification condition storage table L shown in FIG. 105, a log writing unit B, an extraction necessity determination unit C, a storage necessity determination unit D, a content specification information writing unit E, and an extraction log writing unit F. , Message transmission / reception means G, dependency relationship specifying means I, command output means J, and log reading means K are all log management programs installed in the
The log management program is read as an execution target program from the
一方、ネットワーク2を経由してログ管理装置1と情報伝達可能に接続された各コンピュータ3は、当該コンピュータ3の利用状況やデータ通信の記録さらには様々な異常が検出されたときにコンピュータ3内で生成されるログ情報を循環的に上書きして書き込むための有限の一時記憶領域a1(以下、ログ記憶領域a1という)と、ログ記憶領域a1に書き込まれた最新のログ情報を読み出すクライアント用ログ読出手段kと、クライアント用ログ読出手段kで読み込まれたログ情報と当該コンピュータ3を特定するためのコンピュータ特定情報とをログ管理装置1に送信すると共にログ管理装置1から送信された指令を受け付けて抽出ログ書込手段fに引き渡すクライアント用電文送受信手段gと、ログ管理装置1から送信された指令を検出してログ記憶領域a1の最新のログ情報を有限のログ保存領域a3(以下、ログ保存領域a3という)に追加して記憶させるクライアント用抽出ログ書込手段fを備える。ログ情報の生成やログ記憶領域a1への書き込み処理等に関しては既に公知であるから、ここでは特に説明しない。
On the other hand, each
このうち、図1に示されるログ記憶領域a1とログ保存領域a3は何れもコンピュータ3のハードディスクドライブ205の記憶領域の一部を利用して構築され、また、クライアント用抽出ログ書込手段f,クライアント用電文送受信手段g,クライアント用ログ読出手段kは何れもコンピュータ3のマイクロプロセッサ201と其のハードディスクドライブ205にインストールされたクライアント管理プログラム(図4〜図5参照)によって実現される。
クライアント管理プログラムはコンピュータ3の起動時にハードディスクドライブ205からRAM204に実行対象プログラムとして読み込まれてRAM204に常駐し、マイクロプロセッサ201によるバックグラウンドのマルチタスク処理として図4および図5の各処理が所定周期毎に繰り返し実行される。
Among these, the log storage area a1 and the log storage area a3 shown in FIG. 1 are both constructed using a part of the storage area of the
The client management program is read as an execution target program from the
次に、クライアント管理プログラムの概略を示した図4〜図5のフローチャートとログ管理プログラムの概略を示した図6〜図7のフローチャートを参照して本実施形態のログ管理装置1の全体的な処理動作と此れによって実現される本実施形態のログ管理方法について具体的に説明する。
Next, referring to the flowcharts of FIGS. 4 to 5 showing the outline of the client management program and the flowcharts of FIGS. 6 to 7 showing the outline of the log management program, the entire
まず、図1,図3,図4を参照して各コンピュータ3内で生成されたログ情報の処理について説明する。
First, processing of log information generated in each
コンピュータ3のマイクロプロセッサ201は、所定周期毎に繰り返し実行されるクライアント管理プログラムの処理において、まず、ハードディスクドライブ205のログ記憶領域a1に新たなログ情報が書き込まれているか否かを判定し(図4のステップS1)、新たなログ情報の書き込みが確認されなければ、この周期の処理をこのまま終了する。
The
また、ハードディスクドライブ205のログ記憶領域a1に新たなログ情報が書き込まれていることが確認されてステップS1の判定結果が真となった場合には、クライアント用ログ読出手段kとして機能するマイクロプロセッサ201がハードディスクドライブ205のログ記憶領域a1から最新のログ情報つまり今回新たに生成されたログ情報読み込み(ステップS2)、クライアント用電文送受信手段gとして機能するマイクロプロセッサ201が、当該ログ情報を生成したコンピュータ3を特定するためのコンピュータ特定情報をログ情報に添付し(ステップS3)、これらの情報をネットワーク2を経由してログ管理装置1に送信する(ステップS4)。
この実施形態では、コンピュータ特定情報として当該コンピュータ3にインストールされたクライアント管理プログラムのエージェントIDを使用しているが、コンピュータ3を一義的に特定できる情報であれば、他の情報であっても構わない。
If it is confirmed that new log information is written in the log storage area a1 of the
In this embodiment, the agent ID of the client management program installed in the
このようにしてコンピュータ3から送出されたログ情報とコンピュータ特定情報は、図6〜図7の処理を繰り返し実行するログ管理装置1において電文送受信手段Gとして機能するマイクロプロセッサ101によって図6のステップT1の処理で検出され、電文送受信手段Gとして機能するマイクロプロセッサ101が此のログ情報とコンピュータ特定情報を受け付けてログ書込手段Bに引き渡し(ステップT2)、ログ書込手段Bとして機能するマイクロプロセッサ101が、此のログ情報とコンピュータ特定情報とをハードディスクドライブ105のログ記憶領域A1に循環的に上書きして記憶させる(ステップT3)。
つまり、ログ記憶領域A1を構成する有限の記憶領域に多数のログ情報が領域の先頭から次々と書き込まれ、記憶領域がログ情報で満杯となった状態で改めて記憶領域の先頭から順に、言い換えれば、その時点で最も古いログ情報を記憶している記憶領域から順に新たなログ情報の書き込みが行われる。
The log information and the computer identification information sent from the
In other words, a large number of log information is written one after another in the finite storage area constituting the log storage area A1, and the storage area is filled with log information, in order from the beginning of the storage area. New log information is written in order from the storage area storing the oldest log information at that time.
ハードディスクドライブ105のログ記憶領域A1に書き込まれるログ情報の論理構成の一例を図8の概念図に示す。
ログ記憶領域A1に書き込まれる1セットのデータは、図8に示される通り、このログ情報の発生時刻(年,月,日,時,分)と、このログ情報を生成したコンピュータ3のコンピュータ特定情報として機能するエージェントIDと、ログ情報本体とによって構成され、更に、ログ情報本体はメッセージIDたとえば“AP_10”と其の本文たとえば“AP=ap89 start”とによって構成される。このうち、コンピュータ3から送信されたログ情報に必ず含まれるのはエージェントIDとログ情報本体であり、ログ情報の発生時刻に関しては、コンピュータ3の側でログ情報に添付してもよいし、ログ管理装置1の側でログ情報を受け付けた時間をログ情報の発生時刻として記憶させるようにしてもよい。
An example of a logical configuration of log information written in the log storage area A1 of the
As shown in FIG. 8, one set of data written in the log storage area A1 includes the time (year, month, day, hour, minute) of the log information and the computer identification of the
このようにしてハードディスクドライブ105のログ記憶領域A1に新たなログ情報の書き込みが行われると、図6〜図7の処理を繰り返し実行するログ管理装置1のマイクロプロセッサ101が新たなログ情報の書き込みを検知し(図7のステップU1)、ログ読出手段Kとして機能するマイクロプロセッサ101が、ログ記憶領域A1から最新のログ情報つまり前述のステップT3の処理でハードディスクドライブ105のログ記憶領域A1に書き込まれたログ情報を読み込んで、抽出要否判定手段Cに引き渡す(ステップU2)。
When new log information is written in the log storage area A1 of the
次いで、ログ管理装置1の抽出要否判定手段Cとして機能するマイクロプロセッサ101が、ログ読出手段Kから引き渡されたログ情報とハードディスクドライブ105内の識別条件記憶テーブルLに記憶されている抽出条件とを参照し(ステップU3)、このログ情報の内容が予め設定された抽出条件を満たすか否かを判定する(ステップU4)。
Next, the
ここで、ステップU4の判定処理について詳細に説明する。 Here, the determination process in step U4 will be described in detail.
この実施形態では、コンピュータ3の正常,異常,警告(アラート発生)といったステータスに関連したログ情報を相互に識別可能とし、そのうち異常に関連するログ情報を抽出すべき重要なログ情報として位置づけており、ハードディスクドライブ105内の識別条件記憶テーブルLには、判定対象となるログ情報が正常,異常,警告に関連したログ情報であるか否かを判定するための識別条件が、例えば、図9に示されるようにして3種類設定されている。
識別条件の各々は、各識別条件に固有のフィルタIDとログ情報の全体的な特徴を特定するためのメッセージIDとログ情報上でキーワードの位置を特定するためのオフセット値とログ情報の内容を特定するためのキーワードとコンピュータ3の状態を表すステータスとによって構成される。メッセージIDの構成については既に図8を参照して説明した通りである。オフセットの値は図8に示されるようなログ情報本体の先頭文字を基準位置として左から右に1,2,3,・・・と数えるものとする。
無論、識別するステータスとしては正常,異常,警告以外の状態を単数または複数任意に選択して設定することが可能であり、また、メッセージIDとオフセットとキーワードとステータスとの対応関係は一対一とは限らない。例えば、1つのステータスに対応させて複数のキーワードを設定したり、1つのキーワードに対応させて複数のオフセット値を設定したりすることも可能である。キーワードはログ情報の内容を特定するためのものであるから、当然、ログ情報に含まれる可能性のある文字ストリングスでなければ意味を成さない。
また、この実施形態では、各識別条件のうちキーワードを除く構成因子の各々にワイルドカード(*)を利用した無条件一致の設定が許容されている。例えば、図9中の識別条件記憶テーブルLの第3行目に示される異常のステータスの識別条件では、識別条件の構成因子のうちメッセージIDとオフセット値の欄にワイルドカードが設定され、キーワードの欄に“error”が設定されているので、“error”という文字ストリングスが含まれるログ情報は、そのメッセージIDが何であろうと、また、“error”の文字ストリングスがログ情報本体の何処に書き込まれていようと、異常のステータスを有するログ情報として認識されることになる。
図9の識別条件記憶テーブルLに示される識別条件のうち、この実施形態にあっては、異常のステータスに対応する識別条件のみを抽出条件とし、異常に関連したログ情報のみを重要なログ情報として位置づけているが、これは単に運用上の問題つまり装置の使い方の問題であり、必要とあらば、他の識別条件の1つ或いは複数を選択して抽出すべき重要なログ情報を得るための抽出条件とすることも可能である。
ログ管理装置1の抽出要否判定手段Cとして機能するマイクロプロセッサ101は、ステップU4の処理において、ログ読出手段Kから引き渡されたログ情報を解析し、このログ情報が図9の識別条件記憶テーブルLに記憶されている抽出条件を満たすか否かを判定する。
例えば、仮に、図8中の第2行目に示されるようなログ情報が判定対象としてログ読出手段Kから抽出要否判定手段Cに引き渡されたとすれば、このログ情報のログ情報本体にキーワードである“error”の文字ストリングスが含まれていることから、ステップU4の判定結果が真となる。既に述べた通り、図9の識別条件記憶テーブルL中の第3行目に示される異常のステータスの識別条件では、キーワードの欄に“error”が設定され、且つ、識別条件の構成因子のうちメッセージIDとオフセット値の欄にワイルドカードが設定されているため、“error”という文字ストリングスが含まれるログ情報の全てが、異常に関連したログ情報つまり抽出すべき重要なログ情報として認識されるからである。
従って、この実施形態の抽出要否判定手段Cは、抽出条件のうちキーワードを除く構成因子にワイルドカードが設定されている場合に、ワイルドカードが設定された構成因子つまり此の場合にあってはメッセージIDとオフセット値が、予め設定された抽出条件中の対応する構成因子つまりメッセージIDとオフセット値の条件を無条件に満たすものとして判定する機能を備えた抽出要否判定手段である。
また、仮に、図8中の第1行目に示されるようなログ情報が判定対象としてログ読出手段Kから抽出要否判定手段Cに引き渡されたとすれば、このログ情報におけるログ情報本体のメッセージIDが“AP_10”であること、および、ログ情報本体の先頭から14文字オフセットしてキーワードである“start”の記述が開始されていることから、このログ情報は図9の識別条件記憶テーブルL中でフィルタID“logA001”で示される識別条件を満たすことになるが、これは単なる識別条件であって抽出条件ではないので、ステップU4の判定結果は偽となる。
In this embodiment, log information related to statuses such as normal, abnormal, and warning (alert occurrence) of the
Each of the identification conditions includes a filter ID unique to each identification condition, a message ID for specifying the overall characteristics of the log information, an offset value for specifying the keyword position on the log information, and the contents of the log information. It consists of a keyword for specifying and a status representing the state of the
Of course, the status to identify can be set by selecting one or more states other than normal, abnormal, and warning, and the correspondence between the message ID, offset, keyword, and status is one-to-one. Is not limited. For example, a plurality of keywords can be set corresponding to one status, or a plurality of offset values can be set corresponding to one keyword. Since the keyword is for specifying the content of the log information, naturally, it does not make sense unless it is a character string that may be included in the log information.
In this embodiment, setting of unconditional matching using a wild card (*) is allowed for each of the constituent factors excluding the keyword among the identification conditions. For example, in the abnormal status identification condition shown in the third row of the identification condition storage table L in FIG. 9, wildcards are set in the message ID and offset value columns of the components of the identification condition, and the keyword Since “error” is set in the column, log information including the character string “error” is written in any part of the log information body regardless of the message ID of the log information. It will be recognized as log information having an abnormal status.
Of the identification conditions shown in the identification condition storage table L of FIG. 9, in this embodiment, only the identification condition corresponding to the abnormal status is used as the extraction condition, and only the log information related to the abnormality is important log information. However, this is simply an operational problem, that is, a problem in using the device. If necessary, select one or more other identification conditions to obtain important log information to be extracted. It is also possible to use the extraction conditions.
The
For example, if log information as shown in the second line in FIG. 8 is transferred from the log reading means K to the extraction necessity determination means C as a determination target, a keyword is added to the log information body of this log information. Since the character string “error” is included, the determination result in step U4 is true. As described above, in the abnormality status identification condition shown in the third row in the identification condition storage table L of FIG. 9, “error” is set in the keyword column, and among the components of the identification condition, Since wildcards are set in the message ID and offset value fields, all log information including the character string “error” is recognized as log information related to abnormality, that is, important log information to be extracted. Because.
Therefore, the extraction necessity determination means C of this embodiment, when a wild card is set for the constituent factors excluding the keyword in the extraction condition, the constituent factor for which the wild card is set, that is, in this case, The extraction necessity determination means includes a function for determining that the message ID and the offset value satisfy the corresponding constituent factors in the preset extraction condition, that is, the condition of the message ID and the offset value unconditionally.
If the log information as shown in the first line in FIG. 8 is transferred from the log reading means K to the extraction necessity determining means C as a determination target, the message of the log information main body in this log information is assumed. Since the ID is “AP — 10” and the description of the keyword “start” is started by offsetting 14 characters from the head of the log information body, this log information is stored in the identification condition storage table L of FIG. Among them, the identification condition indicated by the filter ID “logA001” is satisfied, but since this is merely an identification condition and not an extraction condition, the determination result in step U4 is false.
ステップU4の判定結果が偽となった場合には、ログ読出手段Kから引き渡されたログ情報は長期保存する必要がないことを意味するので、ログ管理装置1のマイクロプロセッサ101は、このまま当該周期の処理を終了する。
If the determination result in step U4 is false, it means that the log information delivered from the log reading means K does not need to be stored for a long period of time, so the
このように、本実施形態にあっては、まず、長期保存の対象とする重要なログ情報を抽出条件に基いて絞り込むことで、ログ情報を記憶する記憶装置であるハードディスクドライブ105の有限のログ保存領域A3に無益なログ情報が保存されることを防止している。
As described above, in the present embodiment, first, by limiting the important log information to be stored for a long term based on the extraction condition, a finite log of the
一方、ステップU4の判定結果が真となり、ログ読出手段Kから引き渡されたログ情報が長期の保存を必要とする重要なログ情報であることが明らかとなった場合には、ログ管理装置1のマイクロプロセッサ101は、ログ読出手段Kから引き渡されたログ情報のキーワードのオフセット値を算出すると共に(ステップU5)、ログ情報本体の全長の文字数を求め(ステップU6)、更に、これらの情報にステップU4の処理で一致の判定結果を得た抽出条件のフィルタIDとログ読出手段Kから引き渡されたログ情報を生成したコンピュータ3のエージェントIDの情報とを添付して保存要否判定手段Dに引き渡す。
従って、例えば、図8中の第2行目に示されるようなログ情報が判定対象としてログ読出手段Kから抽出要否判定手段Cに引き渡されたとすれば、図8中の第2行目から明らかなようにエージェントIDの値は“Ag02”、また、ステップU5の処理結果であるオフセットの値は“12”、そして、ステップU6の処理結果である全長の文字数の値は“49”、更に、図9の識別条件記憶テーブルLから明らかなように一致の判定結果を得たフィルタIDの値は“logE089”となるので、保存要否判定手段Dに引き渡されるデータは、“フィルタID/オフセット値/全長の文字数/エージェントID”の並びで“logE089/12/49/Ag02”となる。
On the other hand, if the determination result in step U4 is true and it is clear that the log information delivered from the log reading means K is important log information that requires long-term storage, the
Therefore, for example, if log information as shown in the second line in FIG. 8 is transferred from the log reading means K to the extraction necessity determining means C as a determination target, the second line in FIG. As is apparent, the value of the agent ID is “Ag02”, the offset value that is the processing result of step U5 is “12”, the value of the total number of characters that is the processing result of step U6 is “49”, and As apparent from the identification condition storage table L in FIG. 9, the value of the filter ID obtained as a result of the match determination is “logE089”, and therefore the data delivered to the storage necessity determination unit D is “filter ID / offset”. “LogE089 / 12/49 / Ag02” in the sequence of value / total number of characters / agent ID ”.
次いで、保存要否判定手段Dとして機能するログ管理装置1のマイクロプロセッサ101がハードディスクドライブ105の既存ログ記憶領域A2にアクセスしてログ情報の内容を特定する情報を参照し(ステップU7)、新たに抽出要否判定手段Cから引き渡された“フィルタID/オフセット値/全長の文字数/エージェントID”と同じものが既に既存ログ記憶領域A2に記憶されているか否か、つまり、現時点でログ読出手段Kによって読み出されているログ情報と同一若しくは同等のログ情報が、ログ情報の長期保存の為に設けられたハードディスクドライブ105のログ保存領域A3に既に保存されているか否かを判定する(ステップU8)。
Next, the
ログ情報の内容を特定する情報を記憶するための既存ログ記憶領域A2に記憶されている情報の論理構成の一例を図10の概念図に示す。
既存ログ記憶領域A2に記憶される1セットのデータの各々は、図10に示される通り、ログ情報の内容を特定する情報のデータセット毎に、データセットに固有のIDとフィルタIDとオフセット値とログ情報本体の全長の文字数と当該データセットが検出された検出回数とエージェントIDとを備える。
従って、図8に示されるログ情報にも図10に示されるログ情報の内容を特定する情報にも、ログ情報を生成したコンピュータを特定するためのコンピュータ特定情報すなわちエージェントIDが共に含まれていることになる。
ログ情報の内容を特定するデータセットは、要するに、抽出要否判定手段Cから保存要否判定手段Dに引き渡される“フィルタID/オフセット値/全長の文字数/エージェントID”の組に、更に、“検出回数”の項目を加えたものである。
An example of the logical configuration of the information stored in the existing log storage area A2 for storing information for specifying the contents of the log information is shown in the conceptual diagram of FIG.
Each set of data stored in the existing log storage area A2 includes, as shown in FIG. 10, an ID, a filter ID, and an offset value that are unique to the data set for each data set of information that specifies the contents of log information. And the total number of characters of the log information body, the number of times the data set has been detected, and the agent ID.
Therefore, both the log information shown in FIG. 8 and the information specifying the contents of the log information shown in FIG. 10 include both the computer specifying information for specifying the computer that generated the log information, that is, the agent ID. It will be.
In short, the data set for specifying the contents of the log information is further divided into “filter ID / offset value / total number of characters / agent ID” pair delivered from the extraction necessity determination unit C to the storage necessity determination unit D. The item “number of detections” is added.
保存要否判定手段Dとして機能するログ管理装置1のマイクロプロセッサ101は、ステップU8の判定処理において、既存ログ記憶領域A2に既に保存されているデータセットから“フィルタID/オフセット値/全長の文字数/エージェントID”のデータセットの内容を順に読み込み、新たに抽出要否判定手段Cから引き渡された“フィルタID/オフセット値/全長の文字数/エージェントID”と同じ内容のものが既既存ログ記憶領域A2に記憶されているか否かを判定し、同じ内容のものが既に既存ログ記憶領域A2に記憶されていれば現時点でログ読出手段Kによって読み出されているログ情報と同一若しくは同等のログ情報がログ情報の長期保存の為に設けられたハードディスクドライブ105のログ保存領域A3に既に保存されているものと見做し、また、同じ内容のものが既存ログ記憶領域A2に記憶されていなければ、現時点でログ読出手段Kによって読み出されているログ情報と同一若しくは同等のログ情報は未だにハードディスクドライブ105のログ保存領域A3に保存されていないものと見做す。
The
ここで、ステップU8の判定結果が真となった場合には、既存ログ記憶領域A2に既存のデータセットを再登録することによって既存ログ記憶領域A2の記憶領域が浪費されることを防止するため、ログ管理装置1のマイクロプロセッサ101は、ステップU9の処理をスキップして非実行とする。そして、現時点で抽出要否判定手段Cから保存要否判定手段Dに引き渡されている“フィルタID/オフセット値/全長の文字数/エージェントID”に対応する既存ログ記憶領域A2のデータセットの“検出回数”の値を読み込み、その値が0であるか否かを判定する(ステップU10)。
Here, when the determination result in step U8 becomes true, the storage area of the existing log storage area A2 is prevented from being wasted by re-registering the existing data set in the existing log storage area A2. The
既存ログ記憶領域A2のデータセットにおける“検出回数”の値は新規のデータセットを新たに登録した時点で一旦は0に初期化されるが、其の同一処理周期内に行われるタスクによって改めて1インクリメントされることになるので、現時点で抽出要否判定手段Cから保存要否判定手段Dに引き渡されている“フィルタID/オフセット値/全長の文字数/エージェントID”に対応するデータセットが既に既存ログ記憶領域A2に登録されている以上、その“検出回数”が0の値をとるということは有り得ない(図7においてステップU8→ステップU9→ステップU10→ステップU11→ステップU12→ステップU13→ステップU14→ステップU115の処理が続けて行なわれる場合には検出回数の最終値が1となる点を参照)。 The value of the “detection count” in the data set of the existing log storage area A2 is initialized to 0 once when a new data set is newly registered, but it is set to 1 again by a task performed within the same processing cycle. Since it is incremented, a data set corresponding to “filter ID / offset value / total number of characters / agent ID” already passed from the extraction necessity determination means C to the storage necessity determination means D already exists. As long as it is registered in the log storage area A2, it is impossible that the “number of detections” takes a value of 0 (in FIG. 7, step U8 → step U9 → step U10 → step U11 → step U12 → step U13 → step Refer to the point that the final value of the number of detections is 1 when the process from U14 to step U115 is continued. .
従って、抽出要否判定手段Cから引き渡された“フィルタID/オフセット値/全長の文字数/エージェントID”と同じ内容のデータセットが既に既存ログ記憶領域A2に記憶されている場合にはステップU10の判定結果は必然的に偽となり、保存要否判定手段Dとして機能するログ管理装置1のマイクロプロセッサ101は、ログ保存領域A3に既存のログ情報を再登録することによってログ保存領域A3の記憶領域が浪費されることを防止するため、ステップU11〜ステップU14の処理をスキップして非実行とする。
Therefore, if a data set having the same content as “filter ID / offset value / number of characters in total length / agent ID” delivered from the extraction necessity determination means C is already stored in the existing log storage area A2, the process proceeds to step U10. The determination result is inevitably false, and the
次いで、内容特定情報書込手段Eとして機能するログ管理装置1のマイクロプロセッサ101が、現時点で抽出要否判定手段Cから保存要否判定手段Dに引き渡されている“フィルタID/オフセット値/全長の文字数/エージェントID”の値に対応する既存ログ記憶領域A2のデータセットの“検出回数”を記憶するレジスタの値を1インクリメントして(ステップU15)、この周期の処理を終了する。
Next, the
従って、この実施形態の内容特定情報書込手段Eは、ログ情報の内容を特定する情報が既存ログ記憶領域A2に記憶されていると判定された場合に当該ログ情報の内容を特定する情報に対応して既存ログ記憶領域A2に設けられた抽出回数記憶レジスタの値を1インクリメントする機能を備えた内容特定情報書込手段である。 Therefore, the content specifying information writing means E of this embodiment uses the information specifying the content of the log information when it is determined that the information specifying the content of the log information is stored in the existing log storage area A2. Correspondingly, this is content specifying information writing means having a function of incrementing the value of the extraction number storage register provided in the existing log storage area A2 by one.
このように、本実施形態にあっては、長期保存の対象とするログ情報が有限のログ保存領域A3に重複して書き込まれることを防止し、保存の対象とするログ情報をログ保存領域A3に1回のみ記憶することによってログ保存領域A3の記憶領域が浪費されることを防止している。 As described above, according to the present embodiment, log information to be stored for a long time is prevented from being written twice in the finite log storage area A3, and the log information to be stored is stored in the log storage area A3. By storing only once, the storage area of the log storage area A3 is prevented from being wasted.
一方、ステップU8の判定結果が偽となった場合、つまり、抽出要否判定手段Cから引き渡された“フィルタID/オフセット値/全長の文字数/エージェントID”と同じ内容のデータセットが既存ログ記憶領域A2に記憶されていないと判定された場合には、現時点でログ読出手段Kによって読み出されているログ情報と同一若しくは同等のログ情報がログ情報の長期保存の為に設けられたログ保存領域A3に未登録であること、つまり、現時点でログ読出手段Kによって読み出されているログ情報をログ保存領域A3に新たに登録する必要があることを意味する。 On the other hand, if the determination result in step U8 is false, that is, a data set having the same content as “filter ID / offset value / total number of characters / agent ID” delivered from the extraction necessity determination unit C is stored in the existing log. When it is determined that the log information is not stored in the area A2, log information that is the same or equivalent to the log information that is currently read by the log reading means K is provided for long-term storage of the log information. This means that it is not registered in the area A3, that is, it is necessary to newly register the log information currently read by the log reading means K in the log storage area A3.
従って、この場合は、まず、内容特定情報書込手段Eとして機能するログ管理装置1のマイクロプロセッサ101が、現時点でログ読出手段Kによって読み出されているログ情報を特定する情報つまり現時点で抽出要否判定手段Cから保存要否判定手段Dに引き渡されている“フィルタID/オフセット値/全長の文字数/エージェントID”のデータセットを既存ログ記憶領域A2に新たに追加して記憶させることにより、現時点でログ読出手段Kによって読み出されているログ情報がログ保存領域A3に当該処理周期において新たに登録されることを記憶し、併せて、このデータセットを記憶する既存ログ記憶領域A2における“検出回数”の欄のレジスタの値を0に初期化する(ステップU9)。
Therefore, in this case, first, the
一例として、ログ情報の内容を特定する情報として“フィルタID/オフセット値/全長の文字数/エージェントID”の並びが“logE089/12/49/Ag02”であるデータセットが既存ログ記憶領域A2に2つ目のデータセットとして新たに追加記憶された場合の状況を図10の概念図に示す。ステップU9の処理で“検出回数”の初期化が行われる結果、既存ログ記憶領域A2の2つ目のデータセットの内容は“フィルタID/オフセット値/全長の文字数/検出回数/エージェントID”の並びに従って“logE089/12/49/0/0Ag02”の値をとる。なお、図8中のIDは各データセットを特定するためのIDであり、所謂データアドレスと同等である。 As an example, a data set in which the sequence of “filter ID / offset value / total number of characters / agent ID” is “logE089 / 12/49 / Ag02” is stored in the existing log storage area A2 as information for specifying the contents of log information. FIG. 10 is a conceptual diagram showing the situation when a new data set is additionally stored. As a result of the initialization of the “number of detections” performed in the process of step U9, the contents of the second data set in the existing log storage area A2 are “filter ID / offset value / total number of characters / number of detections / agent ID”. The value of “logE089 / 12/49/0 / 0Ag02” is taken according to the arrangement. In addition, ID in FIG. 8 is ID for specifying each data set, and is equivalent to what is called a data address.
ステップU9の処理は、ログ情報それ自体に代えて、ログ情報の内容を特定する情報、つまり、ログ情報よりも小容量のデータである“フィルタID/オフセット値/全長の文字数/エージェントID”の値のみを登録することによって、全体として必要とされる記憶容量を軽減するための処理である。
無論、ログ情報それ自体を記憶するログ保存領域A3をサーチしてログ情報の重複登録を回避するといったことは技術的に可能であり、そうした場合、ログ情報を特定する情報を記憶するための既存ログ記憶領域A2は不要とも言えるが、そのような処理ではログ情報が大量に蓄積した場合に検索処理の負荷が増大したり処理の所要時間が増大するといった不都合が生じるため、この実施形態では、敢えて、ログ情報よりも小容量のデータを既存ログ記憶領域A2に記憶させることにより、必要とされる記憶容量の削減と負荷の軽減および処理に必要とされる所要時間の短縮化とをバランスさせている。
The process of step U9 is performed by replacing the log information itself with information specifying the contents of the log information, that is, “filter ID / offset value / total number of characters / agent ID”, which is data having a smaller capacity than the log information. This is a process for reducing the storage capacity required as a whole by registering only the value.
Of course, it is technically possible to search the log storage area A3 for storing the log information itself to avoid duplication registration of the log information. In such a case, the existing information for storing the information specifying the log information is stored. Although it can be said that the log storage area A2 is unnecessary, in such a process, when a large amount of log information is accumulated, a search processing load increases or a time required for the processing increases. Darely storing data in a smaller capacity than the log information in the existing log storage area A2, thereby balancing the reduction of the required storage capacity with the reduction of the load and the time required for processing. ing.
次いで、ログ管理装置1のマイクロプロセッサ101が、現時点で抽出要否判定手段Cから保存要否判定手段Dに引き渡されている“フィルタID/オフセット値/全長の文字数/エージェントID”に対応する既存ログ記憶領域A2のデータセットの“検出回数”の値を読み込み、その値が0であるか否かを判定するが(ステップU10)、このように、ログ情報の内容を特定する情報が既存ログ記憶領域A2に記憶されていないと保存要否判定手段Dが判定することによって内容特定情報書込手段EによるステップU9の処理が実行された場合には、“検出回数”の値はステップU9の処理で初期化されたままの状態にあるので、ステップU10の判定結果は必然的に真となる。
Next, the
従って、抽出ログ書込手段Fとして機能するログ管理装置1のマイクロプロセッサ101が、現時点でログ読出手段Kによって読み出されているログ情報つまり前述のステップT3の処理でハードディスクドライブ105のログ記憶領域A1に書き込まれたログ情報をログ情報の長期保存の為に設けられたハードディスクドライブ105のログ保存領域A3に新たに追加して記憶させることになる(ステップU11)。ログ保存領域A3にはログ情報を纏めてアーカイブした状態で記憶するようになっている。
Therefore, the
抽出条件となる識別条件を識別条件記憶テーブルLに設定する際にワイルドカードを利用した場合には、同じフィルタIDであってもオフセット値や全長の文字数が異なるデータセットが既存ログ記憶領域A2に複数存在することになる。このように、1つのフィルタ条件で複数種類のログ情報の異常を検知できる場合に、全て同一のログ情報として扱わずに、複数種類のログ情報の分解能(具体的にはオフセット値や全長の文字数の相違)をもってログ情報の重複制御を実現できる点も此の実施形態の特長の1つである。
例えば、図11に示される2つのログ情報は、キーワードとなる“error”の文字ストリングスは同一であるが、オフセット値や全長の文字数が異なるために相互に識別可能である。
When a wild card is used when setting an identification condition as an extraction condition in the identification condition storage table L, a data set having a different offset value and a different total number of characters is stored in the existing log storage area A2 even with the same filter ID. There will be more than one. In this way, when an abnormality of multiple types of log information can be detected with one filter condition, the resolution of the multiple types of log information (specifically, the offset value or the total number of characters) is not handled as the same log information. One of the features of this embodiment is that log information duplication control can be realized.
For example, the two pieces of log information shown in FIG. 11 have the same character string “error” as a keyword, but can be distinguished from each other because the offset value and the total number of characters are different.
このようにして保存すべき重要なログ情報がログ保存領域A3に格納されると、依存関係特定手段Iとして機能するログ管理装置1のマイクロプロセッサ101が、現時点でログ読出手段Kによって読み出されているログ情報に付属するエージェントIDつまり此のログ情報を転送してきたコンピュータ3を一義的に特定するために必要な情報を読み込み(ステップU12)、更に、このエージェントIDに基いてハードディスクドライブ105内の依存関係記憶テーブルHを検索することにより、当該ログ情報を生成したコンピュータ3と相互的な依存関係のあるコンピュータ3のエージェントIDを特定する(ステップU13)。
When the important log information to be stored is stored in the log storage area A3 in this way, the
コンピュータ3同士の相互依存関係をエージェントIDの対応関係によって記憶する依存関係記憶テーブルHの論理構成の一例を図12の概念図に示す。
相互依存関係はエージェントIDの組み合わせによって設定され、各組毎に固有の構成IDが割り当てられている。そして、各エージェントIDには、コンピュータ3に向けての指令の送信が容易なように、各コンピュータ3のIPアドレスが対応して記憶されている。
ここでいう相互依存関係とは、例えば、複数のコンピュータ3を連携させて1つのサービスを提供するような状況を想定したものである。例えば、図13に示されるように、エージェントIDの値が“AgWEB01”,“AgWEB02”という2台のWebサーバと、エージェントIDの値が“AgAP11”という1台のAPサーバと、エージェントIDの値が“AgDB21”という1台のDBサーバとを組み合わせて1つの“Service−B”を提供しているとした場合では、その対応関係は、依存関係記憶テーブルHにおいて図12のようにして記述され得る。
ここで、仮に、現時点でログ読出手段Kによって読み出されているログ情報に付属するエージェントIDの値が“AgWEB01”であったとすると、まず、“AgWEB01”というエージェントIDを含む“Service−B”の構成IDが求められ、“Service−B”に属する複数のエージェントIDから“AgWEB01”のみを除外した“AgWEB02”,“AgAP11”,“AgDB21”という3つのエージェントIDが“AgWEB01”に相互的に依存するエージェントIDとして特定されることになる。無論、現時点でログ読出手段Kによって読み出されているログ情報に付属するエージェントIDの値である“AgWEB01”を相互的に依存するエージェントIDの範疇に含めても差し支えはない。
An example of the logical configuration of the dependency relationship storage table H that stores the mutual dependency relationship between the
The interdependency is set by a combination of agent IDs, and a unique configuration ID is assigned to each group. Each agent ID stores a corresponding IP address of each
The interdependency referred to here assumes, for example, a situation in which a plurality of
Here, assuming that the value of the agent ID attached to the log information currently read by the log reading means K is “AgWEB01”, first, “Service-B” including the agent ID “AgWEB01”. The three agent IDs “AgWEB02”, “AgAP11”, and “AgDB21” excluding only “AgWEB01” from the plurality of agent IDs belonging to “Service-B” are mutually associated with “AgWEB01”. It is specified as the dependent agent ID. Of course, “AgWEB01”, which is the value of the agent ID attached to the log information currently read by the log reading means K, may be included in the category of mutually dependent agent IDs.
このようにして、現時点でログ読出手段Kによって読み出されているログ情報を生成したコンピュータ3のエージェントIDと相互的な依存関係のあるコンピュータ3のエージェントIDが特定されると、指令出力手段Jとして機能するログ管理装置1のマイクロプロセッサ101が、依存関係特定手段Iで特定されたコンピュータ3の各々に電文送受信手段Gを介して各コンピュータ3毎の最新のログ情報を各コンピュータ3毎の記憶装置であるハードディスクドライブ205のログ保存領域a3に保存させるための指令を出力する(ステップU14)。
In this way, when the agent ID of the
そして、ログ管理装置1のマイクロプロセッサ101が、現時点でログ読出手段Kによって読み出されているログ情報つまり前述のステップT3の処理でハードディスクドライブ105のログ記憶領域A1に新たに書き込まれたログ情報に対応する既存ログ記憶領域A2のデータセットの“検出回数”を記憶するレジスタの値を0から1に1インクリメントして(ステップU15)、この周期の処理を終了する。
Then, the
このようにしてログ管理装置1からコンピュータ3に宛てて送出された指令は、図4〜図5の処理を繰り返し実行するコンピュータ3においてクライアント用電文送受信手段gとして機能するマイクロプロセッサ201によって図5のステップV1の処理で検出され、この指令がクライアント用電文送受信手段gからクライアント用抽出ログ書込手段fに引き渡される。
The command sent from the
次いで、クライアント用抽出ログ書込手段fとして機能するコンピュータ3のマイクロプロセッサ201が、当該コンピュータ3の最新のログ情報をハードディスクドライブ205の一時記憶領域a1から読み込み、このログ情報をハードディスクドライブ205において重要なログ情報を記憶するために設けられたログ保存領域a3に書き込む(ステップV2)。
Next, the
各コンピュータ3毎の最新のログ情報を各コンピュータ3毎の記憶装置であるハードディスクドライブ205に保存させるための指令は、ログ管理装置1に接続された何れかのコンピュータ3から保存の必要のある重要なログ情報たとえば異常に関連するログ情報がログ管理装置1に向けて転送された直後に、当該異常ログを転送したコンピュータ3と相互依存関係のある他のコンピュータ3に直ちに転送されるので、異常に関連するログ情報を出力したコンピュータ3と関連の深い他のコンピュータ3についても殆ど同時刻で各コンピュータ3毎の最新のログ情報を確保することができるので、関連して動作するコンピュータ3を含めた多角的な障害解析が可能となり、障害解析の精度向上と効率化が実現され得る。
A command for storing the latest log information for each
以上に述べた通り、本実施形態のログ管理方法およびログ管理プログラムとログ管理装置1は、生成されたログ情報の内容が予めハードディスクドライブ105の識別条件記憶テーブルLに設定された抽出条件たとえば異常に関連するものであるか否かを判定し(ステップU4)、予め設定された抽出条件を満たす場合に限って、生成されたログ情報の内容を特定する情報すなわちフィルタIDとオフセット値とログ情報本体の文字数とログを出力したコンピュータ3のエージェントIDとがハードディスクドライブ105の既存ログ記憶領域A2に既に記憶されているか否かを判定する(ステップU8)。
そして、生成されたログ情報の内容を特定する情報が既存ログ記憶領域A2に記憶されている場合にはログ情報の内容を特定する情報を既存ログ記憶領域A2に記憶させる処理を非実行とすると共に(ステップU9をスキップ)、ログ保存領域A3へのログ情報の追加記憶も非実行とする一方(ステップU11をスキップ)、生成されたログ情報の内容を特定する情報が既存ログ記憶領域A2に記憶されていない場合に限ってログ情報の内容を特定する情報を既存ログ記憶領域A2に記憶し(ステップU9を実行)、かつ、ログ保存領域A3にログ情報を直ちに追加記憶するようにしているので(ステップU11を実行)、長期保存の対象とする重要なログ情報を識別条件記憶テーブルLの抽出条件によって絞り込むことができ、しかも、抽出条件によって絞り込まれたログ情報であっても既にログ保存領域A3に記憶済みのものはログ保存領域A3への保存対象から排除するようにしているので、重要なログ情報つまり抽出条件によって特定されるログ情報を記憶装置として機能するハードディスクドライブ105におけるログ保存領域A3に長期間に亘って保持することができる。
As described above, the log management method, the log management program, and the
If the information specifying the content of the generated log information is stored in the existing log storage area A2, the process of storing the information specifying the content of the log information in the existing log storage area A2 is not executed. At the same time (step U9 is skipped), additional storage of log information in the log storage area A3 is not executed (step U11 is skipped), while information specifying the content of the generated log information is stored in the existing log storage area A2. Only when it is not stored, information specifying the content of the log information is stored in the existing log storage area A2 (execution of step U9), and the log information is immediately added and stored in the log storage area A3. Therefore (execution of step U11), it is possible to narrow down the important log information to be stored for a long term by the extraction condition of the identification condition storage table L, and Even if the log information is narrowed down according to the conditions, the information already stored in the log storage area A3 is excluded from the storage target in the log storage area A3. Log information can be held in the log storage area A3 in the
従って、同一原因で繰り返同じログ情報が出力されるような障害が発生した場合であっても、異常の発端に関連する最初のログ情報を有限のログ保存領域A3に確実に保持し、かつ、2回目以降の同様のログ情報を割愛して記憶領域の浪費を防止することができる。 Therefore, even when a failure occurs in which the same log information is repeatedly output for the same cause, the first log information related to the beginning of the abnormality is securely held in the finite log storage area A3, and It is possible to prevent the storage area from being wasted by omitting the same log information from the second time onward.
また、抽出条件となる識別条件を識別条件記憶テーブルLに設定する際にワイルドカードを利用した場合には、同じフィルタIDであってもオフセット値や全長の文字数が異なるデータセットが既存ログ記憶領域A2に複数存在することになるが、1つのフィルタ条件で複数種類のログ情報の異常を検知できる場合であっても全てを同一のログ情報としては扱わず、オフセット値や全長の文字数の相違に従ってログ情報を識別するようにしているので、様々なログ情報を識別し、そのログ情報ごとの検出回数を管理して重複制御を実現することができる。
更に、異常ログを出力したコンピュータ3に関連するコンピュータ3の最新のログ情報を各コンピュータ3毎に確保するようにしているので、関連して動作するコンピュータ3を含めた多角的な障害解析が可能となり、障害解析の精度向上と効率化が実現され得る。
In addition, when a wild card is used when setting an identification condition as an extraction condition in the identification condition storage table L, even if the filter ID is the same, a data set having a different offset value and the total number of characters is an existing log storage area. Although there are multiple in A2, even if it is possible to detect abnormalities in multiple types of log information with one filter condition, not all are treated as the same log information, according to the difference in offset value and the total number of characters Since log information is identified, various log information can be identified, and the number of detections for each log information can be managed to realize duplication control.
Furthermore, since the latest log information of the
図1では2台のコンピュータ3上で生成されたログ情報を時系列に沿ってログ管理装置1のハードディスクドライブ105に蓄積する場合を例示しているが、ログ管理装置1に接続するコンピュータ3の数には格別な制限はない。
FIG. 1 illustrates the case where the log information generated on the two
また、コンピュータ3の各々にログ管理装置1の機能を持たせ、他のコンピュータからのログ情報を取得せずに自らのログ情報のみを自己完結的に取り扱うような構成であっても前述の構成を適用することができる。
その場合は、アプリケーションソフトウェアを取り扱うコンピュータ3それ自体がログ管理装置1として機能することになるが、自らのログ情報のみを自己完結的に取り扱う場合にあっては、電文送受信手段G,依存関係記憶テーブルH,依存関係特定手段I,指令出力手段Jは不要である。
Further, even if the
In this case, the
以上に開示した実施形態の一部または全部は、以下の付記に示す記載によって適切に表現され得るが、発明を実施するための形態や発明の技術思想は、これらのものに制限されるものではない。 A part or all of the embodiment disclosed above can be appropriately expressed by the description shown in the following supplementary notes, but the form for carrying out the invention and the technical idea of the invention are not limited to these. Absent.
〔付記1〕
コンピュータ上で生成されたログ情報を時系列に沿ってコンピュータの記憶装置(105)に保存するログ管理方法であって、
生成されたログ情報を時系列に沿って前記記憶装置(105)の一部を構成する有限の一時記憶領域(A1)に循環的に上書きして記憶させると共に、
前記生成されたログ情報の内容が予め設定された抽出条件を満たすか否かを判定し、前記予め設定された抽出条件を満たす場合には、更に、前記生成されたログ情報の内容を特定する情報が前記記憶装置(105)の他の一部を構成する有限の記憶領域(A2)に既に記憶されているか否かを判定し、
前記生成されたログ情報の内容を特定する情報が前記記憶装置(105)の前記他の一部を構成する有限の記憶領域(A2)に記憶されていない場合に限って、このログ情報の内容を特定する情報を前記記憶装置(105)の前記他の一部を構成する有限の記憶領域(A2)に追加して記憶させると共に、前記生成されたログ情報を前記記憶装置の更に他の一部を構成する有限の記憶領域(A3)に追加して記憶させることを特徴としたログ管理方法。
[Appendix 1]
A log management method for storing log information generated on a computer in a computer storage device (105) in chronological order,
The generated log information is cyclically overwritten and stored in a finite temporary storage area (A1) constituting a part of the storage device (105) in time series,
It is determined whether or not the content of the generated log information satisfies a preset extraction condition. If the predetermined extraction condition is satisfied, the content of the generated log information is further specified. Determining whether information is already stored in a finite storage area (A2) constituting another part of the storage device (105);
The content of this log information only when the information specifying the content of the generated log information is not stored in the finite storage area (A2) constituting the other part of the storage device (105) Is added to and stored in the finite storage area (A2) constituting the other part of the storage device (105), and the generated log information is further stored in the storage device (105). Log management method, characterized by being added to and stored in a finite storage area (A3) constituting a section.
〔付記2〕
ログ情報を生成する複数のコンピュータ(3)を前記記憶装置(105)を備えたコンピュータ(1)に情報伝達可能に接続し、ログ情報を生成するコンピュータ(3)で生成されたログ情報を前記記憶装置(105)を備えたコンピュータ(1)に転送すると共に、
前記ログ情報と生成されたログ情報の内容を特定する情報には、少なくとも、ログ情報を生成したコンピュータを特定するためのコンピュータ特定情報(エージェントID)が含まれていることを特徴とした付記1記載のログ管理方法。
[Appendix 2]
A plurality of computers (3) for generating log information are connected to a computer (1) having the storage device (105) so that information can be transmitted, and the log information generated by the computer (3) for generating log information is Transfer to computer (1) with storage device (105),
The log information and the information specifying the content of the generated log information include at least computer specifying information (agent ID) for specifying the computer that generated the log information. The log management method described.
〔付記3〕
ログ情報を生成するコンピュータ(3)同士の相互依存関係をコンピュータ特定情報(エージェントID)の対応関係によって示す依存関係記憶テーブル(H)を前記記憶装置(105)を備えたコンピュータ(1)に予め記憶させておき、
前記生成されたログ情報の内容を特定する情報が前記記憶装置(105)の前記他の一部を構成する有限の記憶領域(A2)に既に記憶されているか否かの判定処理により前記生成されたログ情報の内容を特定する情報が前記記憶装置(105)の前記他の一部を構成する有限の記憶領域(A2)に記憶されていないと判定された場合には、更に、前記記憶装置(105)を備えたコンピュータ(1)が、前記依存関係記憶テーブル(H)を参照して当該ログ情報を生成したコンピュータ(3)と相互依存関係のあるコンピュータ(3)を特定し、
前記記憶装置(105)を備えたコンピュータ(1)が、相互依存関係のあるコンピュータ(3)の各々に指令を出力して各コンピュータ(3)における最新のログ情報を各コンピュータ(3)毎の記憶装置(205)に保存させることを特徴とした付記2記載のログ管理方法。
[Appendix 3]
A dependency relationship storage table (H) indicating the mutual dependency relationship between the computers (3) generating log information by the correspondence relationship of the computer identification information (agent ID) is previously stored in the computer (1) having the storage device (105). Remember,
The information generated by determining whether or not the information specifying the content of the generated log information is already stored in the finite storage area (A2) constituting the other part of the storage device (105). If it is determined that the information specifying the content of the log information is not stored in the finite storage area (A2) constituting the other part of the storage device (105), the storage device A computer (1) having (105) identifies a computer (3) that is interdependent with the computer (3) that generated the log information with reference to the dependency storage table (H);
The computer (1) having the storage device (105) outputs a command to each of the computers (3) having the interdependence relationship, and the latest log information in each computer (3) is obtained for each computer (3). The log management method according to
〔付記4〕
前記抽出条件には、少なくとも、ログ情報に含まれる可能性のあるキーワードとログ情報上でキーワードの位置を特定するためのオフセット値とが抽出条件の構成因子として含まれ、
前記抽出条件のうち、キーワードを除く構成因子の各々には、ワイルドカードによる無条件一致の設定を許容したことを特徴とする付記1,付記2または付記3のうち何れか一項に記載のログ管理方法。
[Appendix 4]
The extraction condition includes at least a keyword that may be included in the log information and an offset value for specifying the position of the keyword on the log information as constituent elements of the extraction condition.
The log according to any one of
〔付記5〕
前記生成されたログ情報の内容を特定する情報が前記記憶装置(105)の前記他の一部を構成する有限の記憶領域(A2)に既に記憶されているか否かの判定処理により前記生成されたログ情報の内容を特定する情報が前記記憶装置の前記他の一部を構成する有限の記憶領域(A2)に記憶されていると判定された場合には、当該ログ情報の内容を特定する情報に対応して前記記憶装置(105)の前記他の一部を構成する有限の記憶領域(A2)に設けられた抽出回数記憶レジスタの値を1インクリメントすることを特徴とした付記1,付記2,付記3または付記4のうち何れか一項に記載のログ管理方法。
[Appendix 5]
The information generated by determining whether or not the information specifying the content of the generated log information is already stored in the finite storage area (A2) constituting the other part of the storage device (105). If it is determined that information specifying the content of the log information is stored in the finite storage area (A2) constituting the other part of the storage device, the content of the log information is specified
〔付記6〕
コンピュータ上で生成されたログ情報を時系列に沿ってコンピュータの記憶装置(105)に保存するためのログ管理用プログラムであって、
前記コンピュータのマイクロプロセッサを、生成されたログ情報を時系列に沿って前記記憶装置の一部を構成する有限の一時記憶領域(A1)に循環的に上書きして記憶させるログ書込手段(B)、
前記生成されたログ情報の内容が予め設定された抽出条件を満たすか否かを判定する抽出要否判定手段(C)、
前記抽出要否判定手段(C)によって前記生成されたログ情報の内容が予め設定された抽出条件を満たすと判定された場合に、前記生成されたログ情報の内容を特定する情報が前記記憶装置(105)の他の一部を構成する有限の記憶領域(A2)に既に記憶されているか否かを判定する保存要否判定手段(D)、
前記保存要否判定手段(D)によって前記生成されたログ情報の内容を特定する情報が前記記憶装置(105)の前記他の一部を構成する有限の記憶領域(A2)に記憶されていないと判定された場合に限って、このログ情報の内容を特定する情報を前記記憶装置(105)の前記他の一部を構成する有限の記憶領域(A2)に追加して記憶させる内容特定情報書込手段(E)、および、
前記保存要否判定手段(D)によって前記生成されたログ情報の内容を特定する情報が前記記憶装置(105)の前記他の一部を構成する有限の記憶領域(A2)に記憶されていないと判定された場合に限って、前記生成されたログ情報を前記記憶装置(105)の更に他の一部を構成する有限の記憶領域(A3)に追加して記憶させる抽出ログ書込手段(F)として機能させることを特徴としたログ管理プログラム。
[Appendix 6]
A log management program for storing log information generated on a computer in a storage device (105) of the computer in time series,
Log writing means (B) for causing the microprocessor of the computer to cyclically overwrite and store the generated log information in a finite temporary storage area (A1) constituting a part of the storage device in time series ),
Extraction necessity determination means (C) for determining whether or not the content of the generated log information satisfies a preset extraction condition;
When the content of the generated log information is determined to satisfy a preset extraction condition by the extraction necessity determination means (C), information for specifying the content of the generated log information is the storage device. (105) A storage necessity determination means (D) for determining whether or not the information is already stored in a finite storage area (A2) constituting another part.
Information specifying the content of the log information generated by the storage necessity determination means (D) is not stored in the finite storage area (A2) constituting the other part of the storage device (105). Only when it is determined that the information specifying the content of the log information is added to the finite storage area (A2) constituting the other part of the storage device (105) and stored. Writing means (E), and
Information specifying the content of the log information generated by the storage necessity determination means (D) is not stored in the finite storage area (A2) constituting the other part of the storage device (105). Only when it is determined that the generated log information is added to and stored in a finite storage area (A3) that constitutes another part of the storage device (105). F) A log management program characterized by functioning as
〔付記7〕
前記コンピュータ(1)のマイクロプロセッサ(101)を、更に、前記コンピュータ(1)に情報伝達可能に接続された複数のコンピュータ(3)から各コンピュータ(3)により生成されたログ情報と当該ログ情報を生成したコンピュータ(3)を特定するためのコンピュータ特定情報(エージェントID)とを受け付けて前記ログ書込手段(B)に引き渡す電文受信手段(G)として機能させることを特徴とした付記6記載のログ管理プログラム。
[Appendix 7]
Log information generated by each computer (3) from a plurality of computers (3) connected to the computer (1) so that information can be transmitted to the microprocessor (101) of the computer (1) and the log information Appendix 6 characterized in that it receives computer specifying information (agent ID) for specifying the computer (3) that generated the message and functions as a message receiving means (G) to be delivered to the log writing means (B). Log management program.
〔付記8〕
前記コンピュータ(1)のマイクロプロセッサ(101)を、更に、前記コンピュータ(1)に情報伝達可能に接続された複数のコンピュータ(3)から各コンピュータ(3)により生成されたログ情報と当該ログ情報を生成したコンピュータ(3)を特定するためのコンピュータ特定情報(エージェントID)とを受け付けて前記ログ書込手段(B)に引き渡すと共に前記マイクロプロセッサ(101)が生成した指令を前記コンピュータ(1)に情報伝達可能に接続されたコンピュータ(3)の各々に送信する電文送受信手段(G)、
前記保存要否判定手段(D)によって前記生成されたログ情報の内容を特定する情報が前記記憶装置(105)の前記他の一部を構成する有限の記憶領域(A2)に記憶されていないと判定された場合に限りログ情報を生成するコンピュータ(3)同士の相互依存関係をコンピュータ特定情報(エージェントID)の対応関係によって記憶した依存関係記憶テーブル(H)を参照して当該ログ情報を生成したコンピュータ(3)と相互依存関係のあるコンピュータ(3)を特定する依存関係特定手段(I)、および、
前記依存関係特定手段(I)で特定されたコンピュータ(3)の各々に前記電文送受信手段(G)を介して指令を出力し、各コンピュータ(3)における最新のログ情報を各コンピュータ(3)毎の記憶装置(205)に保存させる指令出力手段(J)として機能させることを特徴とした付記6記載のログ管理プログラム。
[Appendix 8]
Log information generated by each computer (3) from a plurality of computers (3) connected to the computer (1) so that information can be transmitted to the microprocessor (101) of the computer (1) and the log information Computer identification information (agent ID) for identifying the computer (3) that generated the command is received and transferred to the log writing means (B), and the command generated by the microprocessor (101) is transmitted to the computer (1). A telegram transmitting / receiving means (G) for transmitting to each of the computers (3) connected to be able to transmit information to
Information specifying the content of the log information generated by the storage necessity determination means (D) is not stored in the finite storage area (A2) constituting the other part of the storage device (105). Only when it is determined that the log information is generated by referring to the dependency storage table (H) in which the mutual dependency between the computers (3) that generate the log information is stored by the correspondence of the computer identification information (agent ID). Dependency specifying means (I) for specifying the computer (3) having an interdependency with the generated computer (3), and
A command is output to each of the computers (3) specified by the dependency specifying means (I) via the telegram transmitting / receiving means (G), and the latest log information in each computer (3) is output to each computer (3). The log management program according to appendix 6, wherein the log management program is made to function as command output means (J) stored in each storage device (205).
〔付記9〕
前記コンピュータ(1)のマイクロプロセッサ(101)を、更に、前記抽出条件からログ情報に含まれる可能性のあるキーワードとログ情報上でキーワードの位置を特定するためのオフセット値とを読み込み、キーワードを除く構成因子にワイルドカードが設定されている場合には、当該構成因子が予め設定された抽出条件中の対応する構成因子の条件を無条件に満たすものと判定する機能を備えた抽出要否判定手段(C)として機能させることを特徴とした付記6,付記7または付記8のうち何れか一項に記載のログ管理プログラム。
[Appendix 9]
The microprocessor (101) of the computer (1) further reads a keyword that may be included in the log information from the extraction condition and an offset value for specifying the position of the keyword on the log information. When a wild card is set for a constituent factor to be excluded, the extraction necessity determination is provided with a function for determining that the constituent factor satisfies the condition of the corresponding constituent factor in the preset extraction condition unconditionally. The log management program according to any one of Supplementary Note 6,
〔付記10〕
前記コンピュータ(1)のマイクロプロセッサ(101)を、更に、前記保存要否判定手段(D)によって前記生成されたログ情報の内容を特定する情報が前記記憶装置(105)の前記他の一部を構成する有限の記憶領域(A2)に記憶されていると判定された場合に、当該ログ情報の内容を特定する情報に対応して前記記憶装置(105)の前記他の一部を構成する有限の記憶領域(A2)に設けられた抽出回数記憶レジスタの値を1インクリメントする機能を備えた内容特定情報書込手段(E)として機能させることを特徴とした付記6,付記7,付記8または付記9のうち何れか一項に記載のログ管理プログラム。
[Appendix 10]
Information specifying the contents of the log information generated by the microprocessor (101) of the computer (1) and the storage necessity determination means (D) is the other part of the storage device (105). When it is determined that the log information is stored in the finite storage area (A2) that configures the log information, the other part of the storage device (105) is configured corresponding to the information that specifies the content of the log information. APPENDIX 6,
〔付記11〕
コンピュータ上で生成されたログ情報を時系列に沿ってコンピュータの記憶装置(105)に保存するためのログ管理装置であって、
生成されたログ情報を時系列に沿って前記記憶装置(105)の一部を構成する有限の一時記憶領域(A1)に循環的に上書きして記憶させるログ書込手段(B)と、
前記生成されたログ情報の内容が予め設定された抽出条件を満たすか否かを判定する抽出要否判定手段(C)と、
前記抽出要否判定手段(C)によって前記生成されたログ情報の内容が予め設定された抽出条件を満たすと判定された場合に、前記生成されたログ情報の内容を特定する情報が前記記憶装置(105)の他の一部を構成する有限の記憶領域(A2)に既に記憶されているか否かを判定する保存要否判定手段(D)と、
前記保存要否判定手段(D)によって前記生成されたログ情報の内容を特定する情報が前記記憶装置(105)の前記他の一部を構成する有限の記憶領域(A2)に記憶されていないと判定された場合に限って、このログ情報の内容を特定する情報を前記記憶装置(105)の前記他の一部を構成する有限の記憶領域(A2)に追加して記憶させる内容特定情報書込手段(E)と、
前記保存要否判定手段(D)によって前記生成されたログ情報の内容を特定する情報が前記記憶装置(105)の前記他の一部を構成する有限の記憶領域(A2)に記憶されていないと判定された場合に限って、前記生成されたログ情報を前記記憶装置(105)の更に他の一部を構成する有限の記憶領域(A3)に追加して記憶させる抽出ログ書込手段(F)とを備えたことを特徴とするログ管理装置。
[Appendix 11]
A log management device for storing log information generated on a computer in a storage device (105) of the computer in time series,
Log writing means (B) for cyclically overwriting and storing the generated log information in a finite temporary storage area (A1) constituting a part of the storage device (105) in time series;
Extraction necessity determination means (C) for determining whether or not the content of the generated log information satisfies a preset extraction condition;
When the content of the generated log information is determined to satisfy a preset extraction condition by the extraction necessity determination means (C), information for specifying the content of the generated log information is the storage device. (105) a storage necessity determination means (D) for determining whether or not the data is already stored in a finite storage area (A2) constituting another part;
Information specifying the content of the log information generated by the storage necessity determination means (D) is not stored in the finite storage area (A2) constituting the other part of the storage device (105). Only when it is determined that the information specifying the content of the log information is added to the finite storage area (A2) constituting the other part of the storage device (105) and stored. Writing means (E);
Information specifying the content of the log information generated by the storage necessity determination means (D) is not stored in the finite storage area (A2) constituting the other part of the storage device (105). Only when it is determined that the generated log information is added to and stored in a finite storage area (A3) that constitutes another part of the storage device (105). F). A log management apparatus comprising:
〔付記12〕
前記コンピュータ(1)に情報伝達可能に接続された複数のコンピュータ(3)から各コンピュータ(3)により生成されたログ情報と当該ログ情報を生成したコンピュータ(3)を特定するためのコンピュータ特定情報(エージェントID)とを受け付けて前記ログ書込手段(B)に引き渡す電文受信手段(G)を備えたことを特徴とする付記11記載のログ管理装置。
[Appendix 12]
Computer identification information for identifying log information generated by each computer (3) from a plurality of computers (3) connected to the computer (1) so as to be able to transmit information, and the computer (3) that generated the log information The log management apparatus according to appendix 11, further comprising: a message receiving unit (G) that receives (agent ID) and delivers it to the log writing unit (B).
〔付記13〕
前記コンピュータ(1)に情報伝達可能に接続された複数のコンピュータ(3)から各コンピュータ(3)により生成されたログ情報と当該ログ情報を生成したコンピュータ(3)を特定するためのコンピュータ特定情報(エージェントID)とを受け付けて前記ログ書込手段(B)に引き渡すと共に前記コンピュータ(1)が生成した指令を前記コンピュータ(1)に情報伝達可能に接続されたコンピュータ(3)の各々に送信する電文送受信手段(G)と、
前記保存要否判定手段(D)によって前記生成されたログ情報の内容を特定する情報が前記記憶装置(105)の前記他の一部を構成する有限の記憶領域(A2)に記憶されていないと判定された場合に限りログ情報を生成するコンピュータ(3)同士の相互依存関係をコンピュータ特定情報(エージェントID)の対応関係によって記憶した依存関係記憶テーブル(H)を参照して当該ログ情報を生成したコンピュータ(3)と相互依存関係のあるコンピュータ(3)を特定する依存関係特定手段(I)と、
前記依存関係特定手段(I)で特定されたコンピュータ(3)の各々に前記電文送受信手段(G)を介して指令を出力し、各コンピュータ(3)における最新のログ情報を各コンピュータ(3)毎の記憶装置(205)に保存させる指令出力手段(J)とを備えたことを特徴とする付記11記載のログ管理装置。
[Appendix 13]
Computer identification information for identifying log information generated by each computer (3) from a plurality of computers (3) connected to the computer (1) so as to be able to transmit information, and the computer (3) that generated the log information (Agent ID) is received and delivered to the log writing means (B), and a command generated by the computer (1) is transmitted to each of the computers (3) connected to the computer (1) so as to be able to transmit information. Message transmission / reception means (G),
Information specifying the content of the log information generated by the storage necessity determination means (D) is not stored in the finite storage area (A2) constituting the other part of the storage device (105). Only when it is determined that the log information is generated by referring to the dependency storage table (H) in which the mutual dependency between the computers (3) that generate the log information is stored by the correspondence of the computer identification information (agent ID). Dependency specifying means (I) for specifying the computer (3) having an interdependency with the generated computer (3);
A command is output to each of the computers (3) specified by the dependency specifying means (I) via the telegram transmitting / receiving means (G), and the latest log information in each computer (3) is output to each computer (3). The log management device according to appendix 11, further comprising command output means (J) for storing in each storage device (205).
〔付記14〕
前記抽出要否判定手段(C)に、前記抽出条件からログ情報に含まれる可能性のあるキーワードとログ情報上でキーワードの位置を特定するためのオフセット値とを読み込み、キーワードを除く構成因子にワイルドカードが設定されている場合には、当該構成因子が予め設定された抽出条件中の対応する構成因子の条件を無条件に満たすものと判定する機能をもたせたことを特徴とする付記11,付記12または付記13のうち何れか一項に記載のログ管理装置。
[Appendix 14]
The extraction necessity determination means (C) reads the keywords that may be included in the log information from the extraction conditions and the offset value for specifying the keyword position on the log information, and uses them as constituent factors excluding the keywords. Appendix 11, characterized in that when a wild card is set, the constituent factor has a function of determining that the condition of the corresponding constituent factor in the preset extraction condition is unconditionally satisfied 14. The log management device according to any one of
〔付記15〕
前記内容特定情報書込手段(E)に、前記保存要否判定手段(D)によって前記生成されたログ情報の内容を特定する情報が前記記憶装置(105)の前記他の一部を構成する有限の記憶領域(A2)に記憶されていると判定された場合に、当該ログ情報の内容を特定する情報に対応して前記記憶装置(105)の前記他の一部を構成する有限の記憶領域(A2)に設けられた抽出回数記憶レジスタの値を1インクリメントする機能をもたせたことを特徴とする付記11,付記12,付記13または付記14のうち何れか一項に記載のログ管理装置。
[Appendix 15]
Information specifying the content of the log information generated by the storage necessity determination unit (D) in the content specifying information writing unit (E) constitutes the other part of the storage device (105). When it is determined that the log information is stored in the finite storage area (A2), the finite memory constituting the other part of the storage device (105) corresponding to the information specifying the content of the log information 15. The log management device according to any one of appendix 11, appendix 13, appendix 13, or
本発明は、サーバやデータベース、ネットワーク機器といった種々の製品で構成されるITシステムのログメッセージ監視用途に適用できる。特に、クライアント・サーバシステムや、複数サーバで構成されるWebサービスシステムなど、複数の独立した機器が関連してひとつのサービスを実現している場合に、障害発生のタイミングで、関連機器の同時刻のログ情報を採取する用途に有効である。 The present invention can be applied to a log message monitoring application of an IT system composed of various products such as a server, a database, and a network device. In particular, when multiple independent devices are related to each other to realize a single service, such as a client / server system or a Web service system composed of multiple servers, This is effective for collecting log information.
A1 ログ情報を上書きして書き込むための有限の一時記憶領域(ログ記憶領域)
A2 ログ情報の内容を特定する情報を記憶するための記憶領域(既存ログ記憶領域)
A3 ログ情報を記憶させるための有限の記憶領域(ログ保存領域)
B ログ書込手段
C 抽出要否判定手段
D 保存要否判定手段
E 内容特定情報書込手段
F 抽出ログ書込手段
G 電文送受信手段
H コンピュータ同士の相互依存関係を記憶した依存関係記憶テーブル
I 依存関係特定手段
J 指令出力手段
K ログ読出手段
L ログ情報の抽出条件を記憶した識別条件記憶テーブル
a1 ログ情報を上書きして書き込むための有限の一時記憶領域(ログ記憶領域)
a3 ログ情報を記憶させるための有限の記憶領域(ログ保存領域)
f クライアント用抽出ログ書込手段
g クライアント用電文送受信手段
k クライアント用ログ読出手段
1 ログ管理装置
2 ネットワーク
3 コンピュータ
101 マイクロプロセッサ
102 ROM
103 不揮発性メモリ
104 RAM
105 ハードディスクドライブ(コンピュータの記憶装置)
106 入出力回路
107 キーボード
108 マウス
109 モニタ
110 プリンタ
111 インターフェイス
201 マイクロプロセッサ
202 ROM
203 不揮発性メモリ
204 RAM
205 ハードディスクドライブ(各コンピュータ毎の記憶装置)
206 入出力回路
207 キーボード
208 マウス
209 モニタ
210 プリンタ
211 インターフェイス
A1 Finite temporary storage area (log storage area) for overwriting and writing log information
A2 Storage area for storing information specifying the contents of log information (existing log storage area)
A3 Limited storage area for storing log information (log storage area)
B Log writing means C Extraction necessity determination means D Storage necessity determination means E Content specifying information writing means F Extraction log writing means G Message transmission / reception means H Dependency storage table I storing interdependencies between computers Relation specifying means J Command output means K Log reading means L Identification condition storage table a1 storing log information extraction conditions a1 Finite temporary storage area (log storage area) for overwriting and writing log information
a3 A finite storage area (log storage area) for storing log information
f Extracted log writing means for client g Message transmission / reception means for client k Log reading means for
103
105 Hard disk drive (computer storage device)
106 I /
203
205 Hard disk drive (storage device for each computer)
206 Input /
Claims (7)
生成されたログ情報を時系列に沿って前記記憶装置の一部を構成する有限の一時記憶領域に循環的に上書きして記憶させると共に、
前記生成されたログ情報の内容が予め設定された抽出条件を満たすか否かを判定し、前記予め設定された抽出条件を満たす場合には、更に、前記生成されたログ情報の内容を特定する情報が前記記憶装置の他の一部を構成する有限の記憶領域に既に記憶されているか否かを判定し、
前記生成されたログ情報の内容を特定する情報が前記記憶装置の前記他の一部を構成する有限の記憶領域に記憶されていない場合に限って、このログ情報の内容を特定する情報を前記記憶装置の前記他の一部を構成する有限の記憶領域に追加して記憶させると共に、前記生成されたログ情報を前記記憶装置の更に他の一部を構成する有限の記憶領域に追加して記憶させることを特徴としたログ管理方法。 A log management method for storing log information generated on a computer in a storage device of the computer along a time series,
The generated log information is cyclically overwritten and stored in a finite temporary storage area constituting a part of the storage device in time series,
It is determined whether or not the content of the generated log information satisfies a preset extraction condition. If the predetermined extraction condition is satisfied, the content of the generated log information is further specified. Determining whether information is already stored in a finite storage area constituting another part of the storage device;
Only when the information specifying the content of the generated log information is not stored in a finite storage area constituting the other part of the storage device, the information specifying the content of the log information is In addition to storing in the finite storage area constituting the other part of the storage device, the generated log information is added to the finite storage area constituting the other part of the storage device. A log management method characterized by storing.
前記ログ情報と生成されたログ情報の内容を特定する情報には、少なくとも、ログ情報を生成したコンピュータを特定するためのコンピュータ特定情報が含まれていることを特徴とした請求項1記載のログ管理方法。 A plurality of computers for generating log information are connected to a computer having the storage device so that information can be transmitted, and log information generated by the computer for generating log information is transferred to the computer having the storage device, and
2. The log according to claim 1, wherein the log information and the information specifying the contents of the generated log information include at least computer specifying information for specifying a computer that generated the log information. Management method.
前記生成されたログ情報の内容を特定する情報が前記記憶装置の前記他の一部を構成する有限の記憶領域に既に記憶されているか否かの判定処理により前記生成されたログ情報の内容を特定する情報が前記記憶装置の前記他の一部を構成する有限の記憶領域に記憶されていないと判定された場合には、更に、前記記憶装置を備えたコンピュータが、前記依存関係記憶テーブルを参照して当該ログ情報を生成したコンピュータと相互依存関係のあるコンピュータを特定し、
前記記憶装置を備えたコンピュータが、相互依存関係のあるコンピュータの各々に指令を出力して各コンピュータにおける最新のログ情報を各コンピュータ毎の記憶装置に保存させることを特徴とした請求項2記載のログ管理方法。 A dependency relationship storage table that indicates the interdependency relationship between computers that generate log information by the correspondence relationship of computer specific information is stored in advance in a computer including the storage device,
The content of the generated log information is determined by determining whether or not the information specifying the content of the generated log information is already stored in a finite storage area constituting the other part of the storage device. If it is determined that the specified information is not stored in a finite storage area constituting the other part of the storage device, the computer including the storage device further stores the dependency relationship storage table. Identify the computer that is interdependent with the computer that generated the log information by referring to it,
The computer having the storage device outputs a command to each of the computers having an interdependence so that the latest log information in each computer is stored in the storage device of each computer. Log management method.
前記抽出条件のうち、キーワードを除く構成因子の各々には、ワイルドカードによる無条件一致の設定を許容したことを特徴とする請求項1,請求項2または請求項3のうち何れか一項に記載のログ管理方法。 The extraction condition includes at least a keyword that may be included in the log information and an offset value for specifying the position of the keyword on the log information as constituent elements of the extraction condition.
4. The method according to claim 1, wherein an unconditional match setting by a wild card is allowed for each of the constituent factors excluding the keyword among the extraction conditions. 5. The log management method described.
前記コンピュータのマイクロプロセッサを、生成されたログ情報を時系列に沿って前記記憶装置の一部を構成する有限の一時記憶領域に循環的に上書きして記憶させるログ書込手段、
前記生成されたログ情報の内容が予め設定された抽出条件を満たすか否かを判定する抽出要否判定手段、
前記抽出要否判定手段によって前記生成されたログ情報の内容が予め設定された抽出条件を満たすと判定された場合に、前記生成されたログ情報の内容を特定する情報が前記記憶装置の他の一部を構成する有限の記憶領域に既に記憶されているか否かを判定する保存要否判定手段、
前記保存要否判定手段によって前記生成されたログ情報の内容を特定する情報が前記記憶装置の前記他の一部を構成する有限の記憶領域に記憶されていないと判定された場合に限って、このログ情報の内容を特定する情報を前記記憶装置の前記他の一部を構成する有限の記憶領域に追加して記憶させる内容特定情報書込手段、および、
前記保存要否判定手段によって前記生成されたログ情報の内容を特定する情報が前記記憶装置の前記他の一部を構成する有限の記憶領域に記憶されていないと判定された場合に限って、前記生成されたログ情報を前記記憶装置の更に他の一部を構成する有限の記憶領域に追加して記憶させる抽出ログ書込手段として機能させることを特徴としたログ管理プログラム。 A log management program for storing log information generated on a computer in a storage device of the computer along a time series,
Log writing means for cyclically overwriting and storing the generated log information in a finite temporary storage area constituting a part of the storage device in time series, the microprocessor of the computer;
Extraction necessity determination means for determining whether or not the content of the generated log information satisfies a preset extraction condition;
When it is determined by the extraction necessity determination unit that the content of the generated log information satisfies a predetermined extraction condition, information for specifying the content of the generated log information is stored in another storage device. A storage necessity judging means for judging whether or not already stored in a finite storage area constituting a part;
Only when it is determined by the storage necessity determination means that the information specifying the content of the generated log information is not stored in a finite storage area constituting the other part of the storage device, Content specifying information writing means for adding and storing information specifying the content of the log information in a finite storage area constituting the other part of the storage device; and
Only when it is determined by the storage necessity determination means that the information specifying the content of the generated log information is not stored in a finite storage area constituting the other part of the storage device, A log management program that functions as extraction log writing means for adding and storing the generated log information in a finite storage area that constitutes another part of the storage device.
生成されたログ情報を時系列に沿って前記記憶装置の一部を構成する有限の一時記憶領域に循環的に上書きして記憶させるログ書込手段と、
前記生成されたログ情報の内容が予め設定された抽出条件を満たすか否かを判定する抽出要否判定手段と、
前記抽出要否判定手段によって前記生成されたログ情報の内容が予め設定された抽出条件を満たすと判定された場合に、前記生成されたログ情報の内容を特定する情報が前記記憶装置の他の一部を構成する有限の記憶領域に既に記憶されているか否かを判定する保存要否判定手段と、
前記保存要否判定手段によって前記生成されたログ情報の内容を特定する情報が前記記憶装置の前記他の一部を構成する有限の記憶領域に記憶されていないと判定された場合に限って、このログ情報の内容を特定する情報を前記記憶装置の前記他の一部を構成する有限の記憶領域に追加して記憶させる内容特定情報書込手段と、
前記保存要否判定手段によって前記生成されたログ情報の内容を特定する情報が前記記憶装置の前記他の一部を構成する有限の記憶領域に記憶されていないと判定された場合に限って、前記生成されたログ情報を前記記憶装置の更に他の一部を構成する有限の記憶領域に追加して記憶させる抽出ログ書込手段とを備えたことを特徴とするログ管理装置。 A log management device for storing log information generated on a computer in a storage device of the computer in time series,
Log writing means for cyclically overwriting and storing the generated log information in a finite temporary storage area constituting a part of the storage device in time series;
Extraction necessity determination means for determining whether or not the content of the generated log information satisfies a preset extraction condition;
When it is determined by the extraction necessity determination unit that the content of the generated log information satisfies a predetermined extraction condition, information for specifying the content of the generated log information is stored in another storage device. A storage necessity judging means for judging whether or not already stored in a finite storage area constituting a part;
Only when it is determined by the storage necessity determination means that the information specifying the content of the generated log information is not stored in a finite storage area constituting the other part of the storage device, Content specifying information writing means for adding and storing information specifying the content of the log information in a finite storage area constituting the other part of the storage device;
Only when it is determined by the storage necessity determination means that the information specifying the content of the generated log information is not stored in a finite storage area constituting the other part of the storage device, A log management apparatus comprising: an extracted log writing unit that stores the generated log information in addition to a finite storage area that constitutes another part of the storage device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2010047701A JP5477057B2 (en) | 2010-03-04 | 2010-03-04 | Log management method, log management program, and log management apparatus |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2010047701A JP5477057B2 (en) | 2010-03-04 | 2010-03-04 | Log management method, log management program, and log management apparatus |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2011186516A JP2011186516A (en) | 2011-09-22 |
| JP5477057B2 true JP5477057B2 (en) | 2014-04-23 |
Family
ID=44792742
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2010047701A Expired - Fee Related JP5477057B2 (en) | 2010-03-04 | 2010-03-04 | Log management method, log management program, and log management apparatus |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5477057B2 (en) |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP6321732B2 (en) * | 2016-07-27 | 2018-05-09 | ヤフー株式会社 | Data processing apparatus, data processing method, and data processing program |
| JP6971053B2 (en) * | 2017-04-21 | 2021-11-24 | ヤフー株式会社 | Data management equipment, data management methods, and programs |
| CN109615312B (en) * | 2018-10-23 | 2024-12-24 | 平安科技(深圳)有限公司 | Abnormality detection method, device, electronic device and storage medium in business execution |
| JP7207019B2 (en) * | 2019-03-05 | 2023-01-18 | 株式会社リコー | Communication terminal, communication system, log recording method, program |
| US12450244B2 (en) * | 2020-05-05 | 2025-10-21 | International Business Machines Corporation | Automatic online log template mining |
| CN114153810A (en) * | 2021-12-03 | 2022-03-08 | 金生无忧信息技术有限责任公司 | Data management system, method, electronic equipment and storage medium |
| CN118349385B (en) * | 2024-04-25 | 2025-05-06 | 镁佳(北京)科技有限公司 | Log information analysis method, device, computer equipment, medium and program product |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3691272B2 (en) * | 1998-02-05 | 2005-09-07 | 株式会社日立製作所 | Distributed processing system and failure analysis information storage method |
| JPH11306050A (en) * | 1998-04-21 | 1999-11-05 | Mitsubishi Electric Corp | Error log collection method and device |
| JP2008210308A (en) * | 2007-02-28 | 2008-09-11 | Mitsubishi Electric Corp | Integrated log management apparatus, integrated log management method, integrated log management program |
-
2010
- 2010-03-04 JP JP2010047701A patent/JP5477057B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2011186516A (en) | 2011-09-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5477057B2 (en) | Log management method, log management program, and log management apparatus | |
| US10747591B2 (en) | Endpoint process state collector | |
| US7856575B2 (en) | Collaborative troubleshooting computer systems using fault tree analysis | |
| US11509677B2 (en) | Automatically detecting vulnerability remediations and regressions | |
| US8707111B2 (en) | High-volume distributed script error handling | |
| CN107807877B (en) | Code performance testing method and device | |
| CN110888783A (en) | Monitoring method and device of micro-service system and electronic equipment | |
| JP5640166B1 (en) | Log analysis system | |
| US9800455B1 (en) | Log monitoring system | |
| EP2645257A2 (en) | System and method for visualisation of behaviour within computer infrastructure | |
| US20080097801A1 (en) | Method And System For Monitoring Transaction Based System | |
| US20140201762A1 (en) | Event handling system and method | |
| EP3245588A1 (en) | Root cause analysis of non-deterministic tests | |
| US7689688B2 (en) | Multiple-application transaction monitoring facility for debugging and performance tuning | |
| US8601318B2 (en) | Method, apparatus and computer program product for rule-based directed problem resolution for servers with scalable proactive monitoring | |
| US20240411660A1 (en) | Apparatus and method for determining the underlying cause of user experience degradation | |
| US12271757B1 (en) | Security incident and event management case creation system and method | |
| CN108073499B (en) | Application program testing method and device | |
| CN113660115A (en) | Alarm-based network security data processing method, device and system | |
| Gries et al. | Cascading data corruption: About dependencies in cyber-physical systems: Poster | |
| JP2014115768A (en) | Log determination system, log determination standard architecting apparatus, and log determination method | |
| WO2010010393A1 (en) | Monitoring of backup activity on a computer system | |
| US8086912B2 (en) | Monitoring and root cause analysis of temporary process wait situations | |
| JP5732913B2 (en) | Failure investigation information material collection system, management server, failure investigation information material collection method and program | |
| US9372746B2 (en) | Methods for identifying silent failures in an application and devices thereof |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20130214 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20131227 |
|
| 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: 20140114 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140127 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 5477057 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| LAPS | Cancellation because of no payment of annual fees |