Automation Suite
2023.10
False
横幅背景图像
Linux 版 Automation Suite 安装指南
上次更新日期 2024年4月19日

审核日志查询

先决条件

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

  • You must have access to the machine or virtual machine (VM) where UiPath® services are hosted.

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

  • 需要审核日志的组织名称 (<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>)
  • 先决条件
  • 获取审核日志查询
  • 删除审核日志

此页面是否有帮助?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath 白色徽标
信任与安全
© 2005-2024 UiPath. All rights reserved.