Common Base Event 構造
Common Base Event は、イベントの共通構造です。 これは、イベントの共通フィールド、共通フィールドに指定できる値、および各値の正確な意味が定義されます。
Common Base Event には、いくつかの構造化エレメントが含まれます。
これらのエレメントには、以下のものがあります。
- 共通ヘッダー情報
- ソースとレポーターの両方のコンポーネントの識別
- 状態に関する情報
- メッセージ・データ
- 拡張データ
- コンテキスト・データ
- 関連付けされたイベントおよび関連エンジン
以下の表は、Common Base Event のすべてのフィールドの要約、および問題判別イベントにおけるその使用要件を示したものです。
フィールド名 | ログ・イベント | 基本仕様 |
---|---|---|
Version | 必須 | 必須 |
creationTime | 必須 | 必須 |
severity | 必須 | オプション |
Msg | 必須 | オプション |
sourceComponentId* | 必須 | 必須 |
sourceComponentId.location | 必須 | 必須 |
sourceComponentId.locationType | 必須 | 必須 |
sourceComponentId.component | 必須 | 必須 |
sourceComponentId.subComponent | 必須 | 必須 |
sourceComponentId.componentIdType | 必須 | 必須 |
sourceComponentId.componentType | 必須 | 必須 |
sourceComponentId.application | 推奨 | オプション |
sourceComponentId.instanceId | 推奨 | オプション |
sourceComponentId.processId | 推奨 | オプション |
sourceComponentId.threadId | 推奨 | オプション |
sourceComponentId.executionEnvironment | オプション | オプション |
situation* | 必須 | 必須 |
situation.categoryName | 必須 | 必須 |
situation.situationType* | 必須 | 必須 |
situation.situationType.reasoningScope | 必須 | 必須 |
situation.situationType.(特定の状況型のエレメント) | 必須 | 必須 |
msgDataElement* | 推奨 | オプション |
msgDataElement .msgId | 推奨 | オプション |
msgDataElement .msgIdType | 推奨 | オプション |
msgDataElement .msgCatalogId | 推奨 | オプション |
msgDataElement .msgCatalogTokens | 推奨 | オプション |
msgDataElement .msgCatalog | 推奨 | オプション |
msgDataElement .msgCatalogType | 推奨 | オプション |
msgDataElement .msgLocale | 推奨 | オプション |
extensionName | 推奨 | オプション |
localInstanceId | オプション | オプション |
globalInstanceId | オプション | オプション |
priority | 推奨されない | オプション |
repeatCount | オプション | オプション |
elapsedTime | オプション | オプション |
sequenceNumber | オプション | オプション |
reporterComponentId* | オプション | オプション |
reporterComponentId.location | 必要 (2) | 必要 (2) |
reporterComponentId.locationType | 必要 (2) | 必要 (2) |
reporterComponentId.component | 必要 (2) | 必要 (2) |
reporterComponentId.subComponent | 必要 (2) | 必要 (2) |
reporterComponentId.componentIdType | 必要 (2) | 必要 (2) |
reporterComponentId.componentType | 必要 (2) | 必要 (2) |
reporterComponentId.instanceId | オプション | オプション |
reporterComponentId.processId | オプション | オプション |
reporterComponentId.threadId | オプション | オプション |
reporterComponentId.application | オプション | オプション |
reporterComponentId.executionEnvironment | オプション | オプション |
extendedDataElements* | 注 3 | オプション |
contextDataElements* | 注 4 | オプション |
associatedEvents* | 注 5 | オプション |
- アスタリスク (*) を伴う項目は、サブエレメントおよび属性から成るエレメントです。 これらのエレメント にあるフィールドは、直接親エレメント名に従い、テーブルにリストさ れます。
- エレメントのいくつかはオプションですが、組み込まれる場合には、必要なサブエレメントと属性を組み込みます。 例えば、reporterComponentId エレメントは ComponentIdentification タイプを持ちます。 ComponentIdentification でのコンポーネント属性は必須です。したがって、reporterComponentId.component 属性は、reporterComponentId 親エレメントが組み込まれる場合のみ必要になります。
- extendedDataElements エレメントは、複数回組み込まれ、拡張データ情報を提供します。必須および推奨の拡張データ・エレメント値について詳しくは、拡張データのセクションを参照してください。
- contextDataElements エレメントは、複数回組み込まれ、コンテキスト・データ情報を提供します。
- associatedEvents エレメントは、複数回組み込まれ、相関データを提供します。問題判別データの プロデューサーに対して推奨されるこのエレメントの使用法はなく、使用しないことをお勧めします。