# How can I save the logs from the Dynatrace Audit Logs API?

**URL:** <https://community.dynatrace.com/t/how-can-i-save-the-logs-from-the-dynatrace-audit-logs-api/44255>\
**Category:** Dynatrace API\
**Tags:** dynatrace-managed, settings, tokens, dynatrace-api\
**Created:** [February 22, 2024, 2:50pm UTC](https://community.dynatrace.com/t/how-can-i-save-the-logs-from-the-dynatrace-audit-logs-api/44255 "2024-02-22T14:50:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![badgerfifteen](https://avatars.discourse-cdn.com/v4/letter/b/e68b1a/32.png) [@badgerfifteen](https://community.dynatrace.com/u/badgerfifteen)\
**Post date:** [February 22, 2024, 2:50pm UTC](https://community.dynatrace.com/t/how-can-i-save-the-logs-from-the-dynatrace-audit-logs-api/44255/1 "2024-02-22T14:50:25Z")

</div>

I have access to the API and looking to use the Audit Logs area and then have the entries saved to an Excel file, for example. How do I do that?

I tried using Excel and using Power Query to get the data, but it does not display it correctly. I used the API link for Power BI and it displays it correctly, but I don’t think PBI is the best way to display this information.

Any ideas?

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [February 22, 2024, 3:28pm UTC](https://community.dynatrace.com/t/how-can-i-save-the-logs-from-the-dynatrace-audit-logs-api/44255/2 "2024-02-22T15:28:03Z")

</div>

Hi,

You have [here](https://www.youtube.com/watch?v=PNX0jCL8AHc) a video about PowerBi integration.

If you do not need PowerBi, you can create your custom script to download that data.

Best regards

---

<div class="post-metadata">

**Author:** ![jegron](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/jegron/32/12797_2.png) [@jegron](https://community.dynatrace.com/u/jegron)\
**Post date:** [August 27, 2024, 9:22am UTC](https://community.dynatrace.com/t/how-can-i-save-the-logs-from-the-dynatrace-audit-logs-api/44255/3 "2024-08-27T09:22:25Z")

</div>

Dynatrace now provides an application called “Privacy Rights” for storing audit logs in Grail and viewing the results:

- [Sensitive Data Center — Dynatrace Docs](https://docs.dynatrace.com/docs/manage/data-privacy-and-security/data-privacy/privacy-rights)
- [https://www.dynatrace.com/hub/detail/privacy-rights/](https://www.dynatrace.com/hub/detail/privacy-rights/)
