# Audit log location

**URL:** <https://community.dynatrace.com/t/audit-log-location/52815>\
**Category:** Open Q&A\
**Tags:** audit-log\
**Created:** [August 5, 2025, 6:40pm UTC](https://community.dynatrace.com/t/audit-log-location/52815 "2025-08-05T18:40:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tylerv](https://avatars.discourse-cdn.com/v4/letter/t/8797f3/32.png) [@tylerv](https://community.dynatrace.com/u/tylerv)\
**Post date:** [August 5, 2025, 6:40pm UTC](https://community.dynatrace.com/t/audit-log-location/52815/1 "2025-08-05T18:40:21Z")

</div>

Hi, is there a way to access audit logs without using the API?

---

<div class="post-metadata">

**Author:** ![p\_devulapalli](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/p_devulapalli/32/41590_2.png) [@p\_devulapalli](https://community.dynatrace.com/u/p_devulapalli)\
**Post date:** [August 5, 2025, 10:07pm UTC](https://community.dynatrace.com/t/audit-log-location/52815/2 "2025-08-05T22:07:31Z")

</div>

[@tylerv](https://community.dynatrace.com/user/93339)&nbsp;You can query them using DQL , here is an example

```markup
fetch dt.system.events, from:now() - 2h
| filter event.kind == "AUDIT_EVENT"

```

Some more examples here

> **[Audit logs on Grail](https://docs.dynatrace.com/docs/manage/data-privacy-and-security/configuration/audit-logs-grail)**
>
> Learn how to audit logs using Grail.

> **[Audit logs on Grail](https://docs.dynatrace.com/docs/manage/data-privacy-and-security/configuration/audit-logs-grail)**
>
> Learn how to audit logs using Grail.

You can also fetch them programmatically

> **[auditLogsClient​ - Classic environment v2 | Dynatrace Developer](https://developer.dynatrace.com/develop/sdks/client-classic-environment-v2/#auditlogsclient)**
>
> Documentation of the Dynatrace Environment API v2. Resources here generally supersede those in v1. Migration of resources from v1 is in progress. | Client for the Dynatrace Environment API v2
