UiPath Documentation
insights
2024.10
false

Insights ユーザー ガイド

最終更新日時 2026年5月7日

リアルタイムのデータ エクスポートのデータ モデル

概要

システムの変更はすべて、JSON 形式で記録されたイベントで表されます。

次のイベントの種類がサポートされています。

  • ジョブを示すイベント:
    • job.created
    • job.started
    • job.stopped
    • job.pending
    • job.completed
    • job.faulted
    • job.stopping
    • job.terminating
  • キュー アイテムを示すイベント:
    • queueitem.added
    • queueItem.deferred
    • queueItem.reviewStatusChanged
    • queueItem.retried
    • queueItem.updated
    • queueItem.transactionAbandoned
    • queueItem.transactionCompleted
    • queueItem.transactionFailed
    • queueItem.transactionRetried
    • queueItem.transactionStarted
      注:

      以下のフィールドが [ queueItem.deferred ] イベントと [ queueItem.reviewStatusChanged ] イベントから削除されます。

      • 固有データ
      • SpecificContent
      • 出力
  • マシンを示すイベント:
    • machine.created
    • machine.updated
    • machine.deleted
    • machineSession.status
    • machine.assign
    • machine.unassign
  • ロボット ログを記述するイベントです。
    • robotlog

異なるイベントは、異なるエンティティおよびシステムの変更を表すため、内容 (JSON フィールド) も異なります。

イベントの形式とスキーマ

各イベントは JSON 形式で提供され、以下があります。

  • イベント固有の本文
  • 共通フィールド
  • メタデータ

理解を深めるために、次の例で job.created イベントを確認してください。この例は、読みやすくするために、各セクションを説明する改行とコメントで書式設定されています。実際のイベントにはこの形式はなく、1 行の文字列として配信されます。

{
    /*********************
            event-specific body
    **********************/
    "body": {
        "Job": {
            "Key": "<job-key>",
            "CreationTime": null,
            "State": "Pending",
            "StartTime": "<job-start-time>",
            "EndTime": null,
            "ProcessName": "<process-name>",
          "DisplayName": "<display-name>",
            "RobotName": "<robot-name>",
            "HostMachineName": "<host-machine-name>"
        },
    /*********************
            common fields
    **********************/
        "EventType": "job.started",
        "SchemaVersion": "0.0.1",
        "Timestamp": "<timestamp>",
        "TenantKey": "<tenant-key>",
        "TenantName": "<tenant-name>",
        "FolderName": "<folder-name>",
        "FullFolderPath": "<folder-path>",
        "FolderKey": "<folder-key>"
        },
    /*********************
            metadata
    **********************/
    "x-opt-sequence-number": <sequence-number>,
    "x-opt-offset": "<offset>",
    "x-opt-enqueued-time": <enqueued-time>,
    "Diagnostic-Id": "<diagnostic-id>"
}
{
    /*********************
            event-specific body
    **********************/
    "body": {
        "Job": {
            "Key": "<job-key>",
            "CreationTime": null,
            "State": "Pending",
            "StartTime": "<job-start-time>",
            "EndTime": null,
            "ProcessName": "<process-name>",
          "DisplayName": "<display-name>",
            "RobotName": "<robot-name>",
            "HostMachineName": "<host-machine-name>"
        },
    /*********************
            common fields
    **********************/
        "EventType": "job.started",
        "SchemaVersion": "0.0.1",
        "Timestamp": "<timestamp>",
        "TenantKey": "<tenant-key>",
        "TenantName": "<tenant-name>",
        "FolderName": "<folder-name>",
        "FullFolderPath": "<folder-path>",
        "FolderKey": "<folder-key>"
        },
    /*********************
            metadata
    **********************/
    "x-opt-sequence-number": <sequence-number>,
    "x-opt-offset": "<offset>",
    "x-opt-enqueued-time": <enqueued-time>,
    "Diagnostic-Id": "<diagnostic-id>"
}

共通フィールド

共通フィールドはすべてのイベントに表示されます。

