# \[FEATURE\] Please capture Perspective system.tag.write\* tag writes from Perspective into Audit Log

**URL:** <https://forum.inductiveautomation.com/t/feature-please-capture-perspective-system-tag-write-tag-writes-from-perspective-into-audit-log/57185>\
**Category:** Ignition\
**Created:** [March 15, 2022, 2:17am UTC](https://forum.inductiveautomation.com/t/feature-please-capture-perspective-system-tag-write-tag-writes-from-perspective-into-audit-log/57185 "2022-03-15T02:17:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [March 15, 2022, 2:17am UTC](https://forum.inductiveautomation.com/t/feature-please-capture-perspective-system-tag-write-tag-writes-from-perspective-into-audit-log/57185/1 "2022-03-15T02:17:47Z")

</div>

Currently, writes to tags via system.tag.write\* are _ **not** _ captured in the audit log from Perspective clients. This goes completely against the grain, as Vision _does_ log these. Please add this!

> [@Audit logging of system.tag.write\* functions explicitly excluded from perspective?](https://forum.inductiveautomation.com/t/audit-logging-of-system-tag-write-functions-explicitly-excluded-from-perspective/57184):
>
> A customer has just noticed that some of their operator actions aren't being logged in Perspective clients. I just confirmed this and it looks like the only actions not working are those using the system.tag.write\* functions (where incidentally, these do work from Vision. Looking i the manual, it states this: Vision Scripting The following functions generate entries in the audit log if called from Vision component-based scripts, or from the Designer's Scripting Console. [system.db.execSProc…](https://docs.inductiveautomation.com/display/DOC81/system.db.execSProcCall)

Vote here:

> **[Capture Perspective system.tag.write\* tag writes from Perspective into Audit...](https://ideas.inductiveautomation.com/ignition-features-and-ideas/p/capture-perspective-systemtagwrite-tag-writes-from-perspective-into-audit-log)**
>
> Currently, writes to tags via system.tag.write\* are not captured in the audit log from Perspective clients. This goes completely against the grain, as Vision

---

<div class="post-metadata">

**Author:** ![michael2](https://avatars.discourse-cdn.com/v4/letter/m/3e96dc/32.png) [@michael2](https://forum.inductiveautomation.com/u/michael2)\
**Post date:** [March 15, 2022, 2:20am UTC](https://forum.inductiveautomation.com/t/feature-please-capture-perspective-system-tag-write-tag-writes-from-perspective-into-audit-log/57185/2 "2022-03-15T02:20:49Z")

</div>

I found this out the hard way as well and neglected to make a post about it. Definitely should be logged, but it also needs to capture who triggered the tag write. Not sure how that works with the button component or other component scripting.

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [March 15, 2022, 2:29am UTC](https://forum.inductiveautomation.com/t/feature-please-capture-perspective-system-tag-write-tag-writes-from-perspective-into-audit-log/57185/3 "2022-03-15T02:29:26Z")

</div>

Yeah… When script functions are called, the gateway knows which session has called it despite the function running on the gateway, so all of the user info is available to log.

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [March 15, 2022, 4:52am UTC](https://forum.inductiveautomation.com/t/feature-please-capture-perspective-system-tag-write-tag-writes-from-perspective-into-audit-log/57185/4 "2022-03-15T04:52:08Z")

</div>

It would also appear that the `system.util.audit` function only supports writing string values into the audit log and doesn’t auto-convert non-strings into strings ☹ I’ll have to convert myself

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [March 15, 2022, 12:49pm UTC](https://forum.inductiveautomation.com/t/feature-please-capture-perspective-system-tag-write-tag-writes-from-perspective-into-audit-log/57185/5 "2022-03-15T12:49:32Z")

</div>

We have a ticket for this, I’ll add this thread to bump priority.

---

<div class="post-metadata">

**Author:** ![taohongyu88](https://avatars.discourse-cdn.com/v4/letter/t/f05b48/32.png) [@taohongyu88](https://forum.inductiveautomation.com/u/taohongyu88)\
**Post date:** [May 24, 2024, 6:15am UTC](https://forum.inductiveautomation.com/t/feature-please-capture-perspective-system-tag-write-tag-writes-from-perspective-into-audit-log/57185/6 "2024-05-24T06:15:26Z")

</div>

Is this add now?
