# Ignition Edge Audit Log in Perspective

**URL:** <https://forum.inductiveautomation.com/t/ignition-edge-audit-log-in-perspective/79058>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [September 13, 2023, 7:08am UTC](https://forum.inductiveautomation.com/t/ignition-edge-audit-log-in-perspective/79058 "2023-09-13T07:08:19Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![suram-in](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/suram-in/32/51348_2.png) [@suram-in](https://forum.inductiveautomation.com/u/suram-in)\
**Post date:** [September 13, 2023, 7:08am UTC](https://forum.inductiveautomation.com/t/ignition-edge-audit-log-in-perspective/79058/1 "2023-09-13T07:08:19Z")

</div>

To view audit profile data from a perspective view, I simply create a new view and drag in a table from the prospective component pallet. I then try to bind the table's data property to a name query that returns all the information in the audit events. But it is not showing the namespace. I am aware that Edge doesn't have SQL. I can able to see the logs in the Edge Gateway. But I want to bring this information in the Runtime Session. Is there any way to bring Audit Logs in the designer for the Edge system?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [September 13, 2023, 11:38am UTC](https://forum.inductiveautomation.com/t/ignition-edge-audit-log-in-perspective/79058/2 "2023-09-13T11:38:00Z")

</div>

Yes, a GUI script can use [system.alarm.queryJournal()](https://docs.inductiveautomation.com/display/DOC81/system.alarm.queryJournal) to retrieve journal entries to display.

Edit: Whoops! Wrong function!

---

<div class="post-metadata">

**Author:** ![Hayden\_Watson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/hayden_watson/32/48792_2.png) [@Hayden\_Watson](https://forum.inductiveautomation.com/u/Hayden_Watson)\
**Post date:** [September 13, 2023, 11:59am UTC](https://forum.inductiveautomation.com/t/ignition-edge-audit-log-in-perspective/79058/3 "2023-09-13T11:59:26Z")

</div>

Isn't this for alarm journal entries, and not auditing events stored in the `AUDIT_EVENTS` table in a Database

---

<div class="post-metadata">

**Author:** ![grietveld](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/grietveld/32/6984_2.png) [@grietveld](https://forum.inductiveautomation.com/u/grietveld)\
**Post date:** [September 13, 2023, 12:05pm UTC](https://forum.inductiveautomation.com/t/ignition-edge-audit-log-in-perspective/79058/4 "2023-09-13T12:05:02Z")

</div>

There is a system function for the audit logs too  
[https://docs.inductiveautomation.com/display/DOC81/system.util.queryAuditLog](https://docs.inductiveautomation.com/display/DOC81/system.util.queryAuditLog)

Looks like this should work.

---

<div class="post-metadata">

**Author:** ![Pappu\_Gupta](https://avatars.discourse-cdn.com/v4/letter/p/bbce88/32.png) [@Pappu\_Gupta](https://forum.inductiveautomation.com/u/Pappu_Gupta)\
**Post date:** [October 25, 2023, 3:05pm UTC](https://forum.inductiveautomation.com/t/ignition-edge-audit-log-in-perspective/79058/5 "2023-10-25T15:05:01Z")

</div>

Hi,  
Can we display the ignition logs in perspective views.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [October 25, 2023, 3:06pm UTC](https://forum.inductiveautomation.com/t/ignition-edge-audit-log-in-perspective/79058/6 "2023-10-25T15:06:58Z")

</div>

Yes. Look at the post directly above yours; `system.util.queryAuditLog`, which returns a dataset that can be displayed in the Table component.

---

<div class="post-metadata">

**Author:** ![Pappu\_Gupta](https://avatars.discourse-cdn.com/v4/letter/p/bbce88/32.png) [@Pappu\_Gupta](https://forum.inductiveautomation.com/u/Pappu_Gupta)\
**Post date:** [October 25, 2023, 3:23pm UTC](https://forum.inductiveautomation.com/t/ignition-edge-audit-log-in-perspective/79058/7 "2023-10-25T15:23:48Z")

</div>

Yeah. But to need display Gateway ignition logs what need to be change in first point, could you ping out.  
1.data=system.util.queryAuditLog(auditProfileName='AuditLog', actorFilter='john', actionFilter='tag write')  
2.event.source.parent.getComponent("Table").data=data`
