insights
2.2510
true
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。
UiPath logo, featuring letters U and I in white

Insights

上次更新日期 2025年11月13日

通过部署 SSIS 包导出数据

概述

在本主题中,您可以了解如何通过部署 SQL Server Integration Services (SSIS) 包来导出保留 Insights 数据模型结构的数据。 除非计划更频繁地运行,否则这是一次性导出到可用作报告工具数据源的平面文件。 将为每个表(作业、队列等)每月生成一个文件。

备注: 尚不支持机器人日志和队列中的自定义变量

先决条件

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

聚合指标

以下指标是聚合的,无法在运行时导出,但可以根据导出中的其他数据进行计算。 请使用目标工具中的查询/聚合功能,显示在 Insights 中找到的这些指标。

指标

查询/聚合函数

描述

流程运行次数

sum ( job id)

已执行的流程数。

成功的作业

sum ( job_state = “successful“)

已成功执行的作业数。

出现故障的作业

sum ( job_state = “faulted“)

使用错误作业执行的流程。

成功率

1.0 * ${sum ( job_state = "successful")} / NULLIF($sum ( job id),0)

成功执行的作业的百分比。

错误率

1.0 * ${sum ( job_state = "faulted")} / NULLIF($sum ( job id),0)

故障作业占所有作业的百分比。

运行总时间 (秒)

sum (RuntimeInSeconds)

所有作业的总处理时间(以秒为单位)。

挂起总时长 (以秒为单位)

sum (SuspendedTimeInSeconds)

The time of jobs, in seconds, spent in a suspended state (check 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.

待定时间(秒)

sum (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 (check Job States).

队列项目计数

sum (queue id)

在租户上处理的队列项目数。

队列计数

sum (distinct (queue id))

此租户上已处理数据的队列数量。

将 SSIS 包部署到 SQL Server

将 SSIS 包部署到 SQL 以导出 Insights 数据。

The SSIS package UiPathInsightsDataExport.zip is bundled with the Insights release files (check Insights installation). It contains 3 files: a manifest file, and 2 XML files.
  1. Create the manifest file that comes with the release packages (check Insights installation).
  2. Select the manifest file to start the installation wizard.
  3. 选择 SQL Server 部署。

    或者,如果需要,您可以选择“文件系统”部署选项。



  4. 指定目标 SQL Server(例如 (local))。 要将其部署到远程计算机,请选择“ 使用 SQL Server 身份验证”。


  5. 选择要部署 SSIS 包的位置。 为此,您可能需要创建一个新文件夹。 请在执行此步骤之前创建文件夹,然后将其选为目标。
  6. 在“ 配置包 ” 步骤中,填写源数据库的连接字符串和要将数据导出到的根目标路径。



执行 SSIS 包以导出 Insights 数据

要导出 Insights 数据,您需要执行包实用程序。

  1. 登录到 SQL Server Integration Services。
  2. 导航到上述步骤 5 中用于部署包的文件夹。
  3. 找到已部署的包,然后选择 “运行包”



计划 SSIS 包以导出 Insights 数据

如果要定期运行数据导出,可以使用各种选项计划 SSIS 包的执行。 有关如何执行此操作的说明,请访问 Microsoft 文档

此页面有帮助吗?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath Logo
信任与安全
© 2005-2025 UiPath。保留所有权利。