JP7023612B2 - Log structure visualization device, log structure visualization method, and program - Google Patents

Log structure visualization device, log structure visualization method, and program Download PDF

Info

Publication number
JP7023612B2
JP7023612B2 JP2017080403A JP2017080403A JP7023612B2 JP 7023612 B2 JP7023612 B2 JP 7023612B2 JP 2017080403 A JP2017080403 A JP 2017080403A JP 2017080403 A JP2017080403 A JP 2017080403A JP 7023612 B2 JP7023612 B2 JP 7023612B2
Authority
JP
Japan
Prior art keywords
log
information
definition information
type
unit
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
JP2017080403A
Other languages
Japanese (ja)
Other versions
JP2018180979A (en
Inventor
彰真 吉野
弘宗 尾崎
貞治 田中
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yahoo Japan Corp
Original Assignee
Yahoo Japan Corp
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 Yahoo Japan Corp filed Critical Yahoo Japan Corp
Priority to JP2017080403A priority Critical patent/JP7023612B2/en
Publication of JP2018180979A publication Critical patent/JP2018180979A/en
Application granted granted Critical
Publication of JP7023612B2 publication Critical patent/JP7023612B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、ログ構造可視化装置、ログ構造可視化方法、およびプログラムに関する。 The present invention relates to a log structure visualization device, a log structure visualization method, and a program.

ネットワーク上では、各種のログが収集される(例えば、特許文献1参照)。また、コンピュータ装置においては自身の行動ログが保存されている。 Various logs are collected on the network (see, for example, Patent Document 1). In addition, the computer device stores its own action log.

特開2016-163140号公報Japanese Unexamined Patent Publication No. 2016-163140

ログは様々な構造を採り得る。ログの定義情報はテキストで記述されることがあるが、テキストで記述された定義情報は、人が視認したときに一目で構造が分かるようなものではない場合がある。 Logs can take various structures. The definition information of the log may be described in text, but the definition information described in text may not be such that the structure can be understood at a glance when a person visually recognizes it.

本発明は、このような事情を考慮してなされたものであり、ログの構造が容易に理解できるような表示画面を生成することを目的の一つとする。 The present invention has been made in consideration of such circumstances, and one of the objects of the present invention is to generate a display screen in which the structure of a log can be easily understood.

本発明の一態様は、テキストで記述されたログの定義情報を取得する取得部と、前記取得部により取得されたログの定義情報に基づいて、前記ログの定義情報で定義されるログの構造を可視化して表示するための情報を生成する生成部と、を備えるログ構造可視化装置である。 One aspect of the present invention is an acquisition unit that acquires log definition information described in text, and a log structure defined by the log definition information based on the log definition information acquired by the acquisition unit. It is a log structure visualization device including a generation unit for generating information for visualizing and displaying.

本発明の一態様によれば、ログの構造が容易に理解できるような表示画面を生成することができる。 According to one aspect of the present invention, it is possible to generate a display screen in which the structure of the log can be easily understood.

ログ構造可視化装置の使用環境の一例を示す図である。It is a figure which shows an example of the use environment of a log structure visualization apparatus. ログ110の一例を示す図である。It is a figure which shows an example of the log 110. スキーマ定義情報120の一例を示す図である。It is a figure which shows an example of the schema definition information 120. ログ構造可視化装置として機能する場合の端末装置10の機能構成図である。It is a functional block diagram of the terminal apparatus 10 when it functions as a log structure visualization apparatus. 第2サーバ200からダウンロードしたウェブページに基づく画面IMの一例を示す図である。It is a figure which shows an example of the screen IM based on the web page downloaded from the 2nd server 200. 画面IMにおいて、ログの構造が可視化されて表示される様子を示す図である。It is a figure which shows how the structure of a log is visualized and displayed on the screen IM. 自動解析困難な要素を含むスキーマ定義情報の一例を示す図(その1)である。It is a figure (the 1) which shows an example of the schema definition information including the element which is difficult to perform automatic analysis. 図7に示すスキーマ定義情報に基づいて可視化情報生成部22が出力する結果表示欄A4の内容の一例を示す図である。It is a figure which shows an example of the contents of the result display column A4 output by the visualization information generation unit 22 based on the schema definition information shown in FIG. 7. 図7に示すスキーマ定義情報に対応するログの一例を示す図である。It is a figure which shows an example of the log corresponding to the schema definition information shown in FIG. 7. 利用者によって追加・編集がなされる結果表示欄A4の内容の一例を示す図(その1)である。It is a figure (the 1) which shows an example of the contents of the result display column A4 which is added / edited by a user. 自動解析困難な要素を含むスキーマ定義情報の一例を示す図(その2)である。It is a figure (the 2) which shows an example of the schema definition information including the element which is difficult to perform automatic analysis. 図11に示すスキーマ定義情報に対応するログの一例を示す図である。It is a figure which shows an example of the log corresponding to the schema definition information shown in FIG. 利用者によって追加・編集がなされる結果表示欄A4の内容の一例を示す図(その2)である。It is a figure (No. 2) which shows an example of the contents of the result display column A4 which is added / edited by a user. 自動解析困難な要素を含むスキーマ定義情報の一例を示す図(その3)である。It is a figure (3) which shows an example of the schema definition information including the element which is difficult to perform automatic analysis. 図14に示すスキーマ定義情報に対応するログの一例を示す図である。It is a figure which shows an example of the log corresponding to the schema definition information shown in FIG. 利用者によって追加・編集がなされる結果表示欄A4の内容の一例を示す図(その3)である。It is a figure (3) which shows an example of the contents of the result display column A4 which is added / edited by a user. ログ構造可視化装置により実行される処理の流れの一例を示すフローチャートである。It is a flowchart which shows an example of the flow of processing executed by a log structure visualization apparatus.

以下、図面を参照し、本発明のログ構造可視化装置、ログ構造可視化方法、およびプログラムの実施形態について説明する。ログ構造可視化装置は、プログラムが、プロセッサを有するコンピュータにインストールされることで実現される。ここで、インストールとは、不揮発性記憶装置に恒久的に保存されることのみならず、ウェブページに付随するプログラム(プラグイン)が端末装置にダウンロードされ、一時的に実行される状態も含むものとする。その他の態様として、ログ構造可視化装置は、クラウドサービスを提供するサーバ装置であってもよい。以下の説明では、プラグインをダウンロードした端末装置がログ構造可視化装置として動作するものとする。また、端末装置はキーボードやマウスを備えるパーソナルコンピュータであるものとするが、タッチパネルで操作されるスマートフォンやタブレット端末であってもよい。 Hereinafter, an embodiment of the log structure visualization device, the log structure visualization method, and the program of the present invention will be described with reference to the drawings. The log structure visualization device is realized by installing the program on a computer having a processor. Here, the installation includes not only the state of being permanently stored in the non-volatile storage device but also the state in which the program (plug-in) attached to the web page is downloaded to the terminal device and temporarily executed. .. As another aspect, the log structure visualization device may be a server device that provides a cloud service. In the following description, it is assumed that the terminal device from which the plug-in is downloaded operates as a log structure visualization device. Further, the terminal device is a personal computer provided with a keyboard and a mouse, but may be a smartphone or a tablet terminal operated by a touch panel.

図1は、ログ構造可視化装置の使用環境の一例を示す図である。図示するネットワークNWには、例えば、一以上の端末装置10と、第1サーバ100と、第2サーバ200とが接続されている。ネットワークNWは、例えばLAN(Local Area Network)やWAN(Wide Area Network)、インターネットなどを含む。 FIG. 1 is a diagram showing an example of the usage environment of the log structure visualization device. For example, one or more terminal devices 10, a first server 100, and a second server 200 are connected to the illustrated network NW. The network NW includes, for example, a LAN (Local Area Network), a WAN (Wide Area Network), the Internet, and the like.

端末装置10は、利用者によって利用されるコンピュータ装置であり、プログラムを実行するための、CPU(Central Processing Unit)その他のプロセッサを有する。 The terminal device 10 is a computer device used by a user, and has a CPU (Central Processing Unit) and other processors for executing a program.

第1サーバ100は、ログ110を記憶部に格納している。第1サーバ100は、例えば、ウェブサーバであり、ユーザログやアクセスログなどをログ110として収集する。また、第1サーバ100は、テキストで記述されたログ110の定義情報であるスキーマ定義情報120を記憶部に格納している。以下の説明において、「記憶部」と表記した場合、HDD(Hard Disk Drive)、フラッシュメモリ、RAM(Random Access Memory)、ROM(Read Only Memory)などの各種記憶装置のうち一部または全部により実現される記憶部を指すものとする。 The first server 100 stores the log 110 in the storage unit. The first server 100 is, for example, a web server, and collects user logs, access logs, and the like as logs 110. Further, the first server 100 stores the schema definition information 120, which is the definition information of the log 110 described in text, in the storage unit. In the following description, when the term "storage unit" is used, it is realized by some or all of various storage devices such as HDD (Hard Disk Drive), flash memory, RAM (Random Access Memory), and ROM (Read Only Memory). It shall refer to the storage part to be stored.

図2は、ログ110の一例を示す図である。図2に示すログ110の第1行は、”userid”=”a”、すなわち「a」というユーザIDのユーザについて、”timestamp”=”1”、すなわち時刻「1」に更新されたデータであり、”value”=”C++”、すなわち着目するデータが「C++」であることを示している。なお、図2に示すログ110は、各ユーザの好きなプログラム言語を収集したログである。 FIG. 2 is a diagram showing an example of the log 110. The first line of the log 110 shown in FIG. 2 is the data updated to "timestamp" = "1", that is, the time "1" for the user with the user ID "userid" = "a", that is, "a". Yes, it indicates that "value" = "C ++ ", that is, the data of interest is "C ++ ". The log 110 shown in FIG. 2 is a log in which the programming languages preferred by each user are collected.

図3は、スキーマ定義情報120の一例を示す図である。スキーマ定義情報120は、テキストで記述される。図3に示すスキーマ定義情報120は、一つのスキーマ定義情報の名称を示す”namespace”、対象とするログ110の形式を示す”type”、スキーマの名称を示す”name”、ログ110の構造をテキスト列で示す”fields”などを定義している。 FIG. 3 is a diagram showing an example of the schema definition information 120. The schema definition information 120 is described in text. The schema definition information 120 shown in FIG. 3 has a “namespace” indicating the name of one schema definition information, a “type” indicating the format of the target log 110, a “name” indicating the name of the schema, and a structure of the log 110. It defines "fields" etc. shown in the text string.

図1に戻り、第2サーバ200は、プラグインを含むウェブページ210を提供する。また、第2サーバ200は、プラグインが実行されることで作成されたログ構造情報220を記憶部に記憶させる。 Returning to FIG. 1, the second server 200 provides a web page 210 containing a plug-in. Further, the second server 200 stores the log structure information 220 created by executing the plug-in in the storage unit.

図4は、ログ構造可視化装置として機能する場合の端末装置10の機能構成図である。端末装置10は、例えば、通信部12と、入力部14と、表示部16と、ブラウザ機能部18と、スキーマ定義情報取得部20と、可視化情報生成部22と、情報管理部24と、記憶部26とを備える。 FIG. 4 is a functional configuration diagram of the terminal device 10 when functioning as a log structure visualization device. The terminal device 10 includes, for example, a communication unit 12, an input unit 14, a display unit 16, a browser function unit 18, a schema definition information acquisition unit 20, a visualization information generation unit 22, an information management unit 24, and storage. A unit 26 is provided.

通信部12は、NIC(Network Interface Card)や無線通信モジュールなどの通信インターフェースである。入力部14は、キーボードやマウスなどを含む。表示部16は、LCD(Liquid Crystal Display)や有機EL(Electroluminescence)表示装置などである。 The communication unit 12 is a communication interface such as a NIC (Network Interface Card) or a wireless communication module. The input unit 14 includes a keyboard, a mouse, and the like. The display unit 16 is an LCD (Liquid Crystal Display), an organic EL (Electroluminescence) display device, or the like.

ブラウザ機能部18は、記憶部26に格納されたブラウザプログラムがプロセッサにより実行されることで実現される。ブラウザ機能部18は、利用者によって指定されたリンク先からウェブページを取得し、ウェブページに基づく画面を表示部16に表示させる。 The browser function unit 18 is realized by executing the browser program stored in the storage unit 26 by the processor. The browser function unit 18 acquires a web page from a link destination designated by the user, and causes the display unit 16 to display a screen based on the web page.

スキーマ定義情報取得部20、可視化情報生成部22、および情報管理部24は、ウェブページに付随するプラグインがプロセッサにより実行されることで実現される。以下、これらの機能について表示部16により表示される画面を例示しながら説明する。 The schema definition information acquisition unit 20, the visualization information generation unit 22, and the information management unit 24 are realized by executing a plug-in attached to a web page by a processor. Hereinafter, these functions will be described with reference to the screen displayed by the display unit 16.

図5は、第2サーバ200からダウンロードしたウェブページに基づく画面IMの一例を示す図である。 FIG. 5 is a diagram showing an example of a screen IM based on a web page downloaded from the second server 200.

画面IMには、例えば、新規解析を指示するための入力要素として、スキーマ定義情報120の参照先を直接入力するための第1入力欄A1、スキーマ定義情報120の参照先を選択可能に表示させるための第1参照指示スイッチS1、解析対象とするログの種類を指定するためのログ種類指定スイッチS2、および、解析実行を指示するための解析実行指示スイッチS3が含まれる。なお、ログの種類は、利用者によって指定されるのではなく、可視化情報生成部22によって自動的に判別されてもよい。この場合、可視化情報生成部22は、スキーマ定義情報120に含まれる特定の記号やテキスト列、或いはスキーマ定義情報またはログに埋め込まれているメタ情報に基づいて、ログの種類を自動的に判別する。 On the screen IM, for example, as an input element for instructing a new analysis, the first input field A1 for directly inputting the reference destination of the schema definition information 120 and the reference destination of the schema definition information 120 are displayed so as to be selectable. The first reference instruction switch S1 for instructing the analysis, the log type specification switch S2 for designating the type of the log to be analyzed, and the analysis execution instruction switch S3 for instructing the analysis execution are included. The type of log may not be specified by the user, but may be automatically determined by the visualization information generation unit 22. In this case, the visualization information generation unit 22 automatically determines the type of the log based on the specific symbol or text string included in the schema definition information 120, the schema definition information, or the meta information embedded in the log. ..

また、画面IMには、例えば、既存結果の取得を指示するための入力要素として、解析結果の参照先を直接入力するための第2入力欄A2、解析結果の参照先を選択可能に表示させるための第2参照指示スイッチS4、および、解析結果のインポートを指示するためのインポート指示スイッチS5が含まれる。 Further, on the screen IM, for example, as an input element for instructing the acquisition of the existing result, the second input field A2 for directly inputting the reference destination of the analysis result and the reference destination of the analysis result are displayed in a selectable manner. The second reference instruction switch S4 for instructing the import of the analysis result and the import instruction switch S5 for instructing the import of the analysis result are included.

また、画面IMには、テキストボックスA3、および、解析結果を表示する結果表示欄A4が含まれる。なお、図5の状態は、新規解析または既存結果取得が行われる前の状態を示しているため、結果表示欄A4は空欄となっている。 Further, the screen IM includes a text box A3 and a result display column A4 for displaying the analysis result. Since the state of FIG. 5 shows the state before the new analysis or the acquisition of the existing result is performed, the result display column A4 is blank.

[新規解析]
構造を解析する対象のログ(以下、対象ログと称する)のスキーマ定義情報120は、(1)第1入力欄A1に第1サーバ100の格納先フォルダの識別情報が入力されることで、或いは(2)第1参照指示スイッチS1が操作されて表示された第1サーバ100の格納先フォルダの一覧情報から一つのフォルダが選択されることで取得される。スキーマ定義情報取得部20は、上記のいずれかの操作がなされると、第1サーバ100に、該当するスキーマ定義情報120、およびそれに対応するログ110の一例を送信するようにリクエストする。スキーマ定義情報120が取得されると、取得されたログ110およびスキーマ定義情報120がテキストボックスA3に表示される。
[New analysis]
The schema definition information 120 of the target log (hereinafter referred to as the target log) for which the structure is to be analyzed may be obtained by (1) inputting the identification information of the storage destination folder of the first server 100 in the first input field A1. (2) Obtained by selecting one folder from the list information of the storage destination folders of the first server 100 displayed by operating the first reference instruction switch S1. When any of the above operations is performed, the schema definition information acquisition unit 20 requests the first server 100 to send an example of the corresponding schema definition information 120 and the corresponding log 110. When the schema definition information 120 is acquired, the acquired log 110 and the schema definition information 120 are displayed in the text box A3.

なお、このような処理に代えて、コピー&ペーストなどで直接、テキストボックスA3にログおよびスキーマ定義情報(第1サーバ100から取得したものではないもの)が入力されてもよい。以下、これらを区別しないために、単にログ、或いはスキーマ定義情報と表記する。 Instead of such processing, the log and schema definition information (those not acquired from the first server 100) may be directly input to the text box A3 by copy and paste or the like. Hereinafter, in order not to distinguish between them, they are simply referred to as log or schema definition information.

テキストボックスA3にスキーマ定義情報が表示された状態で解析実行スイッチS3が操作されると、可視化情報生成部22が、スキーマ定義情報に基づいて、スキーマ定義情報で定義されるログの構造を可視化して表示するための情報を生成する。具体的には、可視化情報生成部22は、結果表示欄A4の欄内に表示する情報を生成し、画面IMに追加する。 When the analysis execution switch S3 is operated while the schema definition information is displayed in the text box A3, the visualization information generation unit 22 visualizes the log structure defined by the schema definition information based on the schema definition information. Generate information for display. Specifically, the visualization information generation unit 22 generates information to be displayed in the result display column A4 and adds it to the screen IM.

図3に例示したスキーマ定義情報の場合、可視化情報生成部22は、例えば、”fields”以下の部分に着目し、「{}」で囲まれた領域が一つの項目セットを示し、「,」の前後が項目名と種別を示し、「:」の前がラベルであり後が情報の実体であるといった既知の規則に従って、ログの構造を認識する。すなわち、可視化情報生成部22は、「{}」、「,」、「:」といった特定の記号の位置を基準としてログの構造を認識する。 In the case of the schema definition information illustrated in FIG. 3, the visualization information generation unit 22 pays attention to the part below “fields”, for example, the area surrounded by “{}” indicates one item set, and “,”. The structure of the log is recognized according to the known rule that the item name and type are shown before and after, and the label is before the ":" and the information is after the ":". That is, the visualization information generation unit 22 recognizes the log structure with reference to the positions of specific symbols such as “{}”, “,”, and “:”.

図6は、画面IMにおいて、ログの構造が可視化されて表示される様子を示す図である。図示するように、可視化情報生成部22は、スキーマ定義情報の”fields”に従属する部分から把握される”name”に対応する「フィールド名」と、”type”に対応する「型」とに分けて、ログを構造化して表示部16に表示させる。型とは、例えば、string型(文字列型)か、long型(数値型)かを示す情報である。 FIG. 6 is a diagram showing how the log structure is visualized and displayed on the screen IM. As shown in the figure, the visualization information generation unit 22 has a "field name" corresponding to "name" and a "type" corresponding to "type" grasped from the part dependent on "fields" of the schema definition information. Separately, the log is structured and displayed on the display unit 16. The type is, for example, information indicating whether it is a string type (character string type) or a long type (numeric type).

[追加、編集]
図6における「フィールド説明」の項目は、可視化情報生成部22によって自動的に生成されるのではなく、利用者によって入力されてよい。利用者は、テキストボックスA3をみながら結果表示欄A4の各フィールドに該当する情報を入力する。また、図中、string(100)と示しているように、その項目の最大の長さが判明している場合、利用者によって小括弧およびその内容が追加されてよい。なお、図6以下の説明において、結果表示欄A4の中で下線が付されているものは、可視化情報生成部22によって自動的に生成されるのではなく、利用者によって入力される情報を示すものとする。
[Add, Edit]
The item of "field explanation" in FIG. 6 is not automatically generated by the visualization information generation unit 22, but may be input by the user. The user inputs the corresponding information in each field of the result display field A4 while looking at the text box A3. Also, as shown by string (100) in the figure, if the maximum length of the item is known, the user may add parentheses and their contents. In the following description of FIG. 6, the underlined items in the result display column A4 indicate information input by the user, not automatically generated by the visualization information generation unit 22. It shall be.

また、結果表示欄A4の周辺には、結果保存指示スイッチS6などが設定される。結果保存スイッチS6が操作されると、情報管理部24が、その時点で結果表示欄A4に表示されている内容(随時RAMに保存されている)を、第2サーバ200にアップロードする。このアップロードされた情報が、ログ構造情報220となる。 Further, a result storage instruction switch S6 or the like is set around the result display column A4. When the result storage switch S6 is operated, the information management unit 24 uploads the content (stored in the RAM at any time) displayed in the result display field A4 at that time to the second server 200. This uploaded information becomes the log structure information 220.

[既存結果取得]
図5に戻り、ログ構造情報220は、(1)第2入力欄A2に第2サーバ200の格納先フォルダの識別情報が入力されることで、或いは(2)第2参照指示スイッチS4が操作されて表示された第2サーバ200の格納先フォルダの一覧情報から一つのフォルダが選択されることで取得される。情報管理部24は、上記のいずれかの操作がなされると、第2サーバ200に、該当するログ構造情報220を送信するようにリクエストする。ログ構造情報220が取得されると、ログ構造情報220が結果表示欄A4に表示される。このような機能によって、ある利用者が編集したログ構造情報220を、他の利用者が閲覧することができる。
[Get existing results]
Returning to FIG. 5, the log structure information 220 is operated by (1) inputting the identification information of the storage destination folder of the second server 200 in the second input field A2, or (2) the second reference instruction switch S4. It is acquired by selecting one folder from the list information of the storage destination folders of the second server 200 displayed. When any of the above operations is performed, the information management unit 24 requests the second server 200 to transmit the corresponding log structure information 220. When the log structure information 220 is acquired, the log structure information 220 is displayed in the result display column A4. With such a function, the log structure information 220 edited by one user can be viewed by another user.

[応用的な例]
以下、更に応用的な例について説明する。図7は、自動解析困難な要素を含むスキーマ定義情報の一例を示す図(その1)である。これまで例示しているログの規則によれば、型のうちmapと表記されているものは、その中に更に下位の階層の項目を含むことを示している。図8は、図7に示すスキーマ定義情報に基づいて可視化情報生成部22が出力する結果表示欄A4の内容の一例を示す図である。mapについては、項目の最大数が規定されるため、中括弧内に最大数の入力を促すために、可視化情報生成部22は、map{}という表示を表示部16に行わせる。
[Applied example]
Hereinafter, more applied examples will be described. FIG. 7 is a diagram (No. 1) showing an example of schema definition information including elements that are difficult to analyze automatically. According to the log rules exemplified so far, the type described as map indicates that the item in the lower hierarchy is included in the type. FIG. 8 is a diagram showing an example of the contents of the result display column A4 output by the visualization information generation unit 22 based on the schema definition information shown in FIG. 7. Since the maximum number of items is specified for the map, the visualization information generation unit 22 causes the display unit 16 to display the map {} in order to prompt the input of the maximum number in the curly braces.

図9は、図7に示すスキーマ定義情報に対応するログの一例を示す図である。このログを見ながら、利用者は、結果表示欄A4への追加・編集を行う。図10は、利用者によって追加・編集がなされる結果表示欄A4の内容の一例を示す図(その1)である。まず、利用者は、valueの中にlikeとdislikeの二つの項目が存在することを認識し、map{}の中括弧内に「2」を入力する。すると、可視化情報生成部22は、valueの下位階層を入力するための行を二つ、自動的に追加する。なお、行の追加を指示するためのスイッチが画面IMに設けられてもよい。また、可視化情報生成部22は、valueの中にlikeとdislikeの二つの項目が存在することを、valueの直後の{}内の”,”の存在などに基づいて自動的に判別し、「2」を自動的に表示すると共に、valueの下位階層を入力するための行を二つ、自動的に追加してもよい。 FIG. 9 is a diagram showing an example of a log corresponding to the schema definition information shown in FIG. 7. While looking at this log, the user adds / edits to the result display column A4. FIG. 10 is a diagram (No. 1) showing an example of the contents of the result display column A4 that is added / edited by the user. First, the user recognizes that there are two items like and dislike in the value, and inputs "2" in the curly braces of map {}. Then, the visualization information generation unit 22 automatically adds two lines for inputting the lower hierarchy of value. A switch for instructing the addition of a line may be provided on the screen IM. In addition, the visualization information generation unit 22 automatically determines that two items, like and dislike, exist in the value based on the existence of "," in the {} immediately after the value, and ". 2 ”may be automatically displayed, and two lines for inputting the lower hierarchy of value may be automatically added.

そして、利用者は、「2」以外の下線部分の情報を追加することで、結果表示欄A4の内容を完成させる。なお、項目value.likeとvalue.dislikeの型については、スキーマ定義情報において上位のmapの型がstringであることが定義されているので、行が自動的に追加された段階で、可視化情報生成部22により自動的に追加して表示する処理が行われる(後述する内容の自動補充)。 Then, the user completes the content of the result display column A4 by adding the information of the underlined portion other than "2". As for the types of items value.like and value.dislike, it is defined in the schema definition information that the type of the upper map is string, so visualization information is generated when a row is automatically added. The process of automatically adding and displaying is performed by the unit 22 (automatic replenishment of the contents described later).

図11は、自動解析困難な要素を含むスキーマ定義情報の一例を示す図(その2)である。また、図12は、図11に示すスキーマ定義情報に対応するログの一例を示す図である。このスキーマ定義情報は、mapの下位の階層に、更にmapを含むものである。この場合の結果表示欄A4の追加・編集手順は、図13に示すような流れで行われる。図13は、利用者によって追加・編集がなされる結果表示欄A4の内容の一例を示す図(その2)である。この場合、図10を用いて説明したような作業を2回繰り返すことで、結果表示欄A4が完成する。 FIG. 11 is a diagram (No. 2) showing an example of schema definition information including elements that are difficult to analyze automatically. Further, FIG. 12 is a diagram showing an example of a log corresponding to the schema definition information shown in FIG. This schema definition information includes a map in the lower hierarchy of the map. In this case, the procedure for adding / editing the result display column A4 is performed as shown in FIG. FIG. 13 is a diagram (No. 2) showing an example of the contents of the result display column A4 that is added / edited by the user. In this case, the result display column A4 is completed by repeating the work as described with reference to FIG. 10 twice.

図14は、自動解析困難な要素を含むスキーマ定義情報の一例を示す図(その3)である。また、図15は、図14に示すスキーマ定義情報に対応するログの一例を示す図である。このスキーマ定義情報は、型にarrayを含んでいる。arrayとは、ラベルが異なる配列を複数含む構造を示している。この場合の結果表示欄A4の追加・編集手順は、図16に示すような流れで行われる。図16は、利用者によって追加・編集がなされる結果表示欄A4の内容の一例を示す図(その3)である。このログ構造は、「好き嫌いの対象物」が異なる複数のデータ系列を有しており、これがarrayによって表現されている。従って、array{}の中括弧内に数値が入力された場合には、一行のみ追加されてよい。 FIG. 14 is a diagram (No. 3) showing an example of schema definition information including elements that are difficult to analyze automatically. Further, FIG. 15 is a diagram showing an example of a log corresponding to the schema definition information shown in FIG. This schema definition information includes an array in the type. An array indicates a structure containing a plurality of arrays having different labels. The procedure for adding / editing the result display column A4 in this case is performed as shown in FIG. FIG. 16 is a diagram (No. 3) showing an example of the contents of the result display column A4 that is added / edited by the user. This log structure has a plurality of data series with different "likes and dislikes", which are represented by an array. Therefore, if a number is entered in the curly braces of array {}, only one line may be added.

図17は、ログ構造可視化装置により実行される処理の流れの一例を示すフローチャートである。まず、ログ構造可視化装置は、スキーマ定義情報とログを取得し(S100)、テキストボックスに表示する(S102)。次に、ログ構造可視化装置は、解析実行が指示されたか否かを判定する(S104)。 FIG. 17 is a flowchart showing an example of the flow of processing executed by the log structure visualization device. First, the log structure visualization device acquires the schema definition information and the log (S100) and displays them in the text box (S102). Next, the log structure visualization device determines whether or not the analysis execution is instructed (S104).

解析実行が指示されると、ログ構造可視化装置は、スキーマ定義情報に基づいてログの構造を認識し(S106)、自動的に認識可能な範囲内で結果表示欄A4の欄内にログの構造を示す情報を表示する(S108)。 When the analysis execution is instructed, the log structure visualization device recognizes the log structure based on the schema definition information (S106), and the log structure is automatically recognized in the result display column A4. Information indicating the above is displayed (S108).

次に、ログ構造可視化装置は、利用者によって追加・編集操作がなされたか否かを判定する(S110)。利用者によって追加・編集操作がなされた場合、ログ構造可視化装置は、追加・編集操作の内容を結果表示欄A4に反映させ(S112)、行追加が必要であるか否かを判定する(S114)。行追加が必要である場合、ログ構造可視化装置は、行追加を行うと共に、内容の自動補充を行う(S116)。 Next, the log structure visualization device determines whether or not the addition / editing operation has been performed by the user (S110). When the addition / editing operation is performed by the user, the log structure visualization device reflects the content of the addition / editing operation in the result display column A4 (S112), and determines whether or not the line addition is necessary (S114). ). When it is necessary to add a row, the log structure visualization device adds a row and automatically replenishes the contents (S116).

