This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
ALTERYX INSPIRE | Join us this May for for a multi-day virtual analytics + data science experience like no other! Register Now
1 Day Left! - The Alteryx Community will be temporarily unavailable for a few hours due to implementation of the new SSO experience starting tomorrow at 5pm MDT. Please plan accordingly. For more information, read the blog.
How to determine which User deleted a Gallery application (Server 2019.2+)
Administrators may wish to audit the deletion of workflows and applications on the Gallery. This guide utilizes the /admin/v1/auditlog endpoint (and subsequent Collection in MongoDB) that was introduced in Alteryx Server 2019.2.
Admin API credentials required for querying the /admin/v1/auditlog endpoint (Procedure 1)
MongoDB credentials required for querying the auditEvents collection (Procedure 2)
Procedure 1 - Query via the API
This procedure utilizes the Admin API /admin/v1/auditlog/ endpoint. These steps will guide you through what information you need to query the API, but the actual query can be made via any method. This guide will give details for querying the API via the Interactive Documentation.
Gather your Admin API credentials from found in the Keys section of account settings on your Alteryx Gallery.
The above query finds all results in the auditEvents collection where the Entity is AppInfo (workflows) that were updated to have their isDeleted flag to true - this is how workflows are deleted by the Gallery.
You can then use the userId field to query against the users collection to find the details of this user (USER_ID should be replaced with the value of userId😞
Error: Line 1: Unexpected token ILLEGAL The query you sent to MongoDB is invalid. Please ensure you have the exact queries mentioned above; pay special attention to the special characters and escape characters)