# \[bug-14972\]Audit log for Perspective client

**URL:** <https://forum.inductiveautomation.com/t/bug-14972-audit-log-for-perspective-client/28670>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [September 30, 2019, 4:21pm UTC](https://forum.inductiveautomation.com/t/bug-14972-audit-log-for-perspective-client/28670 "2019-09-30T16:21:30Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Janne](https://avatars.discourse-cdn.com/v4/letter/j/f19dbf/32.png) [@Janne](https://forum.inductiveautomation.com/u/Janne)\
**Post date:** [September 30, 2019, 4:21pm UTC](https://forum.inductiveautomation.com/t/bug-14972-audit-log-for-perspective-client/28670/1 "2019-09-30T16:21:30Z")

</div>

We have been waiting similar Audit log functionality for Perspective clients as there are for Vision clients.

I noticed that there is such a component published in Exchange but it seems that it is not capable of logging any events done by users in Perspective client. So this does not really help.

When we can expect to have audit log that logs Perspective client actions?

---

<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:** [September 30, 2019, 4:55pm UTC](https://forum.inductiveautomation.com/t/bug-14972-audit-log-for-perspective-client/28670/2 "2019-09-30T16:55:08Z")

</div>

Perspective auditing is high on our list. Possibly as soon as 8.0.6 (8.0.5 RC should be out this week), but with the release train model, there are no guarantees of specific features in specific versions.

---

<div class="post-metadata">

**Author:** ![Janne](https://avatars.discourse-cdn.com/v4/letter/j/f19dbf/32.png) [@Janne](https://forum.inductiveautomation.com/u/Janne)\
**Post date:** [September 30, 2019, 6:38pm UTC](https://forum.inductiveautomation.com/t/bug-14972-audit-log-for-perspective-client/28670/3 "2019-09-30T18:38:49Z")

</div>

Great, thanks for the information, really appreciated for your quick response.

---

<div class="post-metadata">

**Author:** ![jburt](https://avatars.discourse-cdn.com/v4/letter/j/7bcc69/32.png) [@jburt](https://forum.inductiveautomation.com/u/jburt)\
**Post date:** [October 16, 2019, 11:44pm UTC](https://forum.inductiveautomation.com/t/bug-14972-audit-log-for-perspective-client/28670/4 "2019-10-16T23:44:11Z")

</div>

These items are not working, that should be per:  
[https://docs.inductiveautomation.com/display/DOC80/Audit+Log+Display](https://docs.inductiveautomation.com/display/DOC80/Audit+Log+Display)

- The designer has no logout button, so logouts cannot be audited. (that I can find…)
- Designer saves are not audited. (Both perspective and vision when changes are made.)
- Publishing a project is not audited. (edit and save, as well as creating a new project.)
- Deleting a project is not audited.
- Modifying the user database is not audited. (database updates are supposed to be audited, and it specifies that the default user source uses an internal database, but that is not showing up in the audit database.)
- Calling a named query that updates a sql table doesn’t get audited.
- Executing a stored procedure isn’t getting audited. (ex. system.db.runQuery(“EXEC sp\_who;”) )

It’s really tough to build a validation standard based on documentation when the documentation isn’t validated. It doesn’t improve my confidence when the documentation contains the phrase ‘it seems to be’.

---

<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 17, 2019, 3:42pm UTC](https://forum.inductiveautomation.com/t/bug-14972-audit-log-for-perspective-client/28670/5 "2019-10-17T15:42:04Z")

</div>

That documentation is plainly wrong, and needs to be amended. I’ve rallied the troops.

That said - yes, you are correct, auditing is not currently where it needs to be. Both Perspective and the new project system in 8.0 are completely absent from auditing - something we’re aware of, and which is high on our list to fix. The last two items on your list also seem like bugs - I’ll do some investigation, because those would be independent regressions from existing behavior.

Specifically regarding updating the internal user source - that’s not included with “database updates”, because it’s not an _external_ database. Auditing our internal database for changes to configuration is also on our list, but it’s not a bug that internal user source updates aren’t audited.

---

<div class="post-metadata">

**Author:** ![jburt](https://avatars.discourse-cdn.com/v4/letter/j/7bcc69/32.png) [@jburt](https://forum.inductiveautomation.com/u/jburt)\
**Post date:** [November 11, 2019, 8:54pm UTC](https://forum.inductiveautomation.com/t/bug-14972-audit-log-for-perspective-client/28670/6 "2019-11-11T20:54:12Z")

</div>

An update I heard today for those curious:

> I can tell you auditing is a major priority right now. Our development team is currently working on that in Perspective. We are targeting 8.0.7.

-Travis

---

<div class="post-metadata">

**Author:** ![j.israelsen](https://avatars.discourse-cdn.com/v4/letter/j/ad7895/32.png) [@j.israelsen](https://forum.inductiveautomation.com/u/j.israelsen)\
**Post date:** [January 21, 2020, 6:15pm UTC](https://forum.inductiveautomation.com/t/bug-14972-audit-log-for-perspective-client/28670/7 "2020-01-21T18:15:29Z")

</div>

Doesn’t look like this has been implemented in 8.0.7. Any more updates?

---

<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:** [January 21, 2020, 6:16pm UTC](https://forum.inductiveautomation.com/t/bug-14972-audit-log-for-perspective-client/28670/8 "2020-01-21T18:16:02Z")

</div>

Yes, it’s merged in for 8.0.8, which should get a release candidate in the next few days.

---

<div class="post-metadata">

**Author:** ![Yogini\_Marathe](https://avatars.discourse-cdn.com/v4/letter/y/85e7bf/32.png) [@Yogini\_Marathe](https://forum.inductiveautomation.com/u/Yogini_Marathe)\
**Post date:** [January 31, 2020, 9:40am UTC](https://forum.inductiveautomation.com/t/bug-14972-audit-log-for-perspective-client/28670/9 "2020-01-31T09:40:56Z")

</div>

Hi,

We are looking at the Perspective Audit log from 8.0.8 RC1 build.  
Have below observations/questions w.r.t. data that we are seeing in the audit log.

1. The logout action never records an Actor. Please see attached csv file[audit\_events.csv](https://us1.discourse-cdn.com/inductiveautomation/original/2X/6/6f2a7096ef9a854ffd64f4b558e581e11fdc7562.csv) (20.4 KB) ( First three records are created when demo user is logged out) however looking at these records there is no way to understand which user has been logged out. Would this be implemented in later versions ?
2. Would views navigation event be logged ?
3. For Login action as well, three records are created in the audit log with Action as Login Request, Login Response and Web Auth Status Change. As I understand these three together mean “Login” from end user’s point of view. Would there be single record with action as Login instead of three different records ?

We use this audit log in order to find out various actions that user has done during a session, however with the above information it does not seem possible to identify distinct user sessions.

Appreciate if you could share information in this regard.

---

<div class="post-metadata">

**Author:** ![ott.sellis](https://avatars.discourse-cdn.com/v4/letter/o/bbce88/32.png) [@ott.sellis](https://forum.inductiveautomation.com/u/ott.sellis)\
**Post date:** [March 20, 2020, 6:22am UTC](https://forum.inductiveautomation.com/t/bug-14972-audit-log-for-perspective-client/28670/10 "2020-03-20T06:22:16Z")

</div>

Hi,

Currently using 8.0.9 and am not able to find an audit log component.  
Tried to use the Exchange component, but for some reason it’s polling rate in the app is broken.  
It updates the log every second no matter the poll rate. From the browser it works like a charm.  
Are there any news in this field?

---

<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:** [March 20, 2020, 3:01pm UTC](https://forum.inductiveautomation.com/t/bug-14972-audit-log-for-perspective-client/28670/11 "2020-03-20T15:01:16Z")

</div>

> [@ott.sellis](#):
>
> Currently using 8.0.9 and am not able to find an audit log component.

Use a table and a query binding, and you're able to poll at whatever rate you choose. I don't have an ETA on a first-party audit log viewer component.

---

<div class="post-metadata">

**Author:** ![kyle.tansill](https://avatars.discourse-cdn.com/v4/letter/k/d26b3c/32.png) [@kyle.tansill](https://forum.inductiveautomation.com/u/kyle.tansill)\
**Post date:** [December 15, 2020, 1:01pm UTC](https://forum.inductiveautomation.com/t/bug-14972-audit-log-for-perspective-client/28670/12 "2020-12-15T13:01:53Z")

</div>

Auditing still isn’t working for me. Is this now resolved in the perspective client ? And if so where should I be looking to fix it ?

---

<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:** [December 15, 2020, 4:52pm UTC](https://forum.inductiveautomation.com/t/bug-14972-audit-log-for-perspective-client/28670/13 "2020-12-15T16:52:40Z")

</div>

> [@kyle.tansill](#):
>
> Auditing still isn’t working for me

What does that actually mean? Have you enabled auditing for your project(s), in the project properties in the designer?

---

<div class="post-metadata">

**Author:** ![kyle.tansill](https://avatars.discourse-cdn.com/v4/letter/k/d26b3c/32.png) [@kyle.tansill](https://forum.inductiveautomation.com/u/kyle.tansill)\
**Post date:** [December 15, 2020, 4:57pm UTC](https://forum.inductiveautomation.com/t/bug-14972-audit-log-for-perspective-client/28670/14 "2020-12-15T16:57:40Z")

</div>

Sorry yes auditing is working as normal in designer but not in the perspective client. Is there a solution for the perspective client ? We’re running 8.0.15.

---

<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:** [December 15, 2020, 4:59pm UTC](https://forum.inductiveautomation.com/t/bug-14972-audit-log-for-perspective-client/28670/15 "2020-12-15T16:59:45Z")

</div>

That’s still not enough information. What actions are you performing that you expect to audit, and what is your indication that it is working in the designer, and not in a Perspective session?

---

<div class="post-metadata">

**Author:** ![kyle.tansill](https://avatars.discourse-cdn.com/v4/letter/k/d26b3c/32.png) [@kyle.tansill](https://forum.inductiveautomation.com/u/kyle.tansill)\
**Post date:** [December 15, 2020, 5:02pm UTC](https://forum.inductiveautomation.com/t/bug-14972-audit-log-for-perspective-client/28670/16 "2020-12-15T17:02:38Z")

</div>

Essentially I want to see query logs from the Perspective Client. In designer I am seeing project saved logs from the designer and some web authentication logs.

---

<div class="post-metadata">

**Author:** ![kyle.tansill](https://avatars.discourse-cdn.com/v4/letter/k/d26b3c/32.png) [@kyle.tansill](https://forum.inductiveautomation.com/u/kyle.tansill)\
**Post date:** [December 15, 2020, 5:31pm UTC](https://forum.inductiveautomation.com/t/bug-14972-audit-log-for-perspective-client/28670/17 "2020-12-15T17:31:30Z")

</div>

I would really just like to know, should I be seeing query entries in the audit log from a perspective client? Is that supported? Because I don’t want to waste my time trying to fix something that can never happen. I understood from this thread that Auditing in the Perspective client was not supported in the same way as the Vision client and so far I haven’t seen a confirmation that it has actually been implemented.

---

<div class="post-metadata">

**Author:** ![Paul.Scott](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul.scott/32/4578_2.png) [@Paul.Scott](https://forum.inductiveautomation.com/u/Paul.Scott)\
**Post date:** [December 15, 2020, 5:53pm UTC](https://forum.inductiveautomation.com/t/bug-14972-audit-log-for-perspective-client/28670/18 "2020-12-15T17:53:42Z")

</div>

Let's back up a bit.

> [@kyle.tansill](#):
>
> I would really just like to know, should I be seeing query entries in the audit log from a perspective client?

What exactly are you asking here?

If you mean you want to see the contents of the auditing table in a perspective session, sure that's just a query binding of some sort on a component that can display the content of the auditing system (a Table component with a query binding works, as PGriffith [mentioned](http://forum.inductiveautomation.com/t/bug-14972-audit-log-for-perspective-client/28670/11) ).

If you're asking about events in Perspective being recorded by the auditing system, then yeah, that should be happening. We have a list of things that are recordable actions [here](https://docs.inductiveautomation.com/display/DOC80/Auditing+Actions+Reference#AuditingActionsReference-PerspectiveAuditingActions). You can also call the [system.util.audit](https://docs.inductiveautomation.com/display/DOC80/system.util.audit) function if you need to record something that isn't on the list.

---

<div class="post-metadata">

**Author:** ![kyle.tansill](https://avatars.discourse-cdn.com/v4/letter/k/d26b3c/32.png) [@kyle.tansill](https://forum.inductiveautomation.com/u/kyle.tansill)\
**Post date:** [December 15, 2020, 6:05pm UTC](https://forum.inductiveautomation.com/t/bug-14972-audit-log-for-perspective-client/28670/19 "2020-12-15T18:05:05Z")

</div>

> If you’re asking about events in Perspective being recorded by the auditing system, then yeah, that should be happening

Yes this answers my question. Excuse the ambiguity.

---

<div class="post-metadata">

**Author:** ![tohhy-pm17](https://avatars.discourse-cdn.com/v4/letter/t/e19adc/32.png) [@tohhy-pm17](https://forum.inductiveautomation.com/u/tohhy-pm17)\
**Post date:** [June 23, 2021, 3:22am UTC](https://forum.inductiveautomation.com/t/bug-14972-audit-log-for-perspective-client/28670/20 "2021-06-23T03:22:46Z")

</div>

Hi @Yogini_Marathe may I know that have you solve the problem of Audit Log which three different records when login and logout. Currently I also facing the same problems may I know what is the best way to solve this errors ?

Thanks in advance.

[Next page](https://forum.inductiveautomation.com/t/bug-14972-audit-log-for-perspective-client/28670.md?page=2)