名前入力説明
イベントの種類stringイベントの種類です。
SchemaVersionstringスキーマのバージョンです。バージョンが異なると、サポートされるイベントの種類やフィールドが異なる可能性があります。
Timestamptimestampイベントの UTC タイムスタンプです。
TenantKeyGuidイベントを生成したテナントの一意の識別子です。
テナント名stringイベントを生成したテナントの名前です。
フォルダー名stringイベントが生成された Orchestrator フォルダーの名前です。
FullFolderPathstringフォルダーが別のフォルダーのサブフォルダーである場合、このフィールドにはフル パスが表示されます。
FolderKeyGuidフォルダーの一意の識別子です。
{
    "EventType": "queueItem.transactionCompleted",
    "SchemaVersion": "0.0.1",
    "Timestamp": "<timestamp>",
    "TenantKey": "<tenant-key>",
    "TenantName": "<tenant-name>",
    "FolderName": "<folder-name>",
    "FullFolderPath": "<folder-path>",
    "FolderKey": "<folder-key>"
}
{
    "EventType": "queueItem.transactionCompleted",
    "SchemaVersion": "0.0.1",
    "Timestamp": "<timestamp>",
    "TenantKey": "<tenant-key>",
    "TenantName": "<tenant-name>",
    "FolderName": "<folder-name>",
    "FullFolderPath": "<folder-path>",
    "FolderKey": "<folder-key>"
}

ジョブイベント

名前入力説明
キーGuidジョブの一意の識別子です。
作成時刻timestampジョブが作成された日時を示すタイムスタンプです。
開始時刻timestampジョブが開始した日時を示すタイムスタンプです。
終了時刻timestampジョブが完了した日時を示すタイムスタンプです。
ステートstringジョブのステートです。サポートされている値:
  • Pending
  • Running
  • Stopping
  • Terminating
  • Faulted
  • Successful
  • Stopped
  • Suspended
  • Resumed