S110またはS114で否定的な判定を得た場合、或いは、S116の処理を行った後、ログ構造可視化装置は、結果保存の指示がなされたか否かを判定する(S120)。ログ構造可視化装置は、結果保存の指示がなされていない場合はS110に処理を戻し、結果保存の指示がなされた場合はデータをアップロードして(S120)、本フローチャートの処理を終了する。 When a negative determination is obtained in S110 or S114, or after the processing of S116, the log structure visualization device determines whether or not an instruction to save the result has been given (S120). The log structure visualization device returns the process to S110 when the result saving instruction is not given, uploads the data when the result saving instruction is given (S120), and ends the process of this flowchart.

以上説明した第1実施形態のログ構造可視化装置、ログ構造可視化方法、またはプログラムによれば、テキストで記述されたログの定義情報であるスキーマ定義情報を取得するスキーマ定義情報取得部20と、スキーマ定義情報取得部20により取得されたスキーマ定義情報に基づいて、スキーマ定義情報で定義されるログの構造を可視化して表示するための情報を生成する可視化情報生成部22と、を備えることにより、ログの構造が容易に理解できるような表示画面を生成することができる。 According to the log structure visualization device, the log structure visualization method, or the program of the first embodiment described above, the schema definition information acquisition unit 20 for acquiring the schema definition information which is the definition information of the log described in text, and the schema. By providing a visualization information generation unit 22 that generates information for visualizing and displaying the structure of the log defined by the schema definition information based on the schema definition information acquired by the definition information acquisition unit 20. It is possible to generate a display screen so that the structure of the log can be easily understood.

