Is there a way to get audit logs for workflows like the audit logs for apps?

I'm trying to investigate which of our Retool Workflows use a particular resource the most. I was able to do this via Audit Logs for our Retool Apps. Is there a way to do this for Workflows? Or can this be done via the same Audit Logs and I'm just missing something? :thinking:

1 Like

Hello @audreyanne96,

It looks like the audit logs have some details on workflows, but I don't think these metrics would be useful for your goal of investigating which workflow uses a particular resource the most.

As it seems to include manual workflow runs but not automatic/scheduled/webhook triggered runs.

Just to clarify, are you aiming to see which workflow out of several that all use the same resource are using that single resource the most? In terms of volume of calls via query to the resource or size of data payload being sent/received?

There are some other logging tools but they might not have the granularity you need. If you are self hosting Retool, you should be able to get the container logs for the docker workflows-worker and workflow-backend. You can read more abut it on our docs here. Although I do not believe we have a step by step guide for getting the logs and then making sense of them :sweat_smile:

For users deployed on the Retool cloud, we are currently working on a major upgrade to add in both Retool native analytics tracking as well as third party integrations for using even more analytics tools to find out more about workflow and resource usage. Which should definitely cover your use case once it is released to the public.

Sorry for the very delayed response but thank you, Jack.

Yes, and in terms of the volume of calls via query to the resource (although the size of the payload would also be a plus).

We've found a temporary and very hacky solution (aka a code block logging the run in a Google Sheet whenever the resource we're tracking is queried :sweat_smile: ) for this quick analysis that we're trying to do. It works for now since we only need to capture and analyze this data for a short period of time.

We are on Retool cloud, so excited to hear about any potential update to logs so we can understand our usage better! As a small but quickly growing company, it's helpful to see which resources we need to invest in more or make more efficient / find more efficient ways to use them... query the queries we're using the most, in a way :smile:.

But thank you and excited to hear about product updates about this! :boom:

1 Like

Of course no problem!

Glad you were able to find a temporary work around :sweat_smile:

We are definitely focused on improving our analytics capabilities as these insights on workflow/resource usage can be incredibly helpful for optimizing the app and understanding users as well.

Will keep you updated on any news I hear from the team!

1 Like