We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Retrieving execution logs from MongoDb

olivierMPW
8 - Asteroid

Hello,

Following the migration to version 2024.1, the Server Usage Report workflow from version 2022.1 no longer works (ErrorMessage is missing in a collection).

From what I read, this workflow is no longer available for versions higher than 2022.3.

Is there an “easy” way to retrieve workflow execution information from MongoDB or another source?

Thank you

4 REPLIES 4
KGT
13 - Pulsar

You probably want the schema if you are directly connecting to the MongoDB: https://help.alteryx.com/current/en/server/configure/database-management/mongodb-management/mongodb-...

 

Not sure if there is an updated version of the Server Usage Report though.

 

The Server API tools would be a better way though: https://marketplace.alteryx.com/en-US/apps/418052/server-api-tool

 

Yoshiro_Fujimori
15 - Aurora
15 - Aurora

Hi @olivierMPW ,

 

If you have access to MongoDB, you can retrieve the workflow execution information with MongoDB Input Tool faierly 'easily'.

 

From Database: AlteryxService, Collection: AS_Queue

you can retrieve AppName, CreationDateTime, CompletionDateTime, Status, AS_Application__ID, SubsciptionID

 

From Database: AlteryxGallery, Collection: users

you can retrieve user name (FirstName, LastName etc.), SubscriptioinId

 

From Database: AlteryxService, Collection: AS_Schedules

you can retrieve AS_Application__ID, user name(LC_Owner)

 

By joining them, you can get the table of "What workflow ran from what time to what time triggered by whom".

 

Here is an image of sample workflow for your reference. I hope this helps.

sampleWorkflow.png

olivierMPW
8 - Asteroid

thanks for the server

the fact is that I have modified the server usage workflow for my need et didn't want to do it again

olivierMPW
8 - Asteroid

 the workflow

I will try it

Labels
Top Solution Authors