プロセス名stringジョブの作成元のパッケージの名前です。
表示名stringOrchestrator でプロセスに指定した名前です。
ロボット名stringジョブを実行しているロボットの名前です。
ホスト マシン名stringジョブが実行されているマシンです。
{
    "body": {
        "Job": {
        "Key": "<job-key>",
        "CreationTime": "<creation-time>",
        "State": "Running",
        "StartTime": "<start-time>",
        "EndTime": null,
        "ProcessName": "<process-name>",
        "DisplayName": "<display-name>",
        "RobotName": "<robot-name>",
        "HostMachineName": "<host-machine-name>",
    },
    ... common fields ...
    "EventType": "job.started",
    ... more common fields ...
}
{
    "body": {
        "Job": {
        "Key": "<job-key>",
        "CreationTime": "<creation-time>",
        "State": "Running",
        "StartTime": "<start-time>",
        "EndTime": null,
        "ProcessName": "<process-name>",
        "DisplayName": "<display-name>",
        "RobotName": "<robot-name>",
        "HostMachineName": "<host-machine-name>",
    },
    ... common fields ...
    "EventType": "job.started",
    ... more common fields ...
}

QueueItem イベント

名前入力説明
QueueItemJSON オブジェクト
キーGuidキュー アイテムの一意の識別子です。
QueueDefinitionIdnumberキュー アイテムが属するキューの数値識別子です。
ステータスstringキュー アイテムのステータスです。サポートされている値:
  • New
  • InProgress
  • Failed
  • Successful
  • Abandoned
  • Retried
  • Deleted
  • Unknown
レビュー ステータスstringキュー アイテムのレビュー ステータスです。サポートされている値:
  • None
  • InReview
  • Verified
  • Retried
  • Unknown
期限日datetimeアイテムが処理されなければならない最遅の日時です。
優先度stringキュー アイテムの優先度です。サポートされている値:
  • High
  • Normal
  • Low
  • Unknown
作成時刻datetimeキュー アイテムが作成された日時を示すタイムスタンプです。
処理の開始時刻datetimeキュー アイテムが処理を開始した日時を示すタイムスタンプです。
処理の終了時刻datetimeキュー アイテムの処理が (成功か失敗かにかかわらず) 完了した日時を示すタイムスタンプです。
DefferDatedatetimeアイテムが処理可能な最短の日時です。空白の場合は、アイテムを可能な限り早く処理できます。
過去の試行 (秒)number失敗した最後の処理試行が継続した秒数です。
リトライ回数numberこのキュー アイテムが処理された回数です。
進行状況string開発者が UiPath Studio で追加した String 型のファイルです。ビジネス フローの進行状況を追跡するために使用されます。
分析データstring開発者が Studio で [トランザクションのステータスを設定] アクティビティを使用して追加した Analytics プロパティのデータを含むキーと値のペアのコレクションです。
出力string開発者が Studio で [トランザクションのステータスを設定] アクティビティを使用して追加した Output プロパティのデータを含むキーと値のペアのコレクションです。
固有データstring開発者が [トランザクションのステータスを設定] アクティビティを介して Studio で追加した Specific Content プロパティのデータを含む、キーと値のペアのコレクションです。UiPath Studio の [キュー アイテムを追加] アクティビティで設定した、カスタム データを含む、キーと値の組み合わせの集合です。
作成ジョブ IDnumberキュー アイテムを作成したジョブの ID です。
実行ジョブ IDnumberキュー アイテムを実行したジョブの ID です。
ProcessExceptionReasonstringキュー アイテムの処理が失敗した理由の概要です。
ProcessExceptionDetailsstringキュー アイテムの失敗に関するその他の詳細です。
ProcessExceptionTypestringエラーで終了したキュー アイテムの場合、このフィールドにエラー (例外) の種類が表示されます。サポートされている値:
  • ApplicationException
  • BusinessException
  • None
キューJSON オブジェクト
キーGuidキューの一意の識別子です。
名前stringキューの名前です。
説明stringキューに関する追加情報です。キューを特定しやすくします。
MaxNumberOfRetriesnumberこのキュー内のアイテムの処理に失敗した場合にアイテムをリトライできる回数です。
EnforceUniqueReferencebooleanItem Reference フィールドがキュー アイテムごとに一意であるかどうかを示します。
SlaInMinutesnumberキュー SLA を表す整数値 (分単位) です。
RiskSlaInMinutesnumberキューのリスク SLA を表す整数値 (分単位) です。
{
    "body": {
        "QueueItem": {
            "Key": "<queue-item-key>",
            "QueueDefinitionId": <queue-definition-id>,
          "Status": "New",
            "ReviewStatus": "None",
            "DueDate": "<due-date>",
            "Priority": "High",
            "CreationTime": "<creation-time>",
            "StartProcessing": "<start-processing-time>",
            "EndProcessing": null,
            "DefferDate": "<deffer-time>",
            "SecondsInPreviousAttempt": 0,
            "RetryNumber": 1,
            "Progress": "<progress>",
            "ProcessExceptionReason": null,
            "ProcessExceptionDetails": null,
            "ProcessExceptionType": null
        },
        "Queue": {
            "Key": "<queue-key>",
            "Name": "<queue-name>",
            "Description": "<queue-description>",
            "MaxNumberOfRetries": 1,
            "EnforceUniqueReference": false,
            "SlaInMinutes": 0,
            "RiskSlaInMinutes": 0
        },
    },
    ... common fields ...
}
{
    "body": {
        "QueueItem": {
            "Key": "<queue-item-key>",
            "QueueDefinitionId": <queue-definition-id>,
          "Status": "New",
            "ReviewStatus": "None",
            "DueDate": "<due-date>",
            "Priority": "High",
            "CreationTime": "<creation-time>",
            "StartProcessing": "<start-processing-time>",
            "EndProcessing": null,
            "DefferDate": "<deffer-time>",
            "SecondsInPreviousAttempt": 0,
            "RetryNumber": 1,
            "Progress": "<progress>",
            "ProcessExceptionReason": null,
            "ProcessExceptionDetails": null,
            "ProcessExceptionType": null
        },
        "Queue": {
            "Key": "<queue-key>",
            "Name": "<queue-name>",
            "Description": "<queue-description>",
            "MaxNumberOfRetries": 1,
            "EnforceUniqueReference": false,
            "SlaInMinutes": 0,
            "RiskSlaInMinutes": 0
        },
    },
    ... common fields ...
}

マシン セッション イベント

名前入力説明
マシン キーGuidマシンの一意の識別子です。
マシン名stringマシンのカスタム名です。
ホスト マシン名stringUiPath マシンにマッピングされているホスト マシンの名前です。
サービス ユーザー名stringマシン上の Robot サービスの実行に使用されているユーザーの名前です。
マシンのステータスstringマシンのステータスです。サポートされている値:
  • Available
  • Busy
  • Disconnected
  • Unknown
Timestampdatetimeマシン セッション イベントのタイムスタンプです。
IsUnresponsivebooleanマシンが Orchestrator からの接続に応答するかどうかを確認するためのチェックです。サポートされている値:
  • true
  • false A machine can still be available but be unresponsive. Once it is unresponsive for ten minutes, it becomes disconnected or unknown.
{
    "body": {
        "MachineSession": {
            "MachineKey": "<machine-key>",
            "MachineName": "<machine-name>",
            "MachineId": <machine-id>,
            "HostMachineName": "<host-machine-name>",
            "ServiceUsername": "<service-username>",
            "MachineStatus": "Disconnected",
            "ReportingTime": "<reporting-time>",
            "IsUnresponsive": false
        },
        ... common fields ...
        "EventType":"machineSession.status",
        ... more common fields ...
}
{
    "body": {
        "MachineSession": {
            "MachineKey": "<machine-key>",
            "MachineName": "<machine-name>",
            "MachineId": <machine-id>,
            "HostMachineName": "<host-machine-name>",
            "ServiceUsername": "<service-username>",
            "MachineStatus": "Disconnected",
            "ReportingTime": "<reporting-time>",
            "IsUnresponsive": false
        },
        ... common fields ...
        "EventType":"machineSession.status",
        ... more common fields ...
}

マシン イベント

名前入力説明
AutomationCloudSlotsnumber実行時に確保される Automation Cloud<b>TM</b> のスロットの数です。
HeadlessSlotsnumber実行時に確保されるヘッドレス スロットの数です。
マシン IDnumberマシンの整数 ID です。Orchestrator インスタンスごとに一意です。
マシン キーGuidマシンの一意の識別子です。
マシン名stringマシンのカスタム名です。
NonProductionSlotsnumber実行時に確保される NonProduction スロットの数です。
UnattendedSlotsnumber実行時に確保される Unattended スロットの数です。
{
    "body": {
        "Machine": {
            "MachineName": "<machine-name>",
            "MachineKey": "<machine-key>",
            "NonProductionSlots": 1,
            "HeadlessSlots": 0,
            "AutomationCloudSlots": 0,
            "UnattendedSlots": 0
        },
        ... common fields ...
}
{
    "body": {
        "Machine": {
            "MachineName": "<machine-name>",
            "MachineKey": "<machine-key>",
            "NonProductionSlots": 1,
            "HeadlessSlots": 0,
            "AutomationCloudSlots": 0,
            "UnattendedSlots": 0
        },
        ... common fields ...
}

マシンの割り当てイベント

名前入力
マシン キーGuidマシンの一意の識別子です。
マシン名stringマシンのカスタム名です。
{
    "body": {
        "MachineAssign": {
            "MachineKey": "<machine-key>",
            "MachineName": "<machine-name>"
        },
        "EventType": "machine.unassigned",
        ... common fields ...
    }
}
{
    "body": {
        "MachineAssign": {
            "MachineKey": "<machine-key>",
            "MachineName": "<machine-name>"
        },
        "EventType": "machine.unassigned",
        ... common fields ...
    }
}

ロボット ログ

名前入力説明
ファイル名string実行されている .xaml ファイルの名前です。
initiatedBystring実行のソースです。予想される値:
  • Assistant
  • Studio
  • StudioX
  • StudioPro
  • Orchestrator
  • CommandLine
  • RobotAPI
ジョブ IDstring/guidJobKey です。ジョブの一意の識別子です。
レベルstringログのログ レベルです。予想される値:
  • Trace
  • Info
  • Warn
  • Error
  • Fatal
ログの種類stringロボット ログの種類です。予想される値:
  • User
  • Default
  • Error
  • Business
  • ExecutionStep
  • BusinessIteration
  • Info
  • Security
  • Technical
マシン IDnumberマシンの整数 ID です。Orchestrator インスタンスごとに一意です。
マシン名stringマシンのカスタム名です。
メッセージstringロボット ログのメッセージです。予想される値:
  • execution started
  • execution ended
  • custom message
プロセス名stringロボットが実行しているプロセスの名前です。
プロセス バージョンstringプロセスのバージョンです。
ロボット名stringロボットの名前です。
Windows IDstring記録されたアクションを実行したユーザーの名前です。
ProcessingExceptionReasonstring例外の理由です。Transaction End ログにのみ存在します。
プロセスの例外の種類string例外の種類です。Transaction End ログにのみ存在します。予想される値:
  • ApplicationException
  • BusinessException
queueItemPrioritystringキュー アイテムの優先度です。Transaction End ログにのみ存在します。予想される値:
  • High
  • Normal
  • Low
queueItemReviewStatusstringキュー アイテムのレビュー ステータスです。Transaction End ログにのみ存在します。予想される値:
  • InReview
  • Verified
  • Reported
  • Retried
QueueNamestringロボットがキュー アイテムを実行するキュー名です。
トランザクション実行時間numberトランザクションの実行時間 (秒単位) です。キュー アイテムを処理する場合にのみ値があります。
トランザクション IDstring/Guidトランザクションの一意のキーです。キュー アイテムを処理する場合にのみ値があります。
transactionStatestringトランザクションのステートです。キュー アイテムを処理する場合にのみ値があります。予想される値:
  • Started
  • Ended
  • Postponed
transactionStatusstringトランザクションのステータスです。キュー アイテムを処理する場合にのみ値があります。予想される値:
  • ApplicationException
  • Start
  • SystemError
  • Failed
  • BusinessException
  • Success
  • InProgress
totalExecutionTimeInSecondsnumberトランザクションの実行時間 (秒単位) です。キュー アイテムを処理する場合にのみ値があります。
アクティビティ情報JSONアクティビティ情報の JSON です。DisplayNameState (FaultedClosedExecuting)、Activity、および Arguments が含まれます。
Timestampdatetimeイベントが生成された時刻です。
マシン キーGuidジョブを実行しているマシンの一意の識別子です。
カスタム フィールドJSONStudio で [ログ フィールドを追加] アクティビティに定義したフィールドを含む JSON です。
{
    "body": {
        "Level": "Info",
        "MachineKey": "<machine-key>",
        "RobotLog": {
            "Message": "Transaction Ended",
            "Level": "Information",
            "LogType": "Default",
            "CustomFields": {
                "Custom fields 1": "value1",
                "Custom fields 2": 2,
            },
        "TimeStamp": "<timestamp>",
        "Fingerprint": "<fingerprint>",
        "WindowsIdentity": "<windows-identity>",
        "MachineName": "<machine-name>",
        "FileName": "<filename>",
        "TransactionExecutionTime": 0.6733966,
        "QueueItemPriority": "Normal",
        "ProcessingExceptionReason": "",
        "TransactionStatus": "Successful",
        "QueueName": "<queue-name>",
        "TransactionState": "Ended",
        "ProcessingExceptionType": "",
        "TransactionId": "<transaction-id>",
        "QueueItemReviewStatus": "None",
        "ProcessName": "<process-name>",
        "ProcessVersion": "1.0.6",
        "JobId": "<job-id>",
        "RobotName": "<robot-name>",
        "MachineId": <machine-id>,
        "OrganizationUnitId": <organization-unit-id>
        },
        "EventType": "robotlog",
        ... common fields ...
    },
}
{
    "body": {
        "Level": "Info",
        "MachineKey": "<machine-key>",
        "RobotLog": {
            "Message": "Transaction Ended",
            "Level": "Information",
            "LogType": "Default",
            "CustomFields": {
                "Custom fields 1": "value1",
                "Custom fields 2": 2,
            },
        "TimeStamp": "<timestamp>",
        "Fingerprint": "<fingerprint>",
        "WindowsIdentity": "<windows-identity>",
        "MachineName": "<machine-name>",
        "FileName": "<filename>",
        "TransactionExecutionTime": 0.6733966,
        "QueueItemPriority": "Normal",
        "ProcessingExceptionReason": "",
        "TransactionStatus": "Successful",
        "QueueName": "<queue-name>",
        "TransactionState": "Ended",
        "ProcessingExceptionType": "",
        "TransactionId": "<transaction-id>",
        "QueueItemReviewStatus": "None",
        "ProcessName": "<process-name>",
        "ProcessVersion": "1.0.6",
        "JobId": "<job-id>",
        "RobotName": "<robot-name>",
        "MachineId": <machine-id>,
        "OrganizationUnitId": <organization-unit-id>
        },
        "EventType": "robotlog",
        ... common fields ...
    },
}

このページは役に立ちましたか?

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得