# Event logging (Perspective)

**URL:** <https://forum.inductiveautomation.com/t/event-logging-perspective/87823>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [March 25, 2024, 10:02am UTC](https://forum.inductiveautomation.com/t/event-logging-perspective/87823 "2024-03-25T10:02:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anders\_Liedman](https://avatars.discourse-cdn.com/v4/letter/a/258eb7/32.png) [@Anders\_Liedman](https://forum.inductiveautomation.com/u/Anders_Liedman)\
**Post date:** [March 25, 2024, 10:02am UTC](https://forum.inductiveautomation.com/t/event-logging-perspective/87823/1 "2024-03-25T10:02:18Z")

</div>

Hi! Im new to Ignition so this is probleby an easy one for you guys. I want to logg and view events in the system(perspective) like pumpstarts, vessel states, limit changes. could someone point me in right direction?  
./anders

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [March 25, 2024, 10:33am UTC](https://forum.inductiveautomation.com/t/event-logging-perspective/87823/2 "2024-03-25T10:33:11Z")

</div>

Improve your specifications:

1. If you want to know when a tag value changes then you can use the Historian or you can make a Tag Change event to write to your own database for that application. These will run even if there is no Perspective or Vision client open.
2. If you want to know _who_ changed it then your Perspective application can use the Perspective `session.props.auth.user` and incorporate the required properties into an onChange event on each button or numeric text entry field. The event script would then write to your database setup with (suggested) columns,

```auto
id (auto-increment)
t_stamp
user
controlId (e.g., "Pump03 motor", "Vessel 04 temperature setpoint")
action (e.g., "Pump start", "Pump stop", "Setpoint change")
previousValue (e.g., "Stopped", "43")
newValue
anythingElseYouCanThinkOfThatMightBeUsefulLater

```
