Direct access to audit logs for self-hosted tenants

Our audit logs HTTP API offers a complete view of every action taken by users on your Tines tenant. For self-hosted tenants, where you have control of the environment running Tines, we now offer a simpler way to drain the logs with direct access.

Simply set AUDIT_LOGS_TO_STDOUT=true in your environment, and you’ll start seeing the logs in stdout in real time. The logs are formatted in JSON, exactly matching our API log format, and tagged with [Audit Log] for easy greping:

[Audit Log] {"id":1,"tenant_id":1,"user_id":1,"graphql_name":"StoryCreation","inputs":{"inputs":{"teamId":1}},"created_at":"2022-10-04T08:40:39.194Z","updated_at":"2022-10-04T08:40:39.194Z","user_email":"","user_name":"Example Person","request_ip":"::1","request_user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36"}

This will be included in our upcoming 12.5.0 release, available next week. See releases.