以上、本発明を実施するための形態について実施形態を用いて説明したが、本発明はこうした実施形態に何等限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々の変形及び置換を加えることができる。 Although the embodiments for carrying out the present invention have been described above using the embodiments, the present invention is not limited to these embodiments, and various modifications and substitutions are made without departing from the gist of the present invention. Can be added.

10 端末装置
12 通信部
14 入力部
16 表示部
18 ブラウザ機能部
20 スキーマ定義情報取得部
22 可視化情報生成部
24 情報管理部
26 記憶部
100 第1サーバ
200 第2サーバ
10 Terminal device 12 Communication unit 14 Input unit 16 Display unit 18 Browser function unit 20 Schema definition information acquisition unit 22 Visualization information generation unit 24 Information management unit 26 Storage unit 100 First server 200 Second server

Claims (9)

テキストで記述されたログの定義情報を取得する取得部と、
前記取得部により取得されたログの定義情報に基づいて、前記ログの定義情報で定義されるログの構造を可視化して表示するための情報を生成する生成部と、を備え、
前記可視化して表示するための情報は、前記ログに記述されたフィールドの名称と、型と、説明とを少なくとも含み、
前記生成部は、入力部に対してなされた入力操作に基づいて、前記名称と、前記型と、前記説明とを含む行を追加し、
前記生成部は、前記型に入力された値に対応した数の行を追加する、
ログ構造可視化装置。
An acquisition unit that acquires the definition information of the log described in text, and
A generation unit that generates information for visualizing and displaying the log structure defined by the definition information of the log based on the definition information of the log acquired by the acquisition unit is provided.
The information for visualization and display includes at least the name, type, and description of the field described in the log.
The generator adds a line containing the name, the type, and the description based on the input operation performed on the input unit.
The generator adds a number of rows corresponding to the value entered in the type.
Log structure visualization device.
前記生成部は、前記ログの定義情報に含まれる特定の記号の位置を基準として、前記ログの構造を認識する、
請求項1記載のログ構造可視化装置。
The generator recognizes the structure of the log with reference to the position of a specific symbol included in the definition information of the log.
The log structure visualization device according to claim 1.
前記生成部は、更に、入力部に対してなされた入力操作に基づいて、前記生成した情報に対する追加または編集を行う、
請求項1または2記載のログ構造可視化装置。
The generation unit further adds or edits the generated information based on the input operation performed on the input unit.
The log structure visualization device according to claim 1 or 2.
前記生成部は、更に、前記入力部に対して入力操作がなされるのに応じて、前記入力部に対してなされた入力操作と前記ログの定義情報とに基づいて自動的に補充可能な内容を、前記生成した情報に対して追加する、
請求項3記載のログ構造可視化装置。
Further, the generation unit can be automatically replenished based on the input operation performed on the input unit and the definition information of the log in response to the input operation performed on the input unit. Is added to the generated information,
The log structure visualization device according to claim 3.
前記生成部は、前記取得部により取得されたログの定義情報に基づいて、前記ログの定義情報で定義されるログの種類を自動的に判別し、判別結果に基づいて、前記ログの構造を可視化して表示するための情報を生成する、
請求項1から4のうちいずれか1項記載のログ構造可視化装置。
The generation unit automatically determines the type of log defined in the definition information of the log based on the definition information of the log acquired by the acquisition unit, and determines the structure of the log based on the determination result. Generate information for visualization and display,
The log structure visualization device according to any one of claims 1 to 4.
前記生成部は、入力部に対してなされた入力操作に基づいて、前記ログの定義情報で定義されるログの種類を判別し、判別結果に基づいて、前記ログの構造を可視化して表示するための情報を生成する
請求項1から4のうちいずれか1項記載のログ構造可視化装置。
The generation unit determines the type of log defined in the definition information of the log based on the input operation performed on the input unit, and visualizes and displays the structure of the log based on the determination result. The log structure visualization device according to any one of claims 1 to 4, which generates information for the purpose.
前記生成部により生成された情報を、識別情報と共に記憶部に記憶させ、識別情報を指定したリクエストに応答して前記記憶部から情報を読み出して返信する情報管理部を更に備える、
請求項1から6のうちいずれか1項記載のログ構造可視化装置。
An information management unit is further provided, in which information generated by the generation unit is stored in a storage unit together with identification information, and information is read from the storage unit and returned in response to a request for specifying the identification information.
The log structure visualization device according to any one of claims 1 to 6.
コンピュータが、
テキストで記述されたログの定義情報を取得し、
前記取得したログの定義情報に基づいて、前記ログの定義情報で定義されるログの構造を可視化して表示するための情報を生成し、
前記可視化して表示するための情報は、前記ログに記述されたフィールドの名称と、型と、説明とを少なくとも含み、
入力部に対してなされた入力操作に基づいて、前記名称と、前記型と、前記説明とを含む行を追加し、
前記型に入力された値に対応した数の行を追加する、
ログ構造可視化方法。
The computer
Get the definition information of the log described in the text,
Based on the acquired log definition information, information for visualizing and displaying the log structure defined in the log definition information is generated.
The information for visualization and display includes at least the name, type, and description of the field described in the log.
Based on the input operation performed on the input unit , a line containing the name, the type, and the description is added.
Add the number of rows corresponding to the value entered in the type ,
Log structure visualization method.
コンピュータに、
テキストで記述されたログの定義情報を取得させ、
前記取得させたログの定義情報に基づいて、前記ログの定義情報で定義されるログの構造を可視化して表示するための情報を生成させ、
前記可視化して表示するための情報は、前記ログに記述されたフィールドの名称と、型と、説明とを少なくとも含み、
入力部に対してなされた入力操作に基づいて、前記名称と、前記型と、前記説明とを含む行を追加し、
前記型に入力された値に対応した数の行を追加する、
プログラム。
On the computer
Get the definition information of the log described in the text
Based on the acquired log definition information, information for visualizing and displaying the log structure defined in the log definition information is generated.
The information for visualization and display includes at least the name, type, and description of the field described in the log.
Based on the input operation performed on the input unit , a line containing the name, the type, and the description is added.
Add the number of rows corresponding to the value entered in the type ,
program.
JP2017080403A 2017-04-14 2017-04-14 Log structure visualization device, log structure visualization method, and program Active JP7023612B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017080403A JP7023612B2 (en) 2017-04-14 2017-04-14 Log structure visualization device, log structure visualization method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017080403A JP7023612B2 (en) 2017-04-14 2017-04-14 Log structure visualization device, log structure visualization method, and program

