- Release Notes
- Getting Started
- Access and Permissions
- Interacting with Insights
- Historical data export
- Export Data Via Deploying an SSIS Package
- Logs
- Performance and Scalability
Export Data Via Deploying an SSIS Package
In this topic you can learn how to to export data that retains the Insights data model structure by deploying a SQL Server Integration Services (SSIS) package. Unless scheduled to run more frequently, this is a one-time export to flat files that can be used as data sources for reporting tools. There will be a file generated for each month per table (jobs, queues, etc).
Integration Services (SSIS) must be installed on your SQL Server (see Install Integration Services (SSIS)).
The following metrics are aggregated and cannot be exported at runtime, but can be computed from other data in the export. Please use the query/aggregate function in your destination tool to surface these metrics as they are found in Insights.
Metric |
Query/aggregate function |
Description |
---|---|---|
Processes Ran |
|
The number of processes that have been executed. |
Successful Jobs |
|
The number of jobs that have been successfully executed. |
Faulted Jobs |
|
Processes executed with faulted jobs. |
Success Rate |
1.0 * ${sum ( job_state = "successful")} / NULLIF($sum ( job id),0) |
The percentage of successfully executed jobs. |
Faulted Rate |
1.0 * ${sum ( job_state = "faulted")} / NULLIF($sum ( job id),0) |
The percentage of faulted jobs compared to all jobs. |
Total Run Time in Seconds |
|
The total processing time of all jobs in seconds. |
Total Suspended Time in Seconds |
|
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 Seconds |
|
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 Count |
|
The number of queue items processed on the tenant. |
Queue Count |
|
The number of queues with data processed on the tenant. |
Deploy the SSIS package to SQL to export Insights data.
UiPathInsightsDataExport.zip
is bundled with the Insights release files (see Insights installation). It contains 3 files: a manifest file, and 2 XML files.
- Create the manifest file that comes with the release packages (see Insights installation).
- Click on the manifest file to start the installation wizard.
-
Choose SQL Server deployment.
Alternatively, you can choose the File System deployment option if that is preferable.
-
Specify the target SQL Server (e.g.,
(local)
). To deploy it to remote machines, select Use SQL Server Authentication. - Select the location where you want to deploy the SSIS package. You may want to create a new folder for this purpose. Please create the folder prior to this step and then select it as the destination.
-
In the Configure Packages step, fill in the connection string for the source database and the root destination path where you'd like to export the data.
To export Insights data you need to execute the package utility.
- Sign in to SQL Server Integration Services.
- Navigate to the folder from step 5 above where you deployed the package.
-
Find the package that you have deployed and select Run Package.
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.