UiPath Documentation
automation-suite
2023.4
false
Linux 版 Automation Suite 安装指南
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

审核日志查询

先决条件​

在 Automation Suite 设置中下载 Apps 的审核日志之前,必须满足以下要求:

  • 您必须有权访问托管 UiPath™ 服务的计算机或虚拟机 (VM)。

(可选)您需要了解以下内容:

  • 需要审核日志的组织名称 (<orgName>)。
  • 需要导出或删除审核日志的用户电子邮件地址 (<userEmail>)。
  • 从现在到您要获取或删除审核日志的日期 (<numDays>) 之间的天数。

获取审核日志查询​

SELECT document FROM [UipathApps].[audit-logs]
WHERE JSON_VALUE(document, '$.__tenantId') = '<orgName>' and
JSON_VALUE(document, '$.userInfo.userEmail') = '<userEmail>' and
CONVERT(datetime, JSON_VALUE(document, '$.createdAtDate')) <= (getdate() - <numDays>)
SELECT document FROM [UipathApps].[audit-logs]
WHERE JSON_VALUE(document, '$.__tenantId') = '<orgName>' and
JSON_VALUE(document, '$.userInfo.userEmail') = '<userEmail>' and
CONVERT(datetime, JSON_VALUE(document, '$.createdAtDate')) <= (getdate() - <numDays>)

删除审核日志​

DELETE FROM [UipathApps].[audit-logs]
WHERE JSON_VALUE(document, '$.__tenantId') = '<orgName>' and
JSON_VALUE(document, '$.userInfo.userEmail') = '<userEmail>' and
CONVERT(datetime, JSON_VALUE(document, '$.createdAtDate')) <= (getdate() - <numDays>)
DELETE FROM [UipathApps].[audit-logs]
WHERE JSON_VALUE(document, '$.__tenantId') = '<orgName>' and
JSON_VALUE(document, '$.userInfo.userEmail') = '<userEmail>' and
CONVERT(datetime, JSON_VALUE(document, '$.createdAtDate')) <= (getdate() - <numDays>)
  • 先决条件​
  • 获取审核日志查询​
  • 删除审核日志​

此页面有帮助吗?

连接

需要帮助? 支持(opens in new window)

想要了解详细内容? UiPath Academy(opens in new window)

有问题? UiPath 论坛(opens in new window)

保持更新