Automation Suite
2023.10
False
Bannerhintergrundbild
Automation Suite unter Linux – Installationsanleitung
Letzte Aktualisierung 19. April 2024

Abfragen von Prüfungsprotokollen

Voraussetzungen

Bevor Sie Prüfungsprotokolle für Apps im Automation Suite-Setup herunterladen, müssen die folgenden Anforderungen erfüllt sein:

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

Gegebenenfalls müssen Sie auch Folgendes wissen:

  • Den Organisationsname, für den die Prüfungsprotokolle benötigt werden (<orgName>).
  • Die Benutzer-E-Mail, für die die Prüfungsprotokolle exportiert oder gelöscht werden sollen (<userEmail>).
  • Die Anzahl der Tage zwischen jetzt und dem Tag, für den Sie Prüfungsprotokolle abrufen oder löschen möchten (<numDays>).

Abrufen von Prüfungsprotokollabfragen

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>)

Löschen von Prüfungsprotokollen

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>)

War diese Seite hilfreich?

Hilfe erhalten
RPA lernen – Automatisierungskurse
UiPath Community-Forum
UiPath Logo weiß
Vertrauen und Sicherheit
© 2005-2024 UiPath. All rights reserved.