JP2018180979A - 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
JP2018180979A
JP2018180979A JP2017080403A JP2017080403A JP2018180979A JP 2018180979 A JP2018180979 A JP 2018180979A JP 2017080403 A JP2017080403 A JP 2017080403A JP 2017080403 A JP2017080403 A JP 2017080403A JP 2018180979 A JP2018180979 A JP 2018180979A
Authority
JP
Japan
Prior art keywords
log
information
definition information
unit
generation 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.)
Granted
Application number
JP2017080403A
Other languages
Japanese (ja)
Other versions
JP7023612B2 (en
Inventor
彰真 吉野
Akimasa Yoshino
彰真 吉野
弘宗 尾崎
Hiromune Ozaki
弘宗 尾崎
貞治 田中
Sadaji Tanaka
貞治 田中
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

Landscapes

  • Debugging And Monitoring (AREA)
  • Document Processing Apparatus (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PROBLEM TO BE SOLVED: To generate a display screen that makes it easy to understand the structure of logs.SOLUTION: A log structure visualization device including an acquisition unit configured to acquire log definition information written in text, and a generation unit configured to generate information for visualizing and displaying the structure of logs to be defined by the log definition information with reference to the log definition information acquired by the acquisition unit.SELECTED DRAWING: Figure 17

Description

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

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

特開2016−163140号公報JP, 2016-163140, A

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

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

本発明の一態様は、テキストで記述されたログの定義情報を取得する取得部と、前記取得部により取得されたログの定義情報に基づいて、前記ログの定義情報で定義されるログの構造を可視化して表示するための情報を生成する生成部と、を備えるログ構造可視化装置である。   According to one aspect of the present invention, there is provided an acquisition unit for acquiring 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. And a generation unit that generates information for visualizing and displaying the information.

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

ログ構造可視化装置の使用環境の一例を示す図である。It is a figure which shows an example of use environment of a log structure visualization apparatus. ログ110の一例を示す図である。It is a figure which shows an example of the log 110. FIG. スキーマ定義情報120の一例を示す図である。FIG. 6 is a diagram showing an example of schema definition information 120. ログ構造可視化装置として機能する場合の端末装置10の機能構成図である。It is a functional block diagram of the terminal device 10 in the case of functioning as a log structure visualization apparatus. 第2サーバ200からダウンロードしたウェブページに基づく画面IMの一例を示す図である。It is a figure which shows an example of Screen IM based on the web page downloaded from the 2nd server 200. FIG. 画面IMにおいて、ログの構造が可視化されて表示される様子を示す図である。It is a figure which shows a mode that the structure of a log is visualized and displayed on Screen IM. 自動解析困難な要素を含むスキーマ定義情報の一例を示す図(その1)である。It is a figure (the 1) showing an example of schema definition information containing an element difficult to be analyzed automatically. 図7に示すスキーマ定義情報に基づいて可視化情報生成部22が出力する結果表示欄A4の内容の一例を示す図である。It is a figure which shows an example of the content of result display column A4 which the visualization information production | generation part 22 outputs based on the schema definition information shown in FIG. 図7に示すスキーマ定義情報に対応するログの一例を示す図である。It is a figure which shows an example of the log corresponding to the schema definition information shown in FIG. 利用者によって追加・編集がなされる結果表示欄A4の内容の一例を示す図(その1)である。It is a figure (1) which shows an example of the contents of result display column A4 by which a user performs addition and edit. 自動解析困難な要素を含むスキーマ定義情報の一例を示す図(その2)である。It is a figure (the 2) showing an example of schema definition information containing an element difficult to be analyzed automatically. 図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 (the 2) showing an example of the contents of result display column A4 by which a user performs addition and edit. 自動解析困難な要素を含むスキーマ定義情報の一例を示す図(その3)である。It is a figure (the 3) showing an example of schema definition information containing an element which can not be analyzed automatically. 図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 (the 3) showing an example of the contents of result display column A4 by which a user performs addition and edit. ログ構造可視化装置により実行される処理の流れの一例を示すフローチャートである。It is a flowchart which shows an example of the flow of the process performed by a log structure visualization apparatus.

以下、図面を参照し、本発明のログ構造可視化装置、ログ構造可視化方法、およびプログラムの実施形態について説明する。ログ構造可視化装置は、プログラムが、プロセッサを有するコンピュータにインストールされることで実現される。ここで、インストールとは、不揮発性記憶装置に恒久的に保存されることのみならず、ウェブページに付随するプログラム(プラグイン)が端末装置にダウンロードされ、一時的に実行される状態も含むものとする。その他の態様として、ログ構造可視化装置は、クラウドサービスを提供するサーバ装置であってもよい。以下の説明では、プラグインをダウンロードした端末装置がログ構造可視化装置として動作するものとする。また、端末装置はキーボードやマウスを備えるパーソナルコンピュータであるものとするが、タッチパネルで操作されるスマートフォンやタブレット端末であってもよい。   Hereinafter, embodiments of a log structure visualization device, a log structure visualization method, and a program of the present invention will be described with reference to the drawings. The log structure visualization device is realized by a program being installed on a computer having a processor. Here, installation includes not only permanent storage in a non-volatile storage device, but also a state in which a program (plug-in) attached to a web page is downloaded to a terminal device and temporarily executed. . In 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 that has downloaded the plug-in operates as a log structure visualization device. Moreover, although a terminal device shall be a personal computer provided with a keyboard and a mouse, it may be a smart phone 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 illustrating an example of a use environment of a 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 includes a central processing unit (CPU) or other processor 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 the logs 110. Further, the first server 100 stores, in the storage unit, schema definition information 120 which is definition information of the log 110 described in text. In the following description, the term “storage unit” refers to a part or all of various storage devices such as a hard disk drive (HDD), a flash memory, a random access memory (RAM), and a read only memory (ROM). It refers to the storage unit to be

図2は、ログ110の一例を示す図である。図2に示すログ110の第1行は、”userid”=”a”、すなわち「a」というユーザIDのユーザについて、”timestamp”=”1”、すなわち時刻「1」に更新されたデータであり、”value”=”C++”、すなわち着目するデータが「C++」であることを示している。なお、図2に示すログ110は、各ユーザの好きなプログラム言語を収集したログである。 FIG. 2 shows an example of the log 110. As shown in FIG. The first line of the log 110 shown in FIG. 2 is data updated to “timestamp” = “1”, that is, time “1” for a user with a user ID of “userid” = “a”, that is, “a”. Yes, “value” = “C ++ ”, that is, the data of interest is “C ++ ”. The log 110 shown in FIG. 2 is a log in which each user's favorite program language is 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. As shown in FIG. The schema definition information 120 is described in text. The schema definition information 120 shown in FIG. 3 includes “namespace” indicating the name of one schema definition information, “type” indicating the format of the target log 110, “name” indicating the name of the schema, and the structure of the log 110. It defines "fields" etc. shown by text string.

図1に戻り、第2サーバ200は、プラグインを含むウェブページ210を提供する。また、第2サーバ200は、プラグインが実行されることで作成されたログ構造情報220を記憶部に記憶させる。   Returning to FIG. 1, the second server 200 provides a web page 210 including a plug-in. Also, 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. For example, the terminal device 10 includes 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. And a unit 26.

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

ブラウザ機能部18は、記憶部26に格納されたブラウザプログラムがプロセッサにより実行されることで実現される。ブラウザ機能部18は、利用者によって指定されたリンク先からウェブページを取得し、ウェブページに基づく画面を表示部16に表示させる。   The browser function unit 18 is realized by the processor executing a browser program stored in the storage unit 26. The browser function unit 18 acquires the web page from the 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 the processor executing a plug-in attached to the web page. Hereinafter, these functions will be described by exemplifying a screen displayed by the display unit 16.

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

画面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, a first input field A1 for directly inputting a reference destination of the schema definition information 120, and a reference destination of the schema definition information 120 are displayed in a selectable manner. A first reference specification switch S1 for the purpose, a log type specification switch S2 for specifying the type of log to be analyzed, and an analysis execution command switch S3 for instructing 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 log based on a specific symbol or text string included in the schema definition information 120, or schema definition information or 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 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. A second reference specification switch S4 for importing the data and an import specification switch S5 for specifying import of the analysis result are included.

また、画面IMには、テキストボックスA3、および、解析結果を表示する結果表示欄A4が含まれる。なお、図5の状態は、新規解析または既存結果取得が行われる前の状態を示しているため、結果表示欄A4は空欄となっている。   The screen IM further includes a text box A3 and a result display field A4 for displaying the analysis result. In addition, since the state of FIG. 5 has shown the state before new analysis or existing result acquisition is performed, 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 log for which the structure is to be analyzed (hereinafter referred to as the target log) is (1) by inputting the identification information of the storage destination folder of the first server 100 in the first input field A1, or (2) It is acquired by selecting one folder from list information of storage destination folders of the first server 100 displayed by operating the first reference designation switch S1. When any of the above operations is performed, the schema definition information acquisition unit 20 requests the first server 100 to transmit the corresponding schema definition information 120 and an example of the log 110 corresponding thereto. 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から取得したものではないもの)が入力されてもよい。以下、これらを区別しないために、単にログ、或いはスキーマ定義情報と表記する。   Note that, instead of such processing, the log and schema definition information (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 these, it is simply described as a log or schema definition information.

テキストボックスA3にスキーマ定義情報が表示された状態で解析実行スイッチS3が操作されると、可視化情報生成部22が、スキーマ定義情報に基づいて、スキーマ定義情報で定義されるログの構造を可視化して表示するための情報を生成する。具体的には、可視化情報生成部22は、結果表示欄A4の欄内に表示する情報を生成し、画面IMに追加する。   When the analysis execution switch S3 is operated with the schema definition information 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 field A4, and adds the information to the screen IM.

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

図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 adds the “field name” corresponding to “name” grasped from the part subordinate to “fields” of the schema definition information and the “type” corresponding to “type”. Then, the logs are structured and displayed on the display unit 16. The type is, for example, information indicating whether it is a string type (string type) or a long type (numeric type).

[追加、編集]
図6における「フィールド説明」の項目は、可視化情報生成部22によって自動的に生成されるのではなく、利用者によって入力されてよい。利用者は、テキストボックスA3をみながら結果表示欄A4の各フィールドに該当する情報を入力する。また、図中、string(100)と示しているように、その項目の最大の長さが判明している場合、利用者によって小括弧およびその内容が追加されてよい。なお、図6以下の説明において、結果表示欄A4の中で下線が付されているものは、可視化情報生成部22によって自動的に生成されるのではなく、利用者によって入力される情報を示すものとする。
[Add, Edit]
The item of "field description" in FIG. 6 may not be automatically generated by the visualization information generation unit 22, but may be input by the user. The user inputs the information corresponding to each field of the result display field A4 while looking at the text box A3. Also, as indicated by string (100) in the figure, when the maximum length of the item is known, the parenthesis and its contents may be added by the user. In the following description of FIG. 6, those underlined in the result display field 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 and the like are set around the result display field 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. The uploaded information is 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を、他の利用者が閲覧することができる。
[Obtain existing result]
Returning to FIG. 5, the log structure information 220 is (1) the identification information of the storage destination folder of the second server 200 is input to the second input field A2, or (2) the second reference designation switch S4 is operated It is acquired by selecting one folder from the list information of the storage destination folder 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 field A4. Such a function allows another user to view log structure information 220 edited by a certain user.

[応用的な例]
以下、更に応用的な例について説明する。図7は、自動解析困難な要素を含むスキーマ定義情報の一例を示す図(その1)である。これまで例示しているログの規則によれば、型のうちmapと表記されているものは、その中に更に下位の階層の項目を含むことを示している。図8は、図7に示すスキーマ定義情報に基づいて可視化情報生成部22が出力する結果表示欄A4の内容の一例を示す図である。mapについては、項目の最大数が規定されるため、中括弧内に最大数の入力を促すために、可視化情報生成部22は、map{}という表示を表示部16に行わせる。
[Applied example]
Hereinafter, further applied examples will be described. FIG. 7 is a diagram (part 1) illustrating an example of schema definition information including an element difficult to be automatically analyzed. According to the log rules exemplified so far, among the types, those described as map indicate that the items in the further lower hierarchy are included therein. FIG. 8 is a diagram showing an example of the content of the result display field A4 output by the visualization information generation unit 22 based on the schema definition information shown in FIG. As for the map, since the maximum number of items is defined, the visualization information generation unit 22 causes the display unit 16 to display map {} in order to prompt the maximum number of inputs in the 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. The user adds and edits the result display field A4 while looking at this log. FIG. 10 is a diagram (part 1) showing an example of the contents of the result display field A4 to be added and edited by the user. First, the user recognizes that there are two items like like and dislike in the value, and enters "2" in the braces of map {}. Then, the visualization information generation unit 22 automatically adds two lines for inputting the lower hierarchy of value. Note that a switch for instructing addition of a row may be provided on the screen IM. In addition, the visualization information generation unit 22 automatically determines that the two items of like and dislike exist in the value based on the presence of “,” in {} immediately after the value, etc. 2) may be displayed automatically, 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 contents of the result display field A4 by adding the information of the underlined part other than "2". Note that for the types of items value.like and value.dislike, it is defined that the type of the upper-level map is string in the schema definition information, so visualization information is generated at the stage when the row is automatically added. A process of automatically adding and displaying is performed by the unit 22 (automatic replenishment of the content described later).

図11は、自動解析困難な要素を含むスキーマ定義情報の一例を示す図(その2)である。また、図12は、図11に示すスキーマ定義情報に対応するログの一例を示す図である。このスキーマ定義情報は、mapの下位の階層に、更にmapを含むものである。この場合の結果表示欄A4の追加・編集手順は、図13に示すような流れで行われる。図13は、利用者によって追加・編集がなされる結果表示欄A4の内容の一例を示す図(その2)である。この場合、図10を用いて説明したような作業を2回繰り返すことで、結果表示欄A4が完成する。   FIG. 11 is a diagram (part 2) illustrating an example of schema definition information including an element difficult to be automatically analyzed. FIG. 12 is a diagram showing an example of a log corresponding to the schema definition information shown in FIG. This schema definition information further includes map in the hierarchy below map. The addition and editing procedure of the result display field A4 in this case is performed in the flow as shown in FIG. FIG. 13 is a diagram (part 2) illustrating an example of the content of the result display field A4 to be added and edited by the user. In this case, the result display field A4 is completed by repeating the operation 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 (part 3) illustrating an example of schema definition information including an element that is difficult to automatically analyze. FIG. 15 is a diagram showing an example of a log corresponding to the schema definition information shown in FIG. This schema definition information contains array in the type. The array indicates a structure including a plurality of arrays having different labels. The addition / editing procedure of the result display field A4 in this case is performed in the flow as shown in FIG. FIG. 16 is a diagram (part 3) showing an example of the content of the result display field A4 to be added and edited by the user. In this log structure, "a favorite object" has a plurality of different data series, which is represented by an array. Therefore, when a numerical value is input in the 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 schema definition information and a log (S100), and displays them in a text box (S102). Next, the log structure visualization device determines whether analysis execution has been instructed (S104).

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

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

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

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

以上、本発明を実施するための形態について実施形態を用いて説明したが、本発明はこうした実施形態に何等限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々の変形及び置換を加えることができる。   As mentioned above, although the form for carrying out the present invention was explained using an embodiment, the present invention is not limited at all by such an embodiment, and various modification and substitution within the range which does not deviate from the gist of the present invention Can be added.

10 端末装置
12 通信部
14 入力部
16 表示部
18 ブラウザ機能部
20 スキーマ定義情報取得部
22 可視化情報生成部
24 情報管理部
26 記憶部
100 第1サーバ
200 第2サーバ
Reference Signs List 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 for acquiring log definition information described in text;
A generation unit that generates information for visualizing and displaying the structure of the log defined by the definition information of the log based on the definition information of the log acquired by the acquisition unit;
Log structure visualization device comprising:
前記生成部は、前記ログの定義情報に含まれる特定の記号の位置を基準として、前記ログの構造を認識する、
請求項1記載のログ構造可視化装置。
The generation unit recognizes the structure of the log on the basis of 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 performs addition or editing on the generated information based on an input operation performed on the input unit.
The log structure visualization device according to claim 1 or 2.
前記生成部は、更に、前記入力部に対して入力操作がなされるのに応じて、前記入力部に対してなされた入力操作と前記ログの定義情報とに基づいて自動的に補充可能な内容を、前記生成した情報に対して追加する、
請求項3記載のログ構造可視化装置。
The generation unit is further capable of automatically replenishing the content 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 the log defined by the definition information of the log based on the definition information of the log acquired by the acquisition unit, and the structure of the log is determined 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 the log defined by 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. Generate information for
The log structure visualization device according to any one of claims 1 to 4.
前記生成部により生成された情報を、識別情報と共に記憶部に記憶させ、識別情報を指定したリクエストに応答して前記記憶部から情報を読み出して返信する情報管理部を更に備える、
請求項1から6のうちいずれか1項記載のログ構造可視化装置。
The information generation unit further includes an information management unit which stores the information generated by the generation unit in the storage unit together with the identification information, reads out information from the storage unit in response to the request specifying the identification information, and returns the information.
The log structure visualization device according to any one of claims 1 to 6.
コンピュータが、
テキストで記述されたログの定義情報を取得し、
前記取得したログの定義情報に基づいて、前記ログの定義情報で定義されるログの構造を可視化して表示するための情報を生成する、
ログ構造可視化方法。
The computer is
Get log definition information described in text,
The information for visualizing and displaying the structure of the log defined by the definition information of the log is generated based on the acquired definition information of the log,
Log structure visualization method.
コンピュータに、
テキストで記述されたログの定義情報を取得させ、
前記取得させたログの定義情報に基づいて、前記ログの定義情報で定義されるログの構造を可視化して表示するための情報を生成させる、
プログラム。
On the computer
Get the log definition information described in text,
Based on the acquired definition information of the log, generate information for visualizing and displaying the structure of the log defined by the definition information of the log,
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 true JP2018180979A (en) 2018-11-15
JP7023612B2 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, JPN6021011347, 8 September 2016 (2016-09-08), ISSN: 0004629209 *
"Visual XML Schema Diagram Editor [online]", INTERNET ARCHIVE"WAYBACK MACHINE, JPN6021011344, 5 September 2015 (2015-09-05), ISSN: 0004629207 *
"Visual XML Schema Editor [online]", INTERNET ARCHIVE"WAYBACK MACHINE, JPN6021011345, 5 September 2015 (2015-09-05), ISSN: 0004629208 *
KANG, M., ET AL.: "SM-GUI: A Grid-Based XML Schema Management GUI", 2007 INTERNATIONAL CONFERENCE ON CONVERGENCE INFORMATION TECHNOLOGY (ICCIT 2007) [ONLINE], JPN6021043610, 21 November 2007 (2007-11-21), pages 2187 - 2192, XP031225522, ISSN: 0004629210 *

Also Published As

Publication number Publication date
JP7023612B2 (en) 2022-02-22

Similar Documents

Publication Publication Date Title
US11797532B1 (en) Dashboard display using panel templates
US9652441B2 (en) System and method for creation of templates
KR101409673B1 (en) Persistent saving portal
JP5911594B2 (en) Providing translation support for application localization
US8578328B2 (en) Method for presenting candidate for link target to component in web application, as well as computer program and computer system for the same
JP5642984B2 (en) Discovery, organization and processing of trail-based data content
JP6764115B2 (en) Display program, display method and display device
KR102024998B1 (en) Extracting similar group elements
US10002117B1 (en) Translating annotation tags into suggested markup
US20140324518A1 (en) Autotagging business processes
CN111198852A (en) Knowledge graph driven metadata relation reasoning method under micro-service architecture
US8230319B2 (en) Web-based visualization, refresh, and consumption of data-linked diagrams
JP6500908B2 (en) Data acquisition program, data acquisition method and data acquisition apparatus
JP2005242904A (en) Document group analysis device, document group analysis method, document group analysis system, program and storage medium
US20140201608A1 (en) Method and system for generating a document from multiple sources
JP2011186768A (en) File management system, information processor, and information processing method
Schlegel et al. Balloon synopsis: A modern node-centric RDF viewer and browser for the web
TW200841194A (en) Using structured data for online research
JP7023612B2 (en) Log structure visualization device, log structure visualization method, and program
JP5134639B2 (en) Client apparatus, display method, program, information processing apparatus, and information processing system
JP2009169596A (en) Genealogy image creating device, genealogy image creating method, and program
JP2004326626A (en) Structured document file management system and structured document file management method
JPWO2007046446A1 (en) Data management device and terminal device
CN113918142B (en) Data acquisition task code generation method, device and computer equipment
JP6287267B2 (en) Comment management system, comment management method, and program thereof

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