Publications (2)

Publication Number Publication Date
JP2018180979A JP2018180979A (en) 2018-11-15
JP7023612B2 true JP7023612B2 (en) 2022-02-22

Family

ID=64275636

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017080403A Active JP7023612B2 (en) 2017-04-14 2017-04-14 Log structure visualization device, log structure visualization method, and program

Country Status (1)

Country Link
JP (1) JP7023612B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002259181A (en) 2001-03-02 2002-09-13 Jisedai Joho Hoso System Kenkyusho:Kk Method for managing content structure of object, method for displaying content structure of object, method for editing content structure of object and computer readable recording medium in which program to make computer perform the same method is recorded
US20100235494A1 (en) 2009-03-16 2010-09-16 Microsoft Corporation Flexible logging, such as for a web server
JP2012014588A (en) 2010-07-02 2012-01-19 Ricoh Co Ltd Information processor, log transfer method, and program
JP2012088849A (en) 2010-10-18 2012-05-10 Ricoh Co Ltd Image forming device, log management method, and log management program
JP2016014980A (en) 2014-07-01 2016-01-28 株式会社日立システムズ Log acquisition extraction system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002259181A (en) 2001-03-02 2002-09-13 Jisedai Joho Hoso System Kenkyusho:Kk Method for managing content structure of object, method for displaying content structure of object, method for editing content structure of object and computer readable recording medium in which program to make computer perform the same method is recorded
US20100235494A1 (en) 2009-03-16 2010-09-16 Microsoft Corporation Flexible logging, such as for a web server
JP2012014588A (en) 2010-07-02 2012-01-19 Ricoh Co Ltd Information processor, log transfer method, and program
JP2012088849A (en) 2010-10-18 2012-05-10 Ricoh Co Ltd Image forming device, log management method, and log management program
JP2016014980A (en) 2014-07-01 2016-01-28 株式会社日立システムズ Log acquisition extraction system

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
Developing XML Schemas in Oxygen XML Editor 13.2 [online],YouTube,2016年09月08日,https://www.youtube.com/watch?v=vz1eIZELQgc,[検索日 2021.03.22]
KANG, M., et al.,SM-GUI: A Grid-Based XML Schema Management GUI,2007 International Conference on Convergence Information Technology (ICCIT 2007) [online],2007年11月21日,pp. 2187-2192,[retrieved on 2021-10-28], Retrived from the Internet: <URL: https://ieeexplore.ieee.org/document/4420578>,<DOI: 10.1109/ICCIT.2007.287>
Visual XML Schema Diagram Editor [online],Internet Archive"Wayback Machine,2015年09月05日,https://web.archive.org/web/20150905113708/http://www.oxygenxml.com/schema_diagram_img.html,[検索日 2021.03.22]
Visual XML Schema Editor [online],Internet Archive"Wayback Machine,2015年09月05日,https://web.archive.org/web/20150905122405/http://www.oxygenxml.com/visual_schema_diagram_img.html,[検索日 2021.03.22]

