通知を受け取る

UiPath Insights

The UiPath Insights Guide

SSIS パッケージをデプロイしてデータをエクスポートする

概要


ここでは、SQL Server Integration Services (SSIS) パッケージをデプロイして、Insights のデータ モデルの構造を保持したデータをエクスポートする方法を説明します。エクスポートを頻繁に実行するようにスケジュールしなければ、フラット ファイルへのエクスポートが一度だけ実行されて、そのファイルをレポート ツールのデータ ソースとして使用できます。各月についてテーブル (ジョブ、キューなど) ごとにファイルが 1 つ生成されます。

📘

ロボット ログとキューからのカスタム変数は、まだサポートされていません。

前提条件


Integration Services (SSIS) must be installed on your SQL Server (see Install Integration Services (SSIS)).

集計メトリック


以下のメトリックは集計されており、実行時にエクスポートすることはできませんが、エクスポート内の他のデータから計算できます。このようなメトリックを Insights と同じように表示するには、エクスポート先のツールでクエリ/集計関数を使用してください。

MetricQuery/aggregate functionDescription
Processes Ransum ( job id)The number of processes that have been executed.
Successful Jobssum ( job_state = “successful“)The number of jobs that have been successfully executed.
Faulted Jobssum ( job_state = “faulted“)Processes executed with faulted jobs.
Success Rate1.0 * ${sum ( job_state = "successful")} / NULLIF($sum ( job id),0)The percentage of successfully executed jobs.
Faulted Rate1.0 * ${sum ( job_state = "faulted")} / NULLIF($sum ( job id),0)The percentage of faulted jobs compared to all jobs.
Total Run Time in Secondssum (RuntimeInSeconds)The total processing time of all jobs in seconds.
Total Suspended Time in Secondssum (SuspendedTimeInSeconds)The time of jobs, in seconds, spent in a suspended state (see Job States). You can use this measure to calculate the total time spent on a particular process by subtracting the time spent in a suspended state, in long-running workflows.
Time in Pending in Secondssum (PendingTimeinSeconds)The amount of time all jobs spent in the Pending and Resumed states, meaning how long it took from the moment the job was queued until it ran on the robot (see Job States).
Queue Item Countsum (queue id)The number of queue items processed on the tenant.
Queue Countsum (distinct (queue id))The number of queues with data processed on the tenant.

SSIS パッケージを SQL Server にデプロイする


SSIS パッケージを SQL にデプロイして Insights のデータをエクスポートします。
The SSIS package UiPathInsightsDataExport.zip is bundled with the Insights release files (see Insights installation). It contains 3 files: a manifest file, and 2 XML files.

  1. リリース パッケージに付属するマニフェスト ファイルを作成します (「Insights のインストール」をご覧ください)。
  2. マニフェスト ファイルをクリックしてインストール ウィザードを開始します。
  3. [SQL Server に配置] を選択します。
    または、ファイル システムへのデプロイのほうが望ましい場合、[ファイル システムに配置] オプションを選択できます。
695
  1. デプロイ先の SQL Server を指定します (例: (local))。リモート マシンにデプロイするには、[SQL Server 認証を使用する] を選択します。
694
  1. SSIS パッケージをデプロイする場所を選択します。このために新しいフォルダーを作成できます。この手順の前にフォルダーを作成しておいてから、デプロイ先として選択してください。
  2. [パッケージの構成] の手順で、ソース データベースの接続文字列と、データのエクスポート先のルート パスを入力します。
1417

SSIS パッケージを実行して Insights のデータをエクスポートする


Insights のデータをエクスポートするには、パッケージ ユーティリティを実行する必要があります。

  1. SQL Server Integration Services にサインインします。
  2. 上記の手順 5 でパッケージをデプロイしたフォルダーに移動します。
  3. デプロイしたパッケージを見つけて、[パッケージの実行] を選択します。
397

Insights のデータをエクスポートするために SSIS パッケージのスケジュールを設定する


If you would like to run the data export on a periodic basis, you can schedule the execution of the SSIS package using various options. For instructions on how to do so please visit the Microsoft documentation

5 か月前に更新


SSIS パッケージをデプロイしてデータをエクスポートする


改善の提案は、API リファレンスのページでは制限されています

改善を提案できるのは Markdown の本文コンテンツのみであり、API 仕様に行うことはできません。