05 Aug 2025 07:40 PM
Hi, is there a way to access audit logs without using the API?
Solved! Go to Solution.
05 Aug 2025 11:07 PM
@tylerv You can query them using DQL , here is an example
fetch dt.system.events, from:now() - 2h
| filter event.kind == "AUDIT_EVENT"
Some more examples here
https://docs.dynatrace.com/docs/shortlink/audit-logs-grail#filter-dynatrace-notebooks-system-events
You can also fetch them programmatically
https://developer.dynatrace.com/develop/sdks/client-classic-environment-v2/#auditlogsclient