Also Published As

Publication number Publication date
JP2018180979A (en) 2018-11-15

Similar Documents

Publication Publication Date Title
US11797532B1 (en) Dashboard display using panel templates
US10318628B2 (en) System and method for creation of templates
JP6185127B2 (en) Electronic document search method and electronic document search graphical display method
US10425501B2 (en) Element mapping and rule building systems and methods for contextual site visitor engagement
JP5642984B2 (en) Discovery, organization and processing of trail-based data content
US20140137006A1 (en) Graphical Overlay Related To Data Mining And Analytics
CN103678511B (en) The method and device of webpage content extraction is carried out according to visual template
JPWO2020204144A1 (en) Business analysis method
EP2599012A1 (en) Selecting content within a web page
KR20190108657A (en) Extracting similar group elements
US8230319B2 (en) Web-based visualization, refresh, and consumption of data-linked diagrams
US11175800B2 (en) Element mapping and rule building systems and methods for contextual site visitor engagement
US10860675B2 (en) Informational tabs
Chen The development and empirical study of a literature review aiding system
KR101910179B1 (en) Web-based chart library system for data visualization
US20140201608A1 (en) Method and system for generating a document from multiple sources
JP2011186768A (en) File management system, information processor, and information processing method
JP7023612B2 (en) Log structure visualization device, log structure visualization method, and program
US20190095404A1 (en) Managing extended schemas
JP6749787B2 (en) Homepage creation support system
JP2009169596A (en) Genealogy image creating device, genealogy image creating method, and program
JP6158949B2 (en) Information processing apparatus, web server, and computer program
JP2009230483A (en) Information retrieving method, program and device
KR20190011186A (en) Web-based chart library system for data visualization
JP2004334761A (en) Free opinion analysis system

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20191101

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20191108

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200305

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210326

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210406

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210518

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20210629

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210915

C60 Trial request (containing other claim documents, opposition documents)

Free format text: JAPANESE INTERMEDIATE CODE: C60

Effective date: 20210915

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20210924

C21 Notice of transfer of a case for reconsideration by examiners before appeal proceedings

Free format text: JAPANESE INTERMEDIATE CODE: C21

Effective date: 20210928

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20211102

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20211217

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20211223

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: 20220118

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220209

R150 Certificate of patent or registration of utility model

Ref document number: 7023612

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350