Hey All,
A while back there was this post about Custom audit logs in Retool.
We alluded to an article and how to do this, but never actually posted it publicly until a couple weeks ago. Retool for Enterprises: Accessing audit log data via SQL for on-prem deployments
@Luciano_Wayand on the Bold Tech team also made a free template in Retool that you can base your app off of. The template should go live in our template section in the next week or so, but if you want the JSON early, just send me a DM.
2 Likes
@JoeyKarczewski Great article!
I have been looking for a solution like this for a while!
As you mention, unfortunately this is not available on Retool Cloud.
Something I have been doing, is querying the underlying endpoint for audit logs with a local script that exports them into somewhat structured format.
From there, I am able to use my local IDE search features to find specific logs I need, or writing some logic to calculates number of ocurrences and things like that.
Have you found any scalable way of exporting logs from Retool Cloud to something like New Relic? Or to a custom DB 
Hey @Samuel_Andreo
Yea its a bummer that its not readily available on Retool cloud.
I think unfortunately you don't have many quality solutions on cloud (without being enterprise with Datadog. )
I'm wondering if you could hit the API behind the scenes in some sort of workflow in Retool and send it to New Relic?
Yep dumping into another datasource periodically is a potential solution that I have been thinking about lately.
Note for Retool team: Enabling Audit Logs endpoint in Retool API for Cloud Enterprise would enable everyone that do not use Datadog/Splunk to have proper log management
Seems like a low hanging fruit 
1 Like
Agreed. My assumption is that Retool doesn't want to expose this table because an improper SQL query can cause quite a few issues with a cloud instance, though the CSV solution is still
@Tess Is this the case?
1 Like
Totally agree with this
However exposing same 'safe' approach that frontend is using might be feasible
Hey @Samuel_andreo , @Marcus_Santos on the Bold Tech team just created this for one of our projects and made up an explainer: Audit Logs on Retool Applications
This will probably help you a bit.
Thanks,